[med-svn] r20384 - trunk/packages/amide/trunk/debian/patches

Gert Wollny gert-guest at moszumanska.debian.org
Tue Nov 3 11:19:41 UTC 2015


Author: gert-guest
Date: 2015-11-03 11:19:40 +0000 (Tue, 03 Nov 2015)
New Revision: 20384

Added:
   trunk/packages/amide/trunk/debian/patches/ffmpeg_2.9.patch
Modified:
   trunk/packages/amide/trunk/debian/patches/series
Log:
Add patch to support ffmpeg 2.9

Added: trunk/packages/amide/trunk/debian/patches/ffmpeg_2.9.patch
===================================================================
--- trunk/packages/amide/trunk/debian/patches/ffmpeg_2.9.patch	                        (rev 0)
+++ trunk/packages/amide/trunk/debian/patches/ffmpeg_2.9.patch	2015-11-03 11:19:40 UTC (rev 20384)
@@ -0,0 +1,15 @@
+Description: Replace deprecated FFmpeg API
+Author: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
+Last-Update: <2015-11-02>
+
+--- amide-1.0.5.orig/src/mpeg_encode.c
++++ amide-1.0.5/src/mpeg_encode.c
+@@ -301,7 +301,7 @@ gpointer mpeg_encode_setup(gchar * outpu
+   encode->context->time_base= (AVRational){1,FRAMES_PER_SECOND};
+   encode->context->gop_size = 10; /* emit one intra frame every ten frames */
+   encode->context->max_b_frames=10;
+-  encode->context->pix_fmt = PIX_FMT_YUV420P;
++  encode->context->pix_fmt = AV_PIX_FMT_YUV420P;
+ 
+   /* encoding parameters */
+   encode->context->sample_aspect_ratio= (AVRational){1,1}; /* our pixels are square */

Modified: trunk/packages/amide/trunk/debian/patches/series
===================================================================
--- trunk/packages/amide/trunk/debian/patches/series	2015-11-02 17:39:12 UTC (rev 20383)
+++ trunk/packages/amide/trunk/debian/patches/series	2015-11-03 11:19:40 UTC (rev 20384)
@@ -2,3 +2,4 @@
 10_Makefile.am.patch
 10_desktop.in.patch
 libav10.patch
+ffmpeg_2.9.patch




More information about the debian-med-commit mailing list