git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
53ec8a4
)
src/control/video.c: Replace vlc_object_find with input_GetVout()
author
Jean-Paul Saman
<jean-paul.saman@m2x.nl>
Fri, 27 Mar 2009 11:22:08 +0000
(12:22 +0100)
committer
Jean-Paul Saman
<jean-paul.saman@m2x.nl>
Tue, 12 May 2009 10:50:12 +0000
(12:50 +0200)
src/control/video.c
patch
|
blob
|
history
diff --git
a/src/control/video.c
b/src/control/video.c
index
81c0052
..
725a8f3
100644
(file)
--- a/
src/control/video.c
+++ b/
src/control/video.c
@@
-42,7
+42,7
@@
static vout_thread_t *GetVout( libvlc_media_player_t *p_mi,
if( p_input_thread )
{
- p_vout =
vlc_object_find( p_input_thread, VLC_OBJECT_VOUT, FIND_CHILD
);
+ p_vout =
input_GetVout( p_input_thread
);
if( !p_vout )
{
libvlc_exception_raise( p_exception, "No active video output" );
@@
-176,7
+176,7
@@
int libvlc_media_player_has_vout( libvlc_media_player_t *p_mi,
{
vout_thread_t *p_vout;
- p_vout =
vlc_object_find( p_input_thread, VLC_OBJECT_VOUT, FIND_CHILD
);
+ p_vout =
input_GetVout( p_input_thread
);
if( p_vout )
{
has_vout = true;