Remove old core drawable support
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Mon, 2 Feb 2009 18:22:53 +0000 (20:22 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Mon, 2 Feb 2009 18:22:53 +0000 (20:22 +0200)
src/video_output/vout_intf.c

index 4145bde..9794eee 100644 (file)
@@ -110,10 +110,6 @@ vout_window_t *vout_RequestWindow( vout_thread_t *p_vout, const char *psz_cap,
     *pi_width_hint = p_vout->i_window_width;
     *pi_height_hint = p_vout->i_window_height;
 
     *pi_width_hint = p_vout->i_window_width;
     *pi_height_hint = p_vout->i_window_height;
 
-    /* Check whether someone provided us with a window ID */
-    int drawable = var_CreateGetInteger( p_vout, "drawable" );
-    if( drawable ) return (void *)(intptr_t)drawable;
-
     vout_window_t *wnd = vlc_custom_create (VLC_OBJECT(p_vout), sizeof (*wnd),
                                             VLC_OBJECT_GENERIC, "window");
     if (wnd == NULL)
     vout_window_t *wnd = vlc_custom_create (VLC_OBJECT(p_vout), sizeof (*wnd),
                                             VLC_OBJECT_GENERIC, "window");
     if (wnd == NULL)