[vlc-devel] commit: Revert "* src/video_output/vout_intf.c: small kludge for opengl providers." ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Jan 8 20:49:13 CET 2009


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Thu Jan  8 21:33:47 2009 +0200| [b373dac2ca0444ca64a8c45a523b6366c2065d72] | committer: Rémi Denis-Courmont 

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

This reverts commit 1eefd3dd7d97392d6e6dfee593538436263ca479.
This fixes GLX crashing while requesting an embedded video window.

Conflicts:

	src/video_output/vout_intf.c

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b373dac2ca0444ca64a8c45a523b6366c2065d72
---

 src/video_output/vout_intf.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/video_output/vout_intf.c b/src/video_output/vout_intf.c
index 897a35e..d19b9d6 100644
--- a/src/video_output/vout_intf.c
+++ b/src/video_output/vout_intf.c
@@ -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" );




More information about the vlc-devel mailing list