[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:50:41 CEST 2010


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

Define drawable-*-* variables only on MacOS

(cherry picked from commit fa4ba3ac6e157737f7ecc269377659ff1c8a3f4e)

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

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

diff --git a/src/libvlc.c b/src/libvlc.c
index b11f40f..06449a9 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -947,6 +947,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 );
@@ -955,6 +956,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