]> git.sesse.net Git - vlc/commitdiff
Remove dummy code
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 7 Mar 2009 11:49:08 +0000 (13:49 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 7 Mar 2009 11:49:08 +0000 (13:49 +0200)
src/control/media_player.c

index d5faf6505632b795d348be343af9c476b6de5a36..caee56d86fef2d9d26814064db8ceda983750177 100644 (file)
@@ -773,19 +773,6 @@ void libvlc_media_player_set_drawable( libvlc_media_player_t *p_mi,
 #else
     p_mi->drawable.xid = drawable;
 #endif
-
-    /* Allow on the fly drawable changing. This is tricky has this may
-     * not be supported by every vout. We though can't disable it
-     * because of some creepy drawable type that are not flexible enough
-     * (Win32 HWND for instance) */
-    p_input_thread = libvlc_get_input_thread( p_mi, p_e );
-    if( !p_input_thread ) {
-        /* No input, nothing more to do, we are fine */
-        libvlc_exception_clear( p_e );
-        return;
-    }
-
-    vlc_object_release( p_input_thread );
 }
 
 /**************************************************************************