Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
df1f6e1c
Commit
df1f6e1c
authored
Jan 17, 2004
by
Laurent Aimar
Browse files
* es_out: select es from current program only.
parent
24c93ade
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/input/es_out.c
View file @
df1f6e1c
...
...
@@ -2,7 +2,7 @@
* es_out.c: Es Out handler for input.
*****************************************************************************
* Copyright (C) 2003-2004 VideoLAN
* $Id: es_out.c,v 1.1
5
2004/01/
0
7
15:31:31
fenrir Exp $
* $Id: es_out.c,v 1.1
6
2004/01/
1
7
23:50:08
fenrir Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -152,19 +152,29 @@ static void EsOutSelect( es_out_t *out, es_out_id_t *es, vlc_bool_t b_force )
int
i_cat
=
es
->
p_es
->
i_cat
;
if
(
!
p_sys
->
b_active
||
(
!
b_force
&&
es
->
p_es
->
fmt
.
i_priority
<
0
)
)
if
(
!
p_sys
->
b_active
||
(
!
b_force
&&
es
->
p_es
->
fmt
.
i_priority
<
0
)
)
{
return
;
}
if
(
p_sys
->
i_mode
==
ES_OUT_MODE_ALL
||
b_force
)
{
input_SelectES
(
p_input
,
es
->
p_es
);
if
(
!
es
->
p_es
->
p_dec
)
{
input_SelectES
(
p_input
,
es
->
p_es
);
}
}
else
if
(
p_sys
->
i_mode
==
ES_OUT_MODE_AUTO
)
{
int
i_wanted
=
-
1
;
if
(
es
->
p_es
->
p_pgrm
!=
NULL
&&
es
->
p_es
->
p_pgrm
!=
p_input
->
stream
.
p_selected_program
)
{
return
;
}
if
(
i_cat
==
AUDIO_ES
)
{
if
(
p_sys
->
p_es_audio
&&
...
...
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