Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
df1f6e1c
Commit
df1f6e1c
authored
Jan 17, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* es_out: select es from current program only.
parent
24c93ade
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
src/input/es_out.c
src/input/es_out.c
+13
-3
No files found.
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/07 15:31:31
fenrir Exp $
* $Id: es_out.c,v 1.1
6 2004/01/17 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