[vlc-devel] commit: Qt: deactivate the encryption functionnality until core or ts demux is ready. (Jean-Baptiste Kempf )

git version control git at videolan.org
Sat Feb 21 14:58:46 CET 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Feb 21 14:57:25 2009 +0100| [e876396adcc8151303d3cf3e199922f1aaf4b380] | committer: Jean-Baptiste Kempf 

Qt: deactivate the encryption functionnality until core or ts demux is ready.

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

 modules/gui/qt4/input_manager.cpp  |    4 +++-
 modules/gui/qt4/input_manager.hpp  |    2 ++
 modules/gui/qt4/main_interface.cpp |    7 ++++++-
 modules/gui/qt4/main_interface.hpp |    4 ++++
 4 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
index d2c9310..9067b76 100644
--- a/modules/gui/qt4/input_manager.cpp
+++ b/modules/gui/qt4/input_manager.cpp
@@ -129,7 +129,6 @@ void InputManager::delInput()
     emit statusChanged( END_S );
 
     emit teletextPossible( false );
-    emit encryptionChanged( false );
     emit AtoBchanged( false, false );
     emit voutChanged( false );
     emit voutListChanged( NULL, 0 );
@@ -138,6 +137,9 @@ void InputManager::delInput()
     emit artChanged( NULL );
     emit infoChanged( NULL );
     emit metaChanged( (input_item_t *)NULL );
+#if 0
+    emit encryptionChanged( false );
+#endif
 }
 
 /* Convert the event from the callbacks in actions */
diff --git a/modules/gui/qt4/input_manager.hpp b/modules/gui/qt4/input_manager.hpp
index f7fb204..2560045 100644
--- a/modules/gui/qt4/input_manager.hpp
+++ b/modules/gui/qt4/input_manager.hpp
@@ -192,7 +192,9 @@ signals:
     void synchroChanged();
     void bookmarksChanged();
     void cachingChanged( float );
+#if 0
     void encryptionChanged( bool );
+#endif
 };
 
 class MainInputManager : public QObject
diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index a577ae9..42d9f69 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -82,7 +82,9 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
     playlistVisible      = false;
     input_name           = "";
     fullscreenControls   = NULL;
+#if 0
     cryptedLabel         = NULL;
+#endif
 
     /* Ask for privacy */
     askForPrivacy();
@@ -349,10 +351,12 @@ inline void MainInterface::createStatusBar()
        - right-clicking and clicking just toggle between remaining and
          elapsed time.*/
     CONNECT( timeLabel, timeLabelDoubleClicked(), THEDP, gotoTimeDialog() );
-
+#if 0
     CONNECT( THEMIM->getIM(), encryptionChanged( bool ) , this, showCryptedLabel( bool ) );
+#endif
 }
 
+#if 0
 void MainInterface::showCryptedLabel( bool )
 {
     if( cryptedLabel == NULL )
@@ -364,6 +368,7 @@ void MainInterface::showCryptedLabel( bool )
 
     cryptedLabel->show();
 }
+#endif
 
 inline void MainInterface::initSystray()
 {
diff --git a/modules/gui/qt4/main_interface.hpp b/modules/gui/qt4/main_interface.hpp
index 3f84db8..df86b80 100644
--- a/modules/gui/qt4/main_interface.hpp
+++ b/modules/gui/qt4/main_interface.hpp
@@ -141,7 +141,9 @@ private:
 
     /* Status Bar */
     QLabel              *nameLabel;
+#if 0
     QLabel              *cryptedLabel;
+#endif
 
     virtual void customEvent( QEvent *);
     virtual void keyPressEvent( QKeyEvent *);
@@ -173,7 +175,9 @@ private slots:
     void updateSystrayTooltipName( QString );
     void updateSystrayTooltipStatus( int );
 
+#if 0
     void showCryptedLabel( bool );
+#endif
 signals:
     void askReleaseVideo( );
     void askVideoToResize( unsigned int, unsigned int );




More information about the vlc-devel mailing list