Commit 586de2de authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: sprefs, add MKV preloading

So anime folks don't jump on my throat again...
parent 8b8dfe1f
...@@ -482,6 +482,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, ...@@ -482,6 +482,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
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-profile", StringList, ui.x264profileLabel, profileBox );
CONFIG_GENERIC( "sout-x264-level", String, ui.x264profileLabel, levelBox ); CONFIG_GENERIC( "sout-x264-level", String, ui.x264profileLabel, levelBox );
CONFIG_BOOL( "mkv-preload-local-dir", mkvPreloadBox );
/* Caching */ /* Caching */
/* Add the things to the ComboBox */ /* Add the things to the ComboBox */
......
...@@ -250,7 +250,7 @@ ...@@ -250,7 +250,7 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="3" column="0"> <item row="4" column="0">
<widget class="QLabel" name="aviLabel"> <widget class="QLabel" name="aviLabel">
<property name="text"> <property name="text">
<string>Damaged or incomplete AVI file</string> <string>Damaged or incomplete AVI file</string>
...@@ -260,7 +260,7 @@ ...@@ -260,7 +260,7 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="1"> <item row="4" column="1">
<widget class="QComboBox" name="AviRepair"/> <widget class="QComboBox" name="AviRepair"/>
</item> </item>
<item row="2" column="0" colspan="2"> <item row="2" column="0" colspan="2">
...@@ -270,6 +270,13 @@ ...@@ -270,6 +270,13 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="0" colspan="2">
<widget class="QCheckBox" name="mkvPreloadBox">
<property name="text">
<string>Preload MKV files in the same directory</string>
</property>
</widget>
</item>
</layout> </layout>
</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