[vlc-devel] commit: libvlc: Fix compilation of libvlc_media_player_set_drawable(). ( Pierre d'Herbemont )

git version control git at videolan.org
Fri Jun 13 15:47:35 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Fri Jun 13 15:47:11 2008 +0200| [5a1dc1c6ec6583a0e7758eb7ae3ec494796f1182]

libvlc: Fix compilation of libvlc_media_player_set_drawable().

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

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

diff --git a/src/control/media_player.c b/src/control/media_player.c
index 461f6dc..2031d3b 100644
--- a/src/control/media_player.c
+++ b/src/control/media_player.c
@@ -26,6 +26,7 @@
 #include <vlc/libvlc.h>
 #include <vlc_demux.h>
 #include <vlc_input.h>
+#include <vlc_vout.h>
 #include "libvlc.h"
 
 static int
@@ -685,7 +686,7 @@ void libvlc_media_player_set_drawable( libvlc_media_player_t *p_mi,
 
     p_vout = vlc_object_find( p_input_thread, VLC_OBJECT_VOUT, FIND_CHILD );
     if( !p_vout )
-        libvlc_exception_raise( p_exception, "No active video output" );
+        libvlc_exception_raise( p_e, "No active video output" );
     else
     {
         vout_Control( p_vout , VOUT_REPARENT, drawable);




More information about the vlc-devel mailing list