Commit c8446836 authored by Ilkka Ollakka's avatar Ilkka Ollakka

qt4: add x264 tune/preset on simple-preferences

parent 36886f82
...@@ -455,6 +455,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, ...@@ -455,6 +455,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
optionWidgets.append( ui.DVDDevice ); optionWidgets.append( ui.DVDDevice );
optionWidgets.append( ui.cachingCombo ); optionWidgets.append( ui.cachingCombo );
CONFIG_GENERIC( "ffmpeg-skiploopfilter", IntegerList, ui.filterLabel, loopFilterBox ); 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 */ /* Caching */
/* Add the things to the ComboBox */ /* Add the things to the ComboBox */
......
...@@ -73,6 +73,23 @@ ...@@ -73,6 +73,23 @@
<item row="7" column="1"> <item row="7" column="1">
<widget class="QComboBox" name="loopFilterBox"/> <widget class="QComboBox" name="loopFilterBox"/>
</item> </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"> <item row="2" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_2"> <layout class="QHBoxLayout" name="horizontalLayout_2">
<item> <item>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment