Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
2b1d6c00
Commit
2b1d6c00
authored
Jan 31, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed input_GetEsObjects().
parent
f1941624
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
src/input/decoder.c
src/input/decoder.c
+2
-2
src/input/es_out.c
src/input/es_out.c
+5
-3
No files found.
src/input/decoder.c
View file @
2b1d6c00
...
...
@@ -631,9 +631,9 @@ void input_DecoderGetObjects( decoder_t *p_dec,
vlc_mutex_lock
(
&
p_owner
->
lock
);
if
(
pp_vout
)
*
pp_vout
=
vlc_object_hold
(
p_owner
->
p_vout
)
;
*
pp_vout
=
p_owner
->
p_vout
?
vlc_object_hold
(
p_owner
->
p_vout
)
:
NULL
;
if
(
pp_aout
)
*
pp_aout
=
vlc_object_hold
(
p_owner
->
p_aout
)
;
*
pp_aout
=
p_owner
->
p_aout
?
vlc_object_hold
(
p_owner
->
p_aout
)
:
NULL
;
vlc_mutex_unlock
(
&
p_owner
->
lock
);
}
...
...
src/input/es_out.c
View file @
2b1d6c00
...
...
@@ -2470,14 +2470,16 @@ static int EsOutControlLocked( es_out_t *out, int i_query, va_list args )
vlc_object_t
**
pp_decoder
=
va_arg
(
args
,
vlc_object_t
**
);
vout_thread_t
**
pp_vout
=
va_arg
(
args
,
vout_thread_t
**
);
aout_instance_t
**
pp_aout
=
va_arg
(
args
,
aout_instance_t
**
);
if
(
es
->
p_dec
)
if
(
p_
es
->
p_dec
)
{
if
(
pp_decoder
)
*
pp_decoder
=
vlc_object_hold
(
es
->
p_dec
);
input_DecoderGetObjects
(
es
->
p_dec
,
pp_vout
,
pp_aout
);
*
pp_decoder
=
vlc_object_hold
(
p_
es
->
p_dec
);
input_DecoderGetObjects
(
p_
es
->
p_dec
,
pp_vout
,
pp_aout
);
}
else
{
if
(
pp_decoder
)
*
pp_decoder
=
NULL
;
if
(
pp_vout
)
*
pp_vout
=
NULL
;
if
(
pp_aout
)
...
...
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