Commit 0c53f514 authored by Ilkka Ollakka's avatar Ilkka Ollakka

qt4: add x264 profile/level to simple-preferences

parent 87e5e733
...@@ -457,6 +457,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, ...@@ -457,6 +457,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
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-tune", StringList, ui.x264Label, tuneBox );
CONFIG_GENERIC( "sout-x264-preset", StringList, ui.x264Label, presetBox ); 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 */ /* Caching */
/* Add the things to the ComboBox */ /* Add the things to the ComboBox */
......
...@@ -73,8 +73,25 @@ ...@@ -73,8 +73,25 @@
<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"> <item row="10" column="0">
<widget class="QLabel" name="x264Label"> <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"> <property name="text">
<string>x264 preset and tuning selection</string> <string>x264 preset and tuning selection</string>
</property> </property>
......
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