Commit e67ac812 authored by Damien Fouilleul's avatar Damien Fouilleul

- pre-create 'width' and 'height' in libvlc so that the ActiveX plugin can set...

- pre-create 'width' and 'height' in libvlc so that the ActiveX plugin can set them before a vout is created. this prevents the initial viewport resizing when playing the first target
parent d2310f2a
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment