]> git.sesse.net Git - vlc/commitdiff
Revert "* src/video_output/vout_intf.c: small kludge for opengl providers."
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Thu, 8 Jan 2009 19:33:47 +0000 (21:33 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Thu, 8 Jan 2009 19:49:25 +0000 (21:49 +0200)
This reverts commit 1eefd3dd7d97392d6e6dfee593538436263ca479.
This fixes GLX crashing while requesting an embedded video window.

Conflicts:

src/video_output/vout_intf.c

src/video_output/vout_intf.c

index 897a35ee4bf9be6efd7d7e28edb2e25228c120ca..d19b9d610b0fe5cfe9d56262140a7cd5530f3370 100644 (file)
@@ -91,8 +91,6 @@ void *vout_RequestWindow( vout_thread_t *p_vout,
                           unsigned int *pi_width_hint,
                           unsigned int *pi_height_hint )
 {
-    /* Small kludge */
-    if( !var_Type( p_vout, "aspect-ratio" ) ) vout_IntfInit( p_vout );
 
     /* Get requested coordinates */
     *pi_x_hint = var_GetInteger( p_vout, "video-x" );