[vlc-commits] commit: qt4: add x264 tune/preset on simple-preferences (Ilkka Ollakka )

git at videolan.org git at videolan.org
Sat May 15 18:13:28 CEST 2010


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Sat May 15 19:12:58 2010 +0300| [c84468369574231a1e6318b141804388675d4156] | committer: Ilkka Ollakka 

qt4: add x264 tune/preset on simple-preferences

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

 modules/gui/qt4/components/simple_preferences.cpp |    2 ++
 modules/gui/qt4/ui/sprefs_input.ui                |   17 +++++++++++++++++
 2 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index 9520772..4e711f9 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -455,6 +455,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
             optionWidgets.append( ui.DVDDevice );
             optionWidgets.append( ui.cachingCombo );
             CONFIG_GENERIC( "ffmpeg-skiploopfilter", IntegerList, ui.filterLabel, loopFilterBox );
+            CONFIG_GENERIC( "sout-x264-tune", StringList, ui.x264Label, tuneBox );
+            CONFIG_GENERIC( "sout-x264-preset", StringList, ui.x264Label, presetBox );
 
             /* Caching */
             /* Add the things to the ComboBox */
diff --git a/modules/gui/qt4/ui/sprefs_input.ui b/modules/gui/qt4/ui/sprefs_input.ui
index 55fe696..5610550 100644
--- a/modules/gui/qt4/ui/sprefs_input.ui
+++ b/modules/gui/qt4/ui/sprefs_input.ui
@@ -73,6 +73,23 @@
       <item row="7" column="1">
        <widget class="QComboBox" name="loopFilterBox"/>
       </item>
+      <item row="9" column="0">
+       <widget class="QLabel" name="x264Label">
+        <property name="text">
+         <string>x264 preset and tuning selection</string>
+        </property>
+        <property name="buddy">
+         <cstring>presetBox</cstring>
+         <cstring>tuneBox</cstring>
+        </property>
+       </widget>
+      </item>
+      <item row="9" column="1">
+       <widget class="QComboBox" name="presetBox"/>
+      </item>
+      <item row="9" column="2">
+       <widget class="QComboBox" name="tuneBox"/>
+      </item>
       <item row="2" column="1">
        <layout class="QHBoxLayout" name="horizontalLayout_2">
         <item>



More information about the vlc-commits mailing list