Commit b545e479 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

SPrefs: Add "Use hardware YUV->RGB conversion" since nVidia drivers are broken.

As reported by TheFluff and various forum users.
parent 4d69eb73
...@@ -193,8 +193,10 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, ...@@ -193,8 +193,10 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONFIG_GENERIC( "directx-wallpaper" , Bool , NULL, wallpaperMode ); CONFIG_GENERIC( "directx-wallpaper" , Bool , NULL, wallpaperMode );
CONFIG_GENERIC( "directx-device", StringList, NULL, CONFIG_GENERIC( "directx-device", StringList, NULL,
dXdisplayDevice ); dXdisplayDevice );
CONFIG_GENERIC( "directx-hw-yuv", Bool, NULL, hwYUVBox );
#else #else
ui.directXBox->setVisible( false ); ui.directXBox->setVisible( false );
ui.hwYUVBox->setVisible( false );
#endif #endif
CONFIG_GENERIC_FILE( "snapshot-path", Directory, NULL, CONFIG_GENERIC_FILE( "snapshot-path", Directory, NULL,
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>408</width> <width>482</width>
<height>513</height> <height>516</height>
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle" >
...@@ -99,6 +99,13 @@ ...@@ -99,6 +99,13 @@
</property> </property>
</widget> </widget>
</item> </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> </layout>
</widget> </widget>
</item> </item>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment