[vlc-devel] commit: Interface doesn't have to go around Vout bugs. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Oct 1 10:06:37 CEST 2008


vlc | branch: 0.9-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Tue Sep 30 22:28:00 2008 -0700| [77815a60e6947e0464d12eb3bb61203890db0c1b] | committer: Jean-Baptiste Kempf 

Interface doesn't have to go around Vout bugs.

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

 modules/gui/qt4/components/interface_widgets.cpp |   11 -----------
 modules/gui/qt4/qt4.cpp                          |    2 +-
 2 files changed, 1 insertions(+), 12 deletions(-)

diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index fd2430c..cde8967 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -1440,17 +1440,6 @@ void FullscreenControllerWidget::fullscreenChanged( vout_thread_t *p_vout,
         /* Force fs hidding */
         IMEvent *eHide = new IMEvent( FullscreenControlHide_Type, 0 );
         QApplication::postEvent( this, static_cast<QEvent *>(eHide) );
-#ifdef WIN32
-        /* This is a big, a huge HACK around the windows Video Output,
-         Since the Vout fusion the Vout Windows, with the main windows
-         (very nice indeed for Alt-Tab), at the end of the film, when Vout quits
-         fullscreen, MI isn't properly put in the good state again...
-         (hidden still)...
-         Of course this is not good, but we will have to live with it temporarly
-         */
-        p_intf->p_sys->p_mi->hide();
-        p_intf->p_sys->p_mi->show();
-#endif
     }
     vlc_mutex_unlock( &lock );
 }
diff --git a/modules/gui/qt4/qt4.cpp b/modules/gui/qt4/qt4.cpp
index 1376397..ec788f6 100644
--- a/modules/gui/qt4/qt4.cpp
+++ b/modules/gui/qt4/qt4.cpp
@@ -213,7 +213,7 @@ vlc_module_begin();
 
         set_callbacks( OpenDialogs, Close );
 
-#if 0
+#ifdef WIN32
     add_submodule();
         set_capability( "vout window", 50 );
         set_callbacks( WindowOpen, WindowClose );




More information about the vlc-devel mailing list