[vlc-devel] commit: src/control/video.c: Replace vlc_object_find with input_GetVout() ( Jean-Paul Saman )

git version control git at videolan.org
Tue May 12 13:37:43 CEST 2009


vlc | branch: master | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Fri Mar 27 12:22:08 2009 +0100| [ac91820a068f7037a1d51db0a201e4fa0a7cb662] | committer: Jean-Paul Saman 

src/control/video.c: Replace vlc_object_find with input_GetVout()

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ac91820a068f7037a1d51db0a201e4fa0a7cb662
---

 src/control/video.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/control/video.c b/src/control/video.c
index 81c0052..725a8f3 100644
--- 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;




More information about the vlc-devel mailing list