[vlc-devel] commit: SPrefs: Add "Use hardware YUV->RGB conversion" since nVidia drivers are broken. (Jean-Baptiste Kempf )
git version control
git at videolan.org
Fri Sep 19 04:09:13 CEST 2008
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Sep 18 19:10:53 2008 -0700| [b545e479ca5bad8fbde534a534dfe22cdfa80e3f] | committer: Jean-Baptiste Kempf
SPrefs: Add "Use hardware YUV->RGB conversion" since nVidia drivers are broken.
As reported by TheFluff and various forum users.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b545e479ca5bad8fbde534a534dfe22cdfa80e3f
---
modules/gui/qt4/components/simple_preferences.cpp | 2 ++
modules/gui/qt4/ui/sprefs_video.ui | 11 +++++++++--
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index 64a59cd..97a757a 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 211f903..acaf483 100644
--- a/modules/gui/qt4/ui/sprefs_video.ui
+++ b/modules/gui/qt4/ui/sprefs_video.ui
@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>408</width>
- <height>513</height>
+ <width>482</width>
+ <height>516</height>
</rect>
</property>
<property name="windowTitle" >
@@ -99,6 +99,13 @@
</property>
</widget>
</item>
+ <item row="2" column="2" >
+ <widget class="QCheckBox" name="hwYUVBox" >
+ <property name="text" >
+ <string>_("Use hardware YUV->RGB conversions")</string>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
</item>
More information about the vlc-devel
mailing list