xbmc-dharma: add initially patch to fix vdpau segfault on exit/reboot

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-12-10 17:21:33 +01:00
parent 5f114cb87b
commit 9d28bbc3ba

View File

@ -0,0 +1,14 @@
diff -Naur xbmc-dharma-35611/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp xbmc-dharma-35611.patch/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp
--- xbmc-dharma-35611/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp 2010-12-10 14:45:40.000000000 +0100
+++ xbmc-dharma-35611.patch/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp 2010-12-10 16:15:52.642486771 +0100
@@ -662,7 +662,9 @@
if (dl_vdp_device_create_x11)
{
CSingleLock lock(g_graphicsContext);
- m_Display = g_Windowing.GetDisplay();
+ //m_Display = g_Windowing.GetDisplay();
+ m_Display = XOpenDisplay(NULL);
+
}
int mScreen = DefaultScreen(m_Display);