Commit 1eefd3dd authored by Gildas Bazin's avatar Gildas Bazin

* src/video_output/vout_intf.c: small kludge for opengl providers.

parent 5147198f
...@@ -62,6 +62,9 @@ void *vout_RequestWindow( vout_thread_t *p_vout, ...@@ -62,6 +62,9 @@ void *vout_RequestWindow( vout_thread_t *p_vout,
vlc_value_t val; vlc_value_t val;
int i; int i;
/* Small kludge */
if( !var_Type( p_vout, "aspect-ratio" ) ) vout_IntfInit( p_vout );
/* Get requested coordinates */ /* Get requested coordinates */
var_Get( p_vout, "video-x", &val ); var_Get( p_vout, "video-x", &val );
*pi_x_hint = val.i_int ; *pi_x_hint = val.i_int ;
......
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