Patch intel 2.7 xv
Ambrus Szabo
szambusz at gmail.com
Fri Sep 30 16:15:23 UTC 2011
Hello,
Patch to fix:
Some avi video crash with intel vga and (mplayer) xv driver.
---
Ambrus Szabo
-------------- next part --------------
--- ../../../i830_video.c 2011-09-30 17:32:38.000000000 +0200
+++ i830_video.c 2011-09-30 17:32:54.000000000 +0200
@@ -1394,7 +1394,7 @@
switch (pPriv->rotation) {
case RR_Rotate_0:
- if ((srcPitch == dstPitch2) && (srcPitch == w))
+ if (srcPitch == dstPitch2)
memcpy (dst1, src1, srcPitch * h);
else
for (i = 0; i < h; i++) {
@@ -1452,7 +1452,7 @@
switch (pPriv->rotation) {
case RR_Rotate_0:
- if ((srcPitch == dstPitch2) && (srcPitch == (w / 2)))
+ if (srcPitch2 == dstPitch)
memcpy (dst2, src2, h/2 * srcPitch2);
else
for (i = 0; i < h / 2; i++) {
@@ -1511,7 +1511,7 @@
switch (pPriv->rotation) {
case RR_Rotate_0:
- if ((srcPitch == dstPitch2) && (srcPitch == (w / 2)))
+ if (srcPitch2 == dstPitch)
memcpy (dst3, src3, srcPitch2 * h/2);
else
for (i = 0; i < h / 2; i++) {
More information about the freebsd-x11
mailing list