[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:11:43 CEST 2008
vlc | branch: 0.9-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Thu Sep 18 19:10:53 2008 -0700| [ad23b037f2da99405b548e882f3b6d69672c0277] | committer: Jean-Baptiste Kempf
SPrefs: Add "Use hardware YUV->RGB conversion" since nVidia drivers are broken.
As reported by TheFluff and various forum users.
(cherry picked from commit b545e479ca5bad8fbde534a534dfe22cdfa80e3f)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ad23b037f2da99405b548e882f3b6d69672c0277
---
NEWS | 1 +
modules/gui/qt4/components/simple_preferences.cpp | 2 ++
modules/gui/qt4/ui/sprefs_video.ui | 11 +++++++++--
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/NEWS b/NEWS
index 73e22c3..6f3a631 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,7 @@ Changes between 0.9.2 and 0.9.3-git:
* Multiple subtitles and podcast fixes
* Fix bug in directory opening on Mac OS X
* Fix lost playlist columns when switching the playlist view
+ * Add necessary options to Simple preferences (to avoid NVIDIA drivers issues)
Changes between 0.9.1 and 0.9.2:
--------------------------------
diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index 2ff2af8..846e8d3 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