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,
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,
......
......@@ -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>
......
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