Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
58c8f9f3
Commit
58c8f9f3
authored
Nov 22, 2013
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: asf: preroll to seek time from index keyframes (fix #7890)
parent
050333c7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
modules/demux/asf/asf.c
modules/demux/asf/asf.c
+7
-1
No files found.
modules/demux/asf/asf.c
View file @
58c8f9f3
...
...
@@ -261,7 +261,13 @@ static int SeekIndex( demux_t *p_demux, mtime_t i_date, float f_pos )
uint64_t
i_offset
=
(
uint64_t
)
p_index
->
index_entry
[
i_entry
].
i_packet_number
*
p_sys
->
p_fp
->
i_min_data_packet_size
;
return
stream_Seek
(
p_demux
->
s
,
p_sys
->
i_data_begin
+
i_offset
);
if
(
stream_Seek
(
p_demux
->
s
,
p_sys
->
i_data_begin
+
i_offset
)
==
VLC_SUCCESS
)
{
es_out_Control
(
p_demux
->
out
,
ES_OUT_SET_NEXT_DISPLAY_TIME
,
VLC_TS_0
+
i_date
);
return
VLC_SUCCESS
;
}
else
return
VLC_EGENERIC
;
}
static
void
SeekPrepare
(
demux_t
*
p_demux
)
...
...
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