]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/dialogs/sout.hpp
Qt: Simplify includes.
[vlc] / modules / gui / qt4 / dialogs / sout.hpp
index 6947bbb855381592af98b3f00483a9ce5ec5bf56..202b6f36ff4ef4cd49c1d442bcae3d02e6f304a2 100644 (file)
@@ -28,8 +28,7 @@
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
-#include <vlc_streaming.h>
+#include <vlc_common.h> /* Gettext functions */
 
 #include "ui/sout.h"
 #include "util/qvlcframe.hpp"
@@ -52,11 +51,8 @@ public:
         {
             /* Recenter the dialog on the parent */
             instance->setParent( parent, Qt::Dialog );
-            if( transcode_only != instance->b_transcode_only )
-            {
-                instance->toggleSout();
-                instance->b_transcode_only = transcode_only;
-            }
+            instance->b_transcode_only = transcode_only;
+            instance->toggleSout();
         }
         return instance;
     }
@@ -87,6 +83,8 @@ private slots:
     void setATranscodeOptions( bool );
     void setSTranscodeOptions( bool );
     void setRawOptions( bool );
+    void changeUDPandRTPmess( bool );
+    void RTPtoggled( bool );
 };
 
 #endif