]> git.sesse.net Git - vlc/commitdiff
- pre-create 'width' and 'height' in libvlc so that the ActiveX plugin can set them...
authorDamien Fouilleul <damienf@videolan.org>
Sun, 21 Aug 2005 17:43:38 +0000 (17:43 +0000)
committerDamien Fouilleul <damienf@videolan.org>
Sun, 21 Aug 2005 17:43:38 +0000 (17:43 +0000)
src/libvlc.c

index 793c60825b447cb189228731056e20c532f743be..7b155d6ca32be0e6b1cb22f205a741781d566fe0 100644 (file)
@@ -761,6 +761,8 @@ int VLC_Init( int i_object, int i_argc, char *ppsz_argv[] )
     var_Create( p_vlc, "drawableh", VLC_VAR_INTEGER );
     var_Create( p_vlc, "drawableportx", VLC_VAR_INTEGER );
     var_Create( p_vlc, "drawableporty", VLC_VAR_INTEGER );
+    var_Create( p_vlc, "width", VLC_VAR_INTEGER );
+    var_Create( p_vlc, "height", VLC_VAR_INTEGER );
 
     /*
      * Get input filenames given as commandline arguments