Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
7
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Steve Lhomme
VLC
Commits
15060465
Commit
15060465
authored
8 years ago
by
François Cartegnie
Browse files
Options
Downloads
Patches
Plain Diff
input: es_out: rename last to channel
parent
83b688b4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/input/es_out.c
+7
-7
7 additions, 7 deletions
src/input/es_out.c
with
7 additions
and
7 deletions
src/input/es_out.c
+
7
−
7
View file @
15060465
...
...
@@ -128,8 +128,8 @@ struct es_out_sys_t
struct
es_out_es_props_s
{
int
i_count
;
/* es count */
int
i_id
;
int
i_
last
;
int
i_id
;
/* es id as set by es fmt.id */
int
i_
channel
;
/* es number in creation order */
es_out_id_t
*
p_main_es
;
/* current main es */
enum
es_out_policy_e
e_policy
;
}
video
,
audio
,
sub
;
...
...
@@ -271,19 +271,19 @@ es_out_t *input_EsOutNew( input_thread_t *p_input, int i_rate )
p_sys
->
video
.
e_policy
=
ES_OUT_ES_POLICY_SIMULTANEOUS
;
p_sys
->
video
.
i_count
=
0
;
p_sys
->
video
.
i_id
=
-
1
;
p_sys
->
video
.
i_
last
=
-
1
;
p_sys
->
video
.
i_
channel
=
-
1
;
p_sys
->
video
.
p_main_es
=
NULL
;
p_sys
->
audio
.
e_policy
=
ES_OUT_ES_POLICY_EXCLUSIVE
;
p_sys
->
audio
.
i_count
=
0
;
p_sys
->
audio
.
i_id
=
var_GetInteger
(
p_input
,
"audio-track-id"
);
p_sys
->
audio
.
i_
last
=
var_GetInteger
(
p_input
,
"audio-track"
);
p_sys
->
audio
.
i_
channel
=
var_GetInteger
(
p_input
,
"audio-track"
);
p_sys
->
audio
.
p_main_es
=
NULL
;
p_sys
->
sub
.
e_policy
=
ES_OUT_ES_POLICY_EXCLUSIVE
;
p_sys
->
sub
.
i_count
=
0
;
p_sys
->
sub
.
i_id
=
var_GetInteger
(
p_input
,
"sub-track-id"
);
p_sys
->
sub
.
i_
last
=
var_GetInteger
(
p_input
,
"sub-track"
);
p_sys
->
sub
.
i_
channel
=
var_GetInteger
(
p_input
,
"sub-track"
);
p_sys
->
sub
.
p_main_es
=
NULL
;
p_sys
->
i_group_id
=
var_GetInteger
(
p_input
,
"program"
);
...
...
@@ -1898,7 +1898,7 @@ static void EsOutSelect( es_out_t *out, es_out_id_t *es, bool b_force )
if
(
p_esprops
)
{
if
(
p_esprops
->
i_
last
==
es
->
i_channel
)
if
(
p_esprops
->
i_
channel
==
es
->
i_channel
)
wanted_es
=
es
;
if
(
p_esprops
->
i_id
>=
0
)
...
...
@@ -2049,7 +2049,7 @@ static int EsOutSend( es_out_t *out, es_out_id_t *es, block_t *p_block )
es
->
pb_cc_present
[
i
]
=
true
;
/* Enable if user specified on command line */
if
(
p_sys
->
sub
.
i_
last
==
i
)
if
(
p_sys
->
sub
.
i_
channel
==
i
)
EsOutSelect
(
out
,
es
->
pp_cc_es
[
i
],
true
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment