From: Jean-Baptiste Kempf Date: Mon, 30 Apr 2007 17:42:21 +0000 (+0000) Subject: Qt4 - Simple Prefs: add a Prefer System Codecs checkBox in Simple Preferences Panel... X-Git-Tag: 0.9.0-test0~7565 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=cd0a847ef1b9e916d2bd5d49c0521896546a2a1a;p=vlc Qt4 - Simple Prefs: add a Prefer System Codecs checkBox in Simple Preferences Panel under Windows. --- diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp index 8e306c91a1..58f007c074 100644 --- a/modules/gui/qt4/components/simple_preferences.cpp +++ b/modules/gui/qt4/components/simple_preferences.cpp @@ -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( "avi-index", IntegerList, NULL, AviRepair ); 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( "dump-force", Bool, NULL, DumpBox ); // CONFIG_GENERIC( "", Bool, NULL, RecordBox ); //FIXME activate record diff --git a/modules/gui/qt4/ui/sprefs_input.ui b/modules/gui/qt4/ui/sprefs_input.ui index b0756eb5dd..a60c4ac3cc 100644 --- a/modules/gui/qt4/ui/sprefs_input.ui +++ b/modules/gui/qt4/ui/sprefs_input.ui @@ -7,7 +7,7 @@ 0 0 422 - 437 + 478 @@ -132,17 +132,10 @@ 6 - - - - Use RTP over RTSP (TCP) - - - - - + + - Repair AVI files + Post-Processing Quality @@ -162,13 +155,27 @@ + + + + Repair AVI files + + + - - + + - Post-Processing Quality + Use system codecs if available (better quality) + + + + + + + Use RTP over RTSP (TCP)