[vlc-commits] commit: Define drawable-*-* variables only on MacOS ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Thu Jul 8 18:49:56 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jul  8 19:49:38 2010 +0300| [fa4ba3ac6e157737f7ecc269377659ff1c8a3f4e] | committer: Rémi Denis-Courmont 

Define drawable-*-* variables only on MacOS

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

 src/libvlc.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/libvlc.c b/src/libvlc.c
index dcb693b..96293eb 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -923,6 +923,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
     }
 #endif
 
+#ifdef __APPLE__
     var_Create( p_libvlc, "drawable-view-top", VLC_VAR_INTEGER );
     var_Create( p_libvlc, "drawable-view-left", VLC_VAR_INTEGER );
     var_Create( p_libvlc, "drawable-view-bottom", VLC_VAR_INTEGER );
@@ -931,6 +932,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
     var_Create( p_libvlc, "drawable-clip-left", VLC_VAR_INTEGER );
     var_Create( p_libvlc, "drawable-clip-bottom", VLC_VAR_INTEGER );
     var_Create( p_libvlc, "drawable-clip-right", VLC_VAR_INTEGER );
+#endif
 #ifdef WIN32
     var_Create( p_libvlc, "drawable-hwnd", VLC_VAR_ADDRESS );
 #endif



More information about the vlc-commits mailing list