blob: 660e6fdcedfedd47eb1d9f3ad1793342f82abd18 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
diff -ru --exclude=CVS softdevice-0.3.0/CHANGELOG softdevice-cvs/CHANGELOG
--- softdevice-0.3.0/CHANGELOG 2006-10-09 00:28:53.000000000 +0200
+++ softdevice-cvs/CHANGELOG 2006-10-11 12:22:23.000000000 +0200
@@ -1,4 +1,8 @@
Changelog
+2006-10-10:
+ - fix segfaults when YUY2 pixelformat is used for xv-out and cut lines
+ from top is non zero. This fixes wrong colors and misplaced OSD drawing
+ too, when cut colums from left is non zero.
2006-10-09: softdevice-0.3.0
2006-10-03:
- fix hang after long pause.
Nur in softdevice-cvs: .cvsignore.
diff -ru --exclude=CVS softdevice-0.3.0/PicBuffer.c softdevice-cvs/PicBuffer.c
--- softdevice-0.3.0/PicBuffer.c 2006-10-01 14:08:05.000000000 +0200
+++ softdevice-cvs/PicBuffer.c 2006-10-11 12:22:23.000000000 +0200
@@ -326,7 +326,10 @@
int dstStride=dst->stride[0];
int lumStride=src->stride[0];
int chromStride=src->stride[1];
-
+
+ height -= 2 * (cutTop + cutBottom);
+ width -= 2 * (cutLeft + cutRight);
+
if (src->interlaced_frame) {
for(int y=height/4; y--; ) {
/* ---------------------------------------------
@@ -492,6 +495,9 @@
int lumStride=src->stride[0];
int chromStride=src->stride[1];
+ height -= 2 * (cutTop + cutBottom);
+ width -= 2 * (cutLeft + cutRight);
+
if (src->interlaced_frame) {
for(int y=height/4; y--; ) {
/* ---------------------------------------------
|