Commit d3ad0ff1 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: spref small rework of video and codecs part

Move the skip-frame pref from video to codecs
parent 6e4f7493
......@@ -216,7 +216,6 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONFIG_BOOL( "overlay", overlay );
CONFIG_BOOL( "video-on-top", alwaysOnTop );
CONFIG_BOOL( "video-deco", windowDecorations );
CONFIG_BOOL( "skip-frames", skipFrames );
CONFIG_GENERIC( "vout", Module, ui.voutLabel, outputModule );
CONFIG_BOOL( "video-wallpaper", wallpaperMode );
......@@ -455,6 +454,7 @@ 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_BOOL( "skip-frames", skipFrames );
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 );
......
......@@ -7,8 +7,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>680</width>
<height>537</height>
<width>737</width>
<height>635</height>
</rect>
</property>
<property name="windowTitle">
......@@ -70,76 +70,41 @@
</property>
</widget>
</item>
<item row="7" column="1">
<item row="7" column="1" colspan="2">
<widget class="QComboBox" name="loopFilterBox"/>
</item>
<item row="10" column="0">
<item row="13" 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">
<item row="13" column="1">
<widget class="QComboBox" name="profileBox"/>
</item>
<item row="10" column="2">
<item row="13" column="2">
<widget class="QLineEdit" name="levelBox"/>
</item>
<item row="9" column="0">
<item row="12" column="0">
<widget class="QLabel" name="x264profileLabel">
<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">
<item row="12" column="1">
<widget class="QComboBox" name="presetBox"/>
</item>
<item row="9" column="2">
<item row="12" column="2">
<widget class="QComboBox" name="tuneBox"/>
</item>
<item row="2" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QSpinBox" name="PostProcLevel">
<property name="alignment">
<set>Qt::AlignRight</set>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>26</number>
</property>
<property name="value">
<number>6</number>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item row="2" column="0">
<widget class="QLabel" name="ppLabel">
<property name="minimumSize">
......@@ -163,13 +128,46 @@
</property>
</widget>
</item>
<item row="8" column="0">
<item row="8" column="0" colspan="3">
<widget class="QCheckBox" name="skipFrames">
<property name="text">
<string>Skip frames</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QSpinBox" name="PostProcLevel">
<property name="alignment">
<set>Qt::AlignRight</set>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>26</number>
</property>
<property name="value">
<number>6</number>
</property>
</widget>
</item>
<item row="10" column="0">
<widget class="QCheckBox" name="systemCodecBox">
<property name="text">
<string>Use system codecs if available (better quality, but dangerous)</string>
</property>
</widget>
</item>
<item row="11" column="0" colspan="3">
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
</layout>
</widget>
</item>
......@@ -353,7 +351,6 @@
<tabstop>live555TransportHTTPRadio</tabstop>
<tabstop>live555TransportRTSP_TCPRadio</tabstop>
<tabstop>cachingCombo</tabstop>
<tabstop>PostProcLevel</tabstop>
<tabstop>hwAccelBox</tabstop>
<tabstop>loopFilterBox</tabstop>
</tabstops>
......
......@@ -7,7 +7,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>820</width>
<width>816</width>
<height>626</height>
</rect>
</property>
......@@ -57,14 +57,14 @@
</property>
</widget>
</item>
<item row="5" column="1" colspan="2">
<item row="7" column="1" colspan="2">
<widget class="QComboBox" name="outputModule">
<property name="maxVisibleItems">
<number>15</number>
</property>
</widget>
</item>
<item row="5" column="0">
<item row="7" column="0">
<widget class="QLabel" name="voutLabel">
<property name="text">
<string>Output</string>
......@@ -84,17 +84,14 @@
</property>
</widget>
</item>
<item row="3" column="0" colspan="2">
<widget class="QCheckBox" name="skipFrames">
<item row="3" column="0">
<widget class="QCheckBox" name="hwYUVBox">
<property name="text">
<string>Skip frames</string>
</property>
<property name="checked">
<bool>true</bool>
<string>Use hardware YUV-&gt;RGB conversions</string>
</property>
</widget>
</item>
<item row="3" column="2">
<item row="2" column="2">
<widget class="QCheckBox" name="windowDecorations">
<property name="text">
<string>Window decorations</string>
......@@ -104,13 +101,6 @@
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QCheckBox" name="hwYUVBox">
<property name="text">
<string>Use hardware YUV-&gt;RGB conversions</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
......@@ -303,10 +293,14 @@
<tabstop>fullscreen</tabstop>
<tabstop>overlay</tabstop>
<tabstop>alwaysOnTop</tabstop>
<tabstop>skipFrames</tabstop>
<tabstop>windowDecorations</tabstop>
<tabstop>hwYUVBox</tabstop>
<tabstop>outputModule</tabstop>
<tabstop>wallpaperMode</tabstop>
<tabstop>dXdisplayDevice</tabstop>
<tabstop>deinterlaceBox</tabstop>
<tabstop>deinterlaceModeBox</tabstop>
<tabstop>arLine</tabstop>
<tabstop>snapshotsDirectory</tabstop>
<tabstop>snapshotsDirectoryBrowse</tabstop>
<tabstop>snapshotsPrefix</tabstop>
......
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