From: Jean-Baptiste Kempf Date: Fri, 19 Sep 2008 02:10:53 +0000 (-0700) Subject: SPrefs: Add "Use hardware YUV->RGB conversion" since nVidia drivers are broken. X-Git-Tag: 1.0.0-pre1~3132 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=b545e479ca5bad8fbde534a534dfe22cdfa80e3f;p=vlc SPrefs: Add "Use hardware YUV->RGB conversion" since nVidia drivers are broken. As reported by TheFluff and various forum users. --- diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp index 64a59cd9c1..97a757a92a 100644 --- a/modules/gui/qt4/components/simple_preferences.cpp +++ b/modules/gui/qt4/components/simple_preferences.cpp @@ -193,8 +193,10 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, CONFIG_GENERIC( "directx-wallpaper" , Bool , NULL, wallpaperMode ); CONFIG_GENERIC( "directx-device", StringList, NULL, dXdisplayDevice ); + CONFIG_GENERIC( "directx-hw-yuv", Bool, NULL, hwYUVBox ); #else ui.directXBox->setVisible( false ); + ui.hwYUVBox->setVisible( false ); #endif CONFIG_GENERIC_FILE( "snapshot-path", Directory, NULL, diff --git a/modules/gui/qt4/ui/sprefs_video.ui b/modules/gui/qt4/ui/sprefs_video.ui index 211f903a27..acaf48372a 100644 --- a/modules/gui/qt4/ui/sprefs_video.ui +++ b/modules/gui/qt4/ui/sprefs_video.ui @@ -6,8 +6,8 @@ 0 0 - 408 - 513 + 482 + 516 @@ -99,6 +99,13 @@ + + + + _("Use hardware YUV->RGB conversions") + + +