Merge pull request #1342 from vpeter4/system

libvdpau: fix for blue faces in flash video with opera addon
This commit is contained in:
Stephan Raue 2012-10-15 03:46:56 -07:00
commit 6470f8219d

View File

@ -0,0 +1,12 @@
diff -uNr libvdpau-0.5-orig/src/vdpau_wrapper.c libvdpau-0.5/src/vdpau_wrapper.c
--- libvdpau-0.5-orig/src/vdpau_wrapper.c 2012-09-04 19:26:33.000000000 +0200
+++ libvdpau-0.5/src/vdpau_wrapper.c 2012-10-14 17:05:52.000000000 +0200
@@ -320,7 +320,7 @@
}
buffer[ret] = '\0';
- if (strstr(buffer, "libflashplayer") != NULL) {
+ if (strstr(buffer, "libflashplayer") != NULL || strstr(buffer, "operapluginwrapper") != NULL) {
_running_under_flash = 1;
}
}