Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
17eeea99
Commit
17eeea99
authored
Jun 04, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify
parent
a8712a37
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
src/input/es_out.c
src/input/es_out.c
+4
-7
No files found.
src/input/es_out.c
View file @
17eeea99
...
...
@@ -195,7 +195,7 @@ es_out_t *input_EsOutNew( input_thread_t *p_input, int i_rate )
out
->
pf_del
=
EsOutDel
;
out
->
pf_control
=
EsOutControl
;
out
->
p_sys
=
p_sys
;
out
->
b_sout
=
(
p_input
->
p
->
p_sout
!=
NULL
?
true
:
false
)
;
out
->
b_sout
=
p_input
->
p
->
p_sout
!=
NULL
;
p_sys
->
p_input
=
p_input
;
...
...
@@ -1057,8 +1057,7 @@ static void EsSelect( es_out_t *out, es_out_id_t *es )
{
if
(
es
->
fmt
.
i_cat
==
VIDEO_ES
||
es
->
fmt
.
i_cat
==
SPU_ES
)
{
if
(
!
var_GetBool
(
p_input
,
"video"
)
||
(
p_input
->
p
->
p_sout
&&
!
var_GetBool
(
p_input
,
"sout-video"
)
)
)
if
(
!
var_GetBool
(
p_input
,
out
->
b_sout
?
"sout-video"
:
"video"
)
)
{
msg_Dbg
(
p_input
,
"video is disabled, not selecting ES 0x%x"
,
es
->
i_id
);
...
...
@@ -1068,8 +1067,7 @@ static void EsSelect( es_out_t *out, es_out_id_t *es )
else
if
(
es
->
fmt
.
i_cat
==
AUDIO_ES
)
{
var_Get
(
p_input
,
"audio"
,
&
val
);
if
(
!
var_GetBool
(
p_input
,
"audio"
)
||
(
p_input
->
p
->
p_sout
&&
!
var_GetBool
(
p_input
,
"sout-audio"
)
)
)
if
(
!
var_GetBool
(
p_input
,
out
->
b_sout
?
"sout-audio"
:
"audio"
)
)
{
msg_Dbg
(
p_input
,
"audio is disabled, not selecting ES 0x%x"
,
es
->
i_id
);
...
...
@@ -1079,8 +1077,7 @@ static void EsSelect( es_out_t *out, es_out_id_t *es )
if
(
es
->
fmt
.
i_cat
==
SPU_ES
)
{
var_Get
(
p_input
,
"spu"
,
&
val
);
if
(
!
var_GetBool
(
p_input
,
"spu"
)
||
(
p_input
->
p
->
p_sout
&&
!
var_GetBool
(
p_input
,
"sout-spu"
)
)
)
if
(
!
var_GetBool
(
p_input
,
out
->
b_sout
?
"sout-spu"
:
"spu"
)
)
{
msg_Dbg
(
p_input
,
"spu is disabled, not selecting ES 0x%x"
,
es
->
i_id
);
...
...
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