Commit 4efcb188 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: add the hw-accel to simple preferences

parent b02915bd
...@@ -429,8 +429,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, ...@@ -429,8 +429,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONFIG_GENERIC( "prefer-system-codecs", Bool, NULL, systemCodecBox ); CONFIG_GENERIC( "prefer-system-codecs", Bool, NULL, systemCodecBox );
#else #else
ui.systemCodecBox->hide(); ui.systemCodecBox->hide();
ui.systemCodecLabel->hide();
#endif #endif
CONFIG_GENERIC( "ffmpeg-hw", Bool, NULL, hwAccelBox );
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 );
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>687</width> <width>687</width>
<height>489</height> <height>548</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
...@@ -227,22 +227,6 @@ ...@@ -227,22 +227,6 @@
<string>Codecs</string> <string>Codecs</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="2" column="0">
<widget class="QLabel" name="ppLabel">
<property name="minimumSize">
<size>
<width>250</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Video quality post-processing level</string>
</property>
<property name="buddy">
<cstring>PostProcLevel</cstring>
</property>
</widget>
</item>
<item row="7" column="0"> <item row="7" column="0">
<widget class="QLabel" name="filterLabel"> <widget class="QLabel" name="filterLabel">
<property name="text"> <property name="text">
...@@ -289,17 +273,33 @@ ...@@ -289,17 +273,33 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="1" column="0"> <item row="2" column="0">
<widget class="QLabel" name="systemCodecLabel"> <widget class="QLabel" name="ppLabel">
<property name="minimumSize">
<size>
<width>250</width>
<height>0</height>
</size>
</property>
<property name="text"> <property name="text">
<string>System codecs (better quality)</string> <string>Video quality post-processing level</string>
</property>
<property name="buddy">
<cstring>PostProcLevel</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="1"> <item row="3" column="0">
<widget class="QCheckBox" name="hwAccelBox">
<property name="text">
<string>Use GPU acceleration (experimental)</string>
</property>
</widget>
</item>
<item row="4" column="0" colspan="2">
<widget class="QCheckBox" name="systemCodecBox"> <widget class="QCheckBox" name="systemCodecBox">
<property name="text"> <property name="text">
<string>Use host codecs if available</string> <string>Use system codecs if available (better quality, but dangerous)</string>
</property> </property>
</widget> </widget>
</item> </item>
...@@ -317,7 +317,6 @@ ...@@ -317,7 +317,6 @@
<tabstop>PostProcLevel</tabstop> <tabstop>PostProcLevel</tabstop>
<tabstop>AviRepair</tabstop> <tabstop>AviRepair</tabstop>
<tabstop>live555TransportRTSP_TCPRadio</tabstop> <tabstop>live555TransportRTSP_TCPRadio</tabstop>
<tabstop>systemCodecBox</tabstop>
</tabstops> </tabstops>
<resources/> <resources/>
<connections/> <connections/>
......
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