[vlc-devel] commit: Remove dummy code ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Mar 7 12:49:15 CET 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Mar  7 13:49:08 2009 +0200| [36220843fedf5280fb97b31a5cdc90c3f2477cf1] | committer: Rémi Denis-Courmont 

Remove dummy code

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

 src/control/media_player.c |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)

diff --git a/src/control/media_player.c b/src/control/media_player.c
index d5faf65..caee56d 100644
--- a/src/control/media_player.c
+++ b/src/control/media_player.c
@@ -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 );
 }
 
 /**************************************************************************




More information about the vlc-devel mailing list