]> git.sesse.net Git - vlc/commitdiff
qt4: add x264 profile/level to simple-preferences
authorIlkka Ollakka <ileoo@videolan.org>
Sun, 16 May 2010 12:22:10 +0000 (15:22 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Sun, 16 May 2010 12:22:10 +0000 (15:22 +0300)
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/ui/sprefs_input.ui

index 4e711f90277e6245f7692539e3ddb97cabaa687e..5ab23f1cb6d6fdb20d2d308fb5c8fd3441062803 100644 (file)
@@ -457,6 +457,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
             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 );
+            CONFIG_GENERIC( "sout-x264-profile", StringList, ui.x264profileLabel, profileBox );
+            CONFIG_GENERIC( "sout-x264-level", String, ui.x264profileLabel, levelBox );
 
             /* Caching */
             /* Add the things to the ComboBox */
index 56105504ae3e0f15090dd61a318318a0c892bc99..6e94502ba12ee30f35d6909f0adc8fd233b38c18 100644 (file)
       <item row="7" column="1">
        <widget class="QComboBox" name="loopFilterBox"/>
       </item>
-      <item row="9" column="0">
+      <item row="10" column="0">
        <widget class="QLabel" name="x264Label">
+        <property name="text">
+         <string>x264 profile and level selection</string>
+        </property>
+        <property name="buddy">
+         <cstring>profileBox</cstring>
+         <cstring>levelBox</cstring>
+        </property>
+       </widget>
+      </item>
+      <item row="10" column="1">
+       <widget class="QComboBox" name="profileBox"/>
+      </item>
+      <item row="10" column="2">
+       <widget class="QLineEdit" name="levelBox"/>
+      </item>
+      <item row="9" column="0">
+       <widget class="QLabel" name="x264profileLabel">
         <property name="text">
          <string>x264 preset and tuning selection</string>
         </property>