]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/simple_preferences.cpp
Qt4 - Simple Prefs: add a Prefer System Codecs checkBox in Simple Preferences Panel...
[vlc] / modules / gui / qt4 / components / simple_preferences.cpp
index 8e306c91a1c41996843a88e9bcf931da4cbff46c..58f007c0747ede2ec82e748e722477c3c8d88955 100644 (file)
@@ -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