Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
911c2d8d
Commit
911c2d8d
authored
Feb 17, 2005
by
Steve Lhomme
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mkv.cpp: more debug and checks
parent
6ffa65c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
modules/demux/mkv.cpp
modules/demux/mkv.cpp
+6
-1
No files found.
modules/demux/mkv.cpp
View file @
911c2d8d
...
...
@@ -1394,9 +1394,14 @@ static void Seek( demux_t *p_demux, mtime_t i_date, double f_percent)
msg_Dbg
(
p_demux
,
"seek request to "
I64Fd
" (%f%%)"
,
i_date
,
f_percent
);
if
(
i_date
<
0
&&
f_percent
<
0
)
{
msg_Warn
(
p_demux
,
"cannot seek nowhere !"
);
return
;
}
if
(
f_percent
>
1.0
)
{
msg_Warn
(
p_demux
,
"cannot seek so far !"
);
return
;
}
if
(
f_percent
>
1.0
)
f_percent
=
1.0
;
delete
p_sys
->
ep
;
p_sys
->
ep
=
new
EbmlParser
(
p_sys
->
es
,
p_sys
->
segment
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment