Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
d5c12fe6
Commit
d5c12fe6
authored
Mar 07, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed CDG seeking while used as a slave input.
parent
c0aeb6ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
modules/demux/cdg.c
modules/demux/cdg.c
+9
-6
No files found.
modules/demux/cdg.c
View file @
d5c12fe6
...
...
@@ -149,11 +149,14 @@ static void Close ( vlc_object_t * p_this )
*****************************************************************************/
static
int
Control
(
demux_t
*
p_demux
,
int
i_query
,
va_list
args
)
{
switch
(
i_query
)
{
default:
return
demux_vaControlHelper
(
p_demux
->
s
,
0
,
-
1
,
8
*
CDG_FRAME_SIZE
*
CDG_FRAME_RATE
,
CDG_FRAME_SIZE
,
i_query
,
args
);
}
int
i_ret
=
demux_vaControlHelper
(
p_demux
->
s
,
0
,
-
1
,
8
*
CDG_FRAME_SIZE
*
CDG_FRAME_RATE
,
CDG_FRAME_SIZE
,
i_query
,
args
);
if
(
!
i_ret
&&
(
i_query
==
DEMUX_SET_POSITION
||
i_query
==
DEMUX_SET_TIME
)
)
date_Set
(
&
p_demux
->
p_sys
->
pts
,
stream_Tell
(
p_demux
->
s
)
/
CDG_FRAME_SIZE
*
INT64_C
(
1000000
)
/
CDG_FRAME_RATE
);
return
i_ret
;
}
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