Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
1035469c
Commit
1035469c
authored
Jul 27, 2008
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpga demux: DEMUX_SET_TIME was using DEMUX_GET_LENGTH logic unintentionally.
parent
8be4ff02
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
modules/demux/mpeg/mpga.c
modules/demux/mpeg/mpga.c
+3
-4
No files found.
modules/demux/mpeg/mpga.c
View file @
1035469c
...
@@ -356,10 +356,6 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
...
@@ -356,10 +356,6 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
*
pi64
=
p_sys
->
i_pts
+
p_sys
->
i_time_offset
;
*
pi64
=
p_sys
->
i_pts
+
p_sys
->
i_time_offset
;
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
case
DEMUX_SET_TIME
:
/* FIXME TODO: implement a high precision seek (with mp3 parsing)
* needed for multi-input */
case
DEMUX_GET_LENGTH
:
case
DEMUX_GET_LENGTH
:
i_ret
=
demux_vaControlHelper
(
p_demux
->
s
,
0
,
-
1
,
i_ret
=
demux_vaControlHelper
(
p_demux
->
s
,
0
,
-
1
,
p_sys
->
i_bitrate_avg
,
1
,
i_query
,
p_sys
->
i_bitrate_avg
,
1
,
i_query
,
...
@@ -383,6 +379,9 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
...
@@ -383,6 +379,9 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
va_end
(
args_save
);
va_end
(
args_save
);
return
i_ret
;
return
i_ret
;
case
DEMUX_SET_TIME
:
/* FIXME TODO: implement a high precision seek (with mp3 parsing)
* needed for multi-input */
default:
default:
i_ret
=
demux_vaControlHelper
(
p_demux
->
s
,
0
,
-
1
,
i_ret
=
demux_vaControlHelper
(
p_demux
->
s
,
0
,
-
1
,
p_sys
->
i_bitrate_avg
,
1
,
i_query
,
p_sys
->
i_bitrate_avg
,
1
,
i_query
,
...
...
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