OSX: keep the (misdesigned) drawable variable
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Thu, 12 Feb 2009 15:37:45 +0000 (17:37 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Thu, 12 Feb 2009 15:37:45 +0000 (17:37 +0200)
src/libvlc.c

index e8c9f2d..9a53ee7 100644 (file)
@@ -982,6 +982,9 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
      */
     var_Create( p_libvlc, "drawable-xid", VLC_VAR_INTEGER );
     var_Create( p_libvlc, "drawable-hwnd", VLC_VAR_ADDRESS );
+#ifdef __APPLE__
+    var_Create( p_libvlc, "drawable", VLC_VAR_INTERGER );
+#endif
     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 );