[vlc-devel] commit: vlc core: remove a hack that seems no longer needed (Erwan Tulou )

git version control git at videolan.org
Tue Dec 22 17:38:52 CET 2009


vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Sun Dec 20 20:24:58 2009 +0100| [4a080e62f19b3314657e0474b5317fd899fe34d2] | committer: Erwan Tulou 

vlc core: remove a hack that seems no longer needed

On the other hand, it allows intf-show to really perform its goal
(react on user interaction via hotkey or mouse)

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

 src/video_output/video_output.c |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index 0c09a45..5004d42 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -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
 }
 
 /* */




More information about the vlc-devel mailing list