diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2008-12-12 12:05:29 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2008-12-12 12:05:29 +0000 |
commit | 89cba614f3a440c125097337b89230b28ea1ccec (patch) | |
tree | bafd219a8648f66841bade291386088c1db9645f /media-plugins/gst-plugins-ffmpeg/files | |
parent | Removing nemesi and fenice, masked since 05 Jan 2008 for security issues. The... (diff) | |
download | gentoo-2-89cba614f3a440c125097337b89230b28ea1ccec.tar.gz gentoo-2-89cba614f3a440c125097337b89230b28ea1ccec.tar.bz2 gentoo-2-89cba614f3a440c125097337b89230b28ea1ccec.zip |
old
(Portage version: 2.1.6/cvs/Linux 2.6.27.7 i686)
Diffstat (limited to 'media-plugins/gst-plugins-ffmpeg/files')
5 files changed, 0 insertions, 226 deletions
diff --git a/media-plugins/gst-plugins-ffmpeg/files/0.10.4/01_new-codec-ids.patch b/media-plugins/gst-plugins-ffmpeg/files/0.10.4/01_new-codec-ids.patch deleted file mode 100644 index ee7d45b5cb8c..000000000000 --- a/media-plugins/gst-plugins-ffmpeg/files/0.10.4/01_new-codec-ids.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- ext/ffmpeg/gstffmpegcodecmap.c.old 2008-05-12 17:24:59.000000000 +0200 -+++ ext/ffmpeg/gstffmpegcodecmap.c 2008-05-12 17:26:20.000000000 +0200 -@@ -1051,6 +1051,9 @@ - "samplesize", G_TYPE_INT, context->bits_per_sample, NULL); - } - break; -+ case CODEC_ID_VORBIS: -+ caps = gst_ff_aud_caps_new (context, codec_id, "audio/x-vorbis", NULL); -+ break; - default: - g_warning ("Unknown codec ID %d, please add here", codec_id); - break; diff --git a/media-plugins/gst-plugins-ffmpeg/files/0.10.4/02_av_picture_copy.patch b/media-plugins/gst-plugins-ffmpeg/files/0.10.4/02_av_picture_copy.patch deleted file mode 100644 index 2028eed2cb9e..000000000000 --- a/media-plugins/gst-plugins-ffmpeg/files/0.10.4/02_av_picture_copy.patch +++ /dev/null @@ -1,97 +0,0 @@ -diff -up gst-ffmpeg-0.10.4/ext/ffmpeg/gstffmpegcodecmap.c~ gst-ffmpeg-0.10.4/ext/ffmpeg/gstffmpegcodecmap.c ---- gst-ffmpeg-0.10.4/ext/ffmpeg/gstffmpegcodecmap.c~ 2008-05-22 20:18:14.000000000 +0200 -+++ gst-ffmpeg-0.10.4/ext/ffmpeg/gstffmpegcodecmap.c 2008-05-22 20:18:14.000000000 +0200 -@@ -3287,29 +3287,3 @@ gst_ffmpeg_avpicture_fill (AVPicture * p - - return 0; - } -- --/** -- * Convert image 'src' to 'dst'. -- * -- * We use this code to copy two pictures between the same -- * colorspaces, so this function is not realy used to do -- * colorspace conversion. -- * The ffmpeg code has a bug in it where odd sized frames were -- * not copied completely. We adjust the input parameters for -- * the original ffmpeg img_convert function here so that it -- * still does the right thing. -- */ --int --gst_ffmpeg_img_convert (AVPicture * dst, int dst_pix_fmt, -- const AVPicture * src, int src_pix_fmt, int src_width, int src_height) --{ -- struct SwsContext *ctx; -- int res; -- -- ctx = sws_getContext (src_width, src_height, src_pix_fmt, src_width, src_height, dst_pix_fmt, 2, /* flags : bicubic */ -- NULL, NULL, NULL); -- res = sws_scale (ctx, (uint8_t **) src->data, (int *) src->linesize, -- 2, src_width, dst->data, dst->linesize); -- sws_freeContext (ctx); -- return res; --} -diff -up gst-ffmpeg-0.10.4/ext/ffmpeg/gstffmpegcodecmap.h~ gst-ffmpeg-0.10.4/ext/ffmpeg/gstffmpegcodecmap.h ---- gst-ffmpeg-0.10.4/ext/ffmpeg/gstffmpegcodecmap.h~ 2008-05-22 20:17:56.000000000 +0200 -+++ gst-ffmpeg-0.10.4/ext/ffmpeg/gstffmpegcodecmap.h 2008-05-22 20:17:56.000000000 +0200 -@@ -125,15 +125,6 @@ gst_ffmpeg_avpicture_fill (AVPicture * p - int height); - - /* -- * convert an image, we only use this for copying the image, ie, -- * convert between the same colorspaces. -- */ --int --gst_ffmpeg_img_convert (AVPicture * dst, int dst_pix_fmt, -- const AVPicture * src, int src_pix_fmt, -- int src_width, int src_height); -- --/* - * Convert from/to a GStreamer <-> FFMpeg timestamp. - */ - static inline guint64 -diff -up gst-ffmpeg-0.10.4/ext/ffmpeg/gstffmpegdec.c~ gst-ffmpeg-0.10.4/ext/ffmpeg/gstffmpegdec.c ---- gst-ffmpeg-0.10.4/ext/ffmpeg/gstffmpegdec.c~ 2008-05-22 20:27:02.000000000 +0200 -+++ gst-ffmpeg-0.10.4/ext/ffmpeg/gstffmpegdec.c 2008-05-22 20:27:02.000000000 +0200 -@@ -1342,11 +1342,7 @@ get_output_buffer (GstFFMpegDec * ffmpeg - gst_ffmpeg_avpicture_fill (&pic, GST_BUFFER_DATA (*outbuf), - ffmpegdec->context->pix_fmt, width, height); - -- /* the original convert function did not do the right thing, this -- * is a patched up version that adjust widht/height so that the -- * ffmpeg one works correctly. */ -- gst_ffmpeg_img_convert (&pic, ffmpegdec->context->pix_fmt, -- (AVPicture *) ffmpegdec->picture, -+ av_picture_copy(&pic, (AVPicture *) ffmpegdec->picture, - ffmpegdec->context->pix_fmt, width, height); - } - ffmpegdec->picture->pts = -1; -diff -up gst-ffmpeg-0.10.4/ext/ffmpeg/gstffmpegdemux.c~ gst-ffmpeg-0.10.4/ext/ffmpeg/gstffmpegdemux.c ---- gst-ffmpeg-0.10.4/ext/ffmpeg/gstffmpegdemux.c~ 2008-05-22 20:27:18.000000000 +0200 -+++ gst-ffmpeg-0.10.4/ext/ffmpeg/gstffmpegdemux.c 2008-05-22 20:27:18.000000000 +0200 -@@ -1268,9 +1268,8 @@ gst_ffmpegdemux_loop (GstPad * pad) - avstream->codec->pix_fmt, avstream->codec->width, - avstream->codec->height); - -- gst_ffmpeg_img_convert (&dst, avstream->codec->pix_fmt, -- &src, avstream->codec->pix_fmt, avstream->codec->width, -- avstream->codec->height); -+ av_picture_copy (&dst, &src, avstream->codec->pix_fmt, -+ avstream->codec->width, avstream->codec->height); - } else { - memcpy (GST_BUFFER_DATA (outbuf), pkt.data, outsize); - } -diff -up gst-ffmpeg-0.10.4/ext/ffmpeg/gstffmpegmux.c~ gst-ffmpeg-0.10.4/ext/ffmpeg/gstffmpegmux.c ---- gst-ffmpeg-0.10.4/ext/ffmpeg/gstffmpegmux.c~ 2008-05-22 20:27:17.000000000 +0200 -+++ gst-ffmpeg-0.10.4/ext/ffmpeg/gstffmpegmux.c 2008-05-22 20:27:17.000000000 +0200 -@@ -554,8 +554,8 @@ gst_ffmpegmux_collected (GstCollectPads - gst_ffmpeg_avpicture_fill (&src, GST_BUFFER_DATA (buf), - PIX_FMT_RGB24, st->codec->width, st->codec->height); - -- gst_ffmpeg_img_convert (&dst, PIX_FMT_RGB24, -- &src, PIX_FMT_RGB24, st->codec->width, st->codec->height); -+ av_picture_copy(&dst, &src, PIX_FMT_RGB24, -+ st->codec->width, st->codec->height); - } else { - pkt.data = GST_BUFFER_DATA (buf); - pkt.size = GST_BUFFER_SIZE (buf); diff --git a/media-plugins/gst-plugins-ffmpeg/files/0.10.4/03_disable-aac.patch b/media-plugins/gst-plugins-ffmpeg/files/0.10.4/03_disable-aac.patch deleted file mode 100644 index 8b71092998c9..000000000000 --- a/media-plugins/gst-plugins-ffmpeg/files/0.10.4/03_disable-aac.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- ext/ffmpeg/gstffmpegdec.c.old 2008-05-23 11:45:42.000000000 +0200 -+++ ext/ffmpeg/gstffmpegdec.c 2008-05-23 11:48:52.000000000 +0200 -@@ -2456,7 +2456,9 @@ - !strcmp (in_plugin->name, "vorbis") || - !strcmp (in_plugin->name, "mpeg1video") || - !strcmp (in_plugin->name, "wavpack") || -- !strcmp (in_plugin->name, "mp2")) { -+ !strcmp (in_plugin->name, "mp2") || -+ !strcmp (in_plugin->name, "libfaad") || -+ !strcmp (in_plugin->name, "mpeg4aac")) { - GST_LOG ("Ignoring decoder %s", in_plugin->name); - goto next; - } diff --git a/media-plugins/gst-plugins-ffmpeg/files/0.10.4/04_disable-mpegts.patch b/media-plugins/gst-plugins-ffmpeg/files/0.10.4/04_disable-mpegts.patch deleted file mode 100644 index ac8eaf14c300..000000000000 --- a/media-plugins/gst-plugins-ffmpeg/files/0.10.4/04_disable-mpegts.patch +++ /dev/null @@ -1,33 +0,0 @@ -Index: gstffmpegdemux.c -=================================================================== -RCS file: /cvs/gstreamer/gst-ffmpeg/ext/ffmpeg/gstffmpegdemux.c,v -retrieving revision 1.90 -diff -u -p -r1.90 gstffmpegdemux.c ---- ext/ffmpeg/gstffmpegdemux.c 13 May 2008 15:07:25 -0000 1.90 -+++ ext/ffmpeg/gstffmpegdemux.c 18 May 2008 14:33:02 -0000 -@@ -1142,10 +1142,14 @@ gst_ffmpegdemux_type_find (GstTypeFind * - res = MAX (1, res * GST_TYPE_FIND_MAXIMUM / AVPROBE_SCORE_MAX); - /* Restrict the probability for MPEG-TS streams, because there is - * probably a better version in plugins-base, if the user has a recent -- * plugins-base */ -- if (!strcmp (in_plugin->name, "mpegts")) -+ * plugins-base (in fact we shouldn't even get here for ffmpeg mpegts or -+ * mpegtsraw typefinders, since we blacklist them) */ -+ if (g_str_has_prefix (in_plugin->name, "mpegts")) - res = MIN (res, GST_TYPE_FIND_POSSIBLE); - -+ GST_LOG ("ffmpeg typefinder '%s' suggests %" GST_PTR_FORMAT ", p=%u%%", -+ in_plugin->name, params->sinkcaps, res); -+ - gst_type_find_suggest (tf, res, params->sinkcaps); - } - } -@@ -1552,6 +1556,7 @@ gst_ffmpegdemux_register (GstPlugin * pl - !strcmp (in_plugin->name, "mpc") || - !strcmp (in_plugin->name, "mpc8") || - !strcmp (in_plugin->name, "mpegts") || -+ !strcmp (in_plugin->name, "mpegtsraw") || - !strcmp (in_plugin->name, "nuv") || - !strcmp (in_plugin->name, "swf") || - !strcmp (in_plugin->name, "voc") || !strcmp (in_plugin->name, "gif")) - diff --git a/media-plugins/gst-plugins-ffmpeg/files/0.10.4/system-ffmpeg-warning.patch b/media-plugins/gst-plugins-ffmpeg/files/0.10.4/system-ffmpeg-warning.patch deleted file mode 100644 index 0a0ec05811fb..000000000000 --- a/media-plugins/gst-plugins-ffmpeg/files/0.10.4/system-ffmpeg-warning.patch +++ /dev/null @@ -1,71 +0,0 @@ ---- configure.old 2008-06-25 22:04:10.000000000 +0200 -+++ configure 2008-06-25 22:04:44.000000000 +0200 -@@ -25559,68 +25559,11 @@ - _ACEOF - - HAVE_FFMPEG_UNINSTALLED=0 - { echo "$as_me:$LINENO: Using system-installed FFMpeg code" >&5 - echo "$as_me: Using system-installed FFMpeg code" >&6;} -- { echo "$as_me:$LINENO: WARNING: -- ====================================================================== -- WARNING: you have chosen to build gst-ffmpeg against a random -- external version of ffmpeg instead of building it against the tested -- internal ffmpeg snapshot that is included with gst-ffmpeg. -- -- This is a very bad idea. So bad in fact that words cannot express -- just how bad it is. Suffice to say that it is BAD. -- -- The GStreamer developers cannot and will not support a gst-ffmpeg -- built this way. Any bug reports that indicate there is an external -- version of ffmpeg involved will be closed immediately without further -- investigation. -- -- The reason such a setup can't be supported is that the ffmpeg API -- and ABI is in constant flux, yet there aren't any official releases -- of the ffmpeg library to develop against. This makes it impossible -- to guarantee that gst-ffmpeg will work reliably, or even compile, -- with a randomly picked version ffmpeg. Even if gst-ffmpeg compiles -- and superficially appears to work fine against your chosen external -- ffmpeg version, that might just not be the case on other systems, or -- even the same system at a later time, or when using decoders, -- encoders, demuxers or muxers that have not been tested. -- -- Please do not create or distribute binary packages of gst-ffmpeg -- that link against an external ffmpeg. Thank you! -- ====================================================================== -- " >&5 --echo "$as_me: WARNING: -- ====================================================================== -- WARNING: you have chosen to build gst-ffmpeg against a random -- external version of ffmpeg instead of building it against the tested -- internal ffmpeg snapshot that is included with gst-ffmpeg. -- -- This is a very bad idea. So bad in fact that words cannot express -- just how bad it is. Suffice to say that it is BAD. -- -- The GStreamer developers cannot and will not support a gst-ffmpeg -- built this way. Any bug reports that indicate there is an external -- version of ffmpeg involved will be closed immediately without further -- investigation. -- -- The reason such a setup can't be supported is that the ffmpeg API -- and ABI is in constant flux, yet there aren't any official releases -- of the ffmpeg library to develop against. This makes it impossible -- to guarantee that gst-ffmpeg will work reliably, or even compile, -- with a randomly picked version ffmpeg. Even if gst-ffmpeg compiles -- and superficially appears to work fine against your chosen external -- ffmpeg version, that might just not be the case on other systems, or -- even the same system at a later time, or when using decoders, -- encoders, demuxers or muxers that have not been tested. -- -- Please do not create or distribute binary packages of gst-ffmpeg -- that link against an external ffmpeg. Thank you! -- ====================================================================== -- " >&2;} - -- sleep 15 - else - - source "$srcdir/ffmpegrev" - - { echo "$as_me:$LINENO: Using ffmpeg revision $FFMPEG_REVISION" >&5 |