]> git.sesse.net Git - vlc/commitdiff
vlc core: remove a hack that seems no longer needed
authorErwan Tulou <erwan10@videolan.org>
Sun, 20 Dec 2009 19:24:58 +0000 (20:24 +0100)
committerErwan Tulou <erwan10@videolan.org>
Tue, 22 Dec 2009 16:36:46 +0000 (17:36 +0100)
On the other hand, it allows intf-show to really perform its goal
(react on user interaction via hotkey or mouse)

src/video_output/video_output.c

index 0c09a45dd1ef0a5a0157fe890df83171a4d129d5..5004d42b5c5082162c43108bc85ecc9528207152 100644 (file)
@@ -589,21 +589,6 @@ static void vout_Destructor( vlc_object_t * p_this )
 
     free( p_vout->p );
 
-#ifndef __APPLE__
-    vout_thread_t *p_another_vout;
-
-    /* This is a dirty hack mostly for Linux, where there is no way to get the
-     * GUI back if you closed it while playing video. This is solved in
-     * Mac OS X, where we have this novelty called menubar, that will always
-     * allow you access to the applications main functionality. They should try
-     * that on linux sometime. */
-    p_another_vout = vlc_object_find( p_this->p_libvlc,
-                                      VLC_OBJECT_VOUT, FIND_ANYWHERE );
-    if( p_another_vout == NULL )
-        var_SetBool( p_this->p_libvlc, "intf-show", true );
-    else
-        vlc_object_release( p_another_vout );
-#endif
 }
 
 /* */