summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-09-22 05:22:05 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-09-22 05:22:05 +0000
commit4c9f078d3562dccfb81f75877d2b803a6deab97e (patch)
tree2875620a64ae4e76790e7cacd6a3b5dcb7b9ea19 /media-plugins/vdr-graphtft/files
parentadding new fio with permission from Robin (diff)
downloadhistorical-4c9f078d3562dccfb81f75877d2b803a6deab97e.tar.gz
historical-4c9f078d3562dccfb81f75877d2b803a6deab97e.tar.bz2
historical-4c9f078d3562dccfb81f75877d2b803a6deab97e.zip
fix build with latest ffmpeg, bug #278947
Package-Manager: portage-2.2_rc41/cvs/Linux x86_64
Diffstat (limited to 'media-plugins/vdr-graphtft/files')
-rw-r--r--media-plugins/vdr-graphtft/files/vdr-graphtft-0.2.2-avutil50.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/media-plugins/vdr-graphtft/files/vdr-graphtft-0.2.2-avutil50.patch b/media-plugins/vdr-graphtft/files/vdr-graphtft-0.2.2-avutil50.patch
new file mode 100644
index 000000000000..dfec5ab3aee4
--- /dev/null
+++ b/media-plugins/vdr-graphtft/files/vdr-graphtft-0.2.2-avutil50.patch
@@ -0,0 +1,31 @@
+Index: graphtft-0.2.2/imlibrenderer/dvbrenderer/mpeg2encoder.c
+===================================================================
+--- graphtft-0.2.2.orig/imlibrenderer/dvbrenderer/mpeg2encoder.c
++++ graphtft-0.2.2/imlibrenderer/dvbrenderer/mpeg2encoder.c
+@@ -126,11 +126,11 @@ mpeg_frame mpeg_draw(UINT8* buf)
+ int i;
+ AVPicture avpsrc;
+
+- avpicture_fill(&avpsrc, buf, PIX_FMT_RGBA32, width, height);
++ avpicture_fill(&avpsrc, buf, PIX_FMT_RGB32, width, height);
+
+ #ifndef HAVE_SWSCALE
+
+- img_convert(&pic, PIX_FMT_YUV420P, &avpsrc, PIX_FMT_RGBA32, width, height);
++ img_convert(&pic, PIX_FMT_YUV420P, &avpsrc, PIX_FMT_RGB32, width, height);
+
+ #else
+
+Index: graphtft-0.2.2/imlibrenderer/fbrenderer/fbrenderer.c
+===================================================================
+--- graphtft-0.2.2.orig/imlibrenderer/fbrenderer/fbrenderer.c
++++ graphtft-0.2.2/imlibrenderer/fbrenderer/fbrenderer.c
+@@ -192,7 +192,7 @@ int FbRenderer::init(int devnum)
+
+ switch (fb_vinfo.bits_per_pixel)
+ {
+- case 32: tell(4, "fbdevout.c: using 32 bit depth"); fb_type = PIX_FMT_RGBA32; break;
++ case 32: tell(4, "fbdevout.c: using 32 bit depth"); fb_type = PIX_FMT_RGB32; break;
+ case 24: tell(4, "fbdevout.c: using 24 bit depth"); fb_type = PIX_FMT_RGB24; break;
+ case 16: tell(4, "fbdevout.c: using 16 bit depth"); fb_type = PIX_FMT_RGB565; break;
+ default: tell(4, "fbdevout.c: color depth not supported -> %i bits per pixel",