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
836a03aa
Commit
836a03aa
authored
Dec 03, 2013
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input: add DEMUX_SET_ES notification
parent
72165d74
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
include/vlc_demux.h
include/vlc_demux.h
+2
-1
src/input/demux.c
src/input/demux.c
+1
-0
src/input/input.c
src/input/input.c
+2
-0
No files found.
include/vlc_demux.h
View file @
836a03aa
...
@@ -115,11 +115,12 @@ enum demux_query_e
...
@@ -115,11 +115,12 @@ enum demux_query_e
DEMUX_SET_TITLE
,
/* arg1= int can fail */
DEMUX_SET_TITLE
,
/* arg1= int can fail */
DEMUX_SET_SEEKPOINT
,
/* arg1= int can fail */
DEMUX_SET_SEEKPOINT
,
/* arg1= int can fail */
/* DEMUX_SET_GROUP only a hint for demuxer (mainly DVB) to allow not
/* DEMUX_SET_GROUP
/SET_ES
only a hint for demuxer (mainly DVB) to allow not
* reading everything (you should not use this to call es_out_Control)
* reading everything (you should not use this to call es_out_Control)
* if you don't know what to do with it, just IGNORE it, it is safe(r)
* if you don't know what to do with it, just IGNORE it, it is safe(r)
* -1 means all group, 0 default group (first es added) */
* -1 means all group, 0 default group (first es added) */
DEMUX_SET_GROUP
,
/* arg1= int, arg2=const vlc_list_t * can fail */
DEMUX_SET_GROUP
,
/* arg1= int, arg2=const vlc_list_t * can fail */
DEMUX_SET_ES
,
/* arg1= int can fail */
/* Ask the demux to demux until the given date at the next pf_demux call
/* Ask the demux to demux until the given date at the next pf_demux call
* but not more (and not less, at the precision available of course).
* but not more (and not less, at the precision available of course).
...
...
src/input/demux.c
View file @
836a03aa
...
@@ -320,6 +320,7 @@ int demux_vaControlHelper( stream_t *s,
...
@@ -320,6 +320,7 @@ int demux_vaControlHelper( stream_t *s,
case
DEMUX_SET_NEXT_DEMUX_TIME
:
case
DEMUX_SET_NEXT_DEMUX_TIME
:
case
DEMUX_GET_TITLE_INFO
:
case
DEMUX_GET_TITLE_INFO
:
case
DEMUX_SET_GROUP
:
case
DEMUX_SET_GROUP
:
case
DEMUX_SET_ES
:
case
DEMUX_GET_ATTACHMENTS
:
case
DEMUX_GET_ATTACHMENTS
:
case
DEMUX_CAN_RECORD
:
case
DEMUX_CAN_RECORD
:
case
DEMUX_SET_RECORD_STATE
:
case
DEMUX_SET_RECORD_STATE
:
...
...
src/input/input.c
View file @
836a03aa
...
@@ -1856,6 +1856,8 @@ static bool Control( input_thread_t *p_input,
...
@@ -1856,6 +1856,8 @@ static bool Control( input_thread_t *p_input,
/* No need to force update, es_out does it if needed */
/* No need to force update, es_out does it if needed */
es_out_Control
(
p_input
->
p
->
p_es_out_display
,
es_out_Control
(
p_input
->
p
->
p_es_out_display
,
ES_OUT_SET_ES_BY_ID
,
(
int
)
val
.
i_int
);
ES_OUT_SET_ES_BY_ID
,
(
int
)
val
.
i_int
);
demux_Control
(
p_input
->
p
->
input
.
p_demux
,
DEMUX_SET_ES
,
(
int
)
val
.
i_int
);
break
;
break
;
case
INPUT_CONTROL_RESTART_ES
:
case
INPUT_CONTROL_RESTART_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