Commit 1290cd7e authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

vout: Create the drawable variable from the vout, not libvlc.

parent a1123b0a
...@@ -104,8 +104,8 @@ void *vout_RequestWindow( vout_thread_t *p_vout, ...@@ -104,8 +104,8 @@ void *vout_RequestWindow( vout_thread_t *p_vout,
*pi_height_hint = p_vout->i_window_height; *pi_height_hint = p_vout->i_window_height;
/* Check whether someone provided us with a window ID */ /* Check whether someone provided us with a window ID */
var_Get( p_vout->p_libvlc, "drawable", &val ); int drawable = var_CreateGetInteger( p_vout, "drawable" );
if( val.i_int ) return (void *)(intptr_t)val.i_int; if( drawable ) return (void *)(intptr_t)drawable;
#if 0 #if 0
/* FIXME: /* FIXME:
......
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