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
4b1c4264
Commit
4b1c4264
authored
Aug 25, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* input: send DEMUX_SET_GROUP.
parent
8529fa14
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
src/input/demux.c
src/input/demux.c
+1
-0
src/input/input.c
src/input/input.c
+9
-0
No files found.
src/input/demux.c
View file @
4b1c4264
...
...
@@ -235,6 +235,7 @@ int demux2_vaControlHelper( stream_t *s,
case
DEMUX_GET_META
:
case
DEMUX_SET_NEXT_DEMUX_TIME
:
case
DEMUX_GET_TITLE_INFO
:
case
DEMUX_SET_GROUP
:
return
VLC_EGENERIC
;
default:
...
...
src/input/input.c
View file @
4b1c4264
...
...
@@ -735,6 +735,13 @@ static int Init( input_thread_t * p_input )
es_out_Control
(
p_input
->
p_es_out
,
ES_OUT_SET_MODE
,
val
.
b_bool
?
ES_OUT_MODE_ALL
:
ES_OUT_MODE_AUTO
);
/* Inform the demuxer about waited group (needed only for DVB) */
if
(
val
.
b_bool
)
demux2_Control
(
p_input
->
input
.
p_demux
,
DEMUX_SET_GROUP
,
-
1
);
else
demux2_Control
(
p_input
->
input
.
p_demux
,
DEMUX_SET_GROUP
,
(
int
)
var_GetInteger
(
p_input
,
"program"
)
);
if
(
p_input
->
p_sout
)
{
if
(
p_input
->
p_sout
->
i_out_pace_nocontrol
>
0
)
...
...
@@ -1239,6 +1246,8 @@ static vlc_bool_t Control( input_thread_t *p_input, int i_type,
/* No need to force update, es_out does it if needed */
es_out_Control
(
p_input
->
p_es_out
,
ES_OUT_SET_GROUP
,
val
.
i_int
);
demux2_Control
(
p_input
->
input
.
p_demux
,
DEMUX_SET_GROUP
,
val
.
i_int
);
break
;
case
INPUT_CONTROL_SET_ES
:
...
...
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