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

Qt4 - Simple Prefs: add a Prefer System Codecs checkBox in Simple Preferences Panel under Windows.

parent f567b195
...@@ -247,7 +247,11 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, ...@@ -247,7 +247,11 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONFIG_GENERIC_NO_BOOL( "ffmpeg-pp-q", Integer, NULL, PostProcLevel ); CONFIG_GENERIC_NO_BOOL( "ffmpeg-pp-q", Integer, NULL, PostProcLevel );
CONFIG_GENERIC( "avi-index", IntegerList, NULL, AviRepair ); CONFIG_GENERIC( "avi-index", IntegerList, NULL, AviRepair );
CONFIG_GENERIC( "rtsp-tcp", Bool, NULL, RTSP_TCPBox ); CONFIG_GENERIC( "rtsp-tcp", Bool, NULL, RTSP_TCPBox );
#ifdef WIN32
CONFIG_GENERIC( "prefer-system-codecs", Bool, NULL, systemCodecBox );
#else
ui.systemCodecBox->hide();
#endif
CONFIG_GENERIC( "timeshift-force", Bool, NULL, timeshiftBox ); CONFIG_GENERIC( "timeshift-force", Bool, NULL, timeshiftBox );
CONFIG_GENERIC( "dump-force", Bool, NULL, DumpBox ); CONFIG_GENERIC( "dump-force", Bool, NULL, DumpBox );
// CONFIG_GENERIC( "", Bool, NULL, RecordBox ); //FIXME activate record // CONFIG_GENERIC( "", Bool, NULL, RecordBox ); //FIXME activate record
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>422</width> <width>422</width>
<height>437</height> <height>478</height>
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle" >
...@@ -132,17 +132,10 @@ ...@@ -132,17 +132,10 @@
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<item row="2" column="0" > <item row="0" column="0" >
<widget class="QCheckBox" name="RTSP_TCPBox" > <widget class="QLabel" name="label_5" >
<property name="text" >
<string>Use RTP over RTSP (TCP)</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_6" >
<property name="text" > <property name="text" >
<string>Repair AVI files</string> <string>Post-Processing Quality</string>
</property> </property>
</widget> </widget>
</item> </item>
...@@ -162,13 +155,27 @@ ...@@ -162,13 +155,27 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0" >
<widget class="QLabel" name="label_6" >
<property name="text" >
<string>Repair AVI files</string>
</property>
</widget>
</item>
<item row="1" column="1" > <item row="1" column="1" >
<widget class="QComboBox" name="AviRepair" /> <widget class="QComboBox" name="AviRepair" />
</item> </item>
<item row="0" column="0" > <item row="3" column="0" colspan="2" >
<widget class="QLabel" name="label_5" > <widget class="QCheckBox" name="systemCodecBox" >
<property name="text" > <property name="text" >
<string>Post-Processing Quality</string> <string>Use system codecs if available (better quality)</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2" >
<widget class="QCheckBox" name="RTSP_TCPBox" >
<property name="text" >
<string>Use RTP over RTSP (TCP)</string>
</property> </property>
</widget> </widget>
</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