diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2014-04-06 09:02:46 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-04-06 09:05:43 +0200 |
commit | 99ca91f3a3fdf3ced8524d9427072c8aee33695c (patch) | |
tree | 747aee286067fe48ed3616a54f447b28986c8e4c | |
parent | 650c2ad0a84f02b98db8a8a9acf644441d96800d (diff) |
avcodecmap: Add mapping for Apple Intermediate Codec
https://bugzilla.gnome.org/show_bug.cgi?id=727673
-rw-r--r-- | ext/libav/gstavcodecmap.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/libav/gstavcodecmap.c b/ext/libav/gstavcodecmap.c index 1f2a92e486..49257a3aac 100644 --- a/ext/libav/gstavcodecmap.c +++ b/ext/libav/gstavcodecmap.c @@ -1695,6 +1695,12 @@ gst_ffmpeg_codecid_to_caps (enum AVCodecID codec_id, } break; + case AV_CODEC_ID_AIC: + caps = + gst_ff_vid_caps_new (context, NULL, codec_id, encode, + "video/x-apple-intermediate-codec", NULL); + break; + case AV_CODEC_ID_WS_VQA: case AV_CODEC_ID_IDCIN: case AV_CODEC_ID_8BPS: @@ -3724,6 +3730,9 @@ gst_ffmpeg_caps_to_codecid (const GstCaps * caps, AVCodecContext * context) id = AV_CODEC_ID_FFV1; video = TRUE; } + } else if (!strcmp (mimetype, "video/x-apple-intermediate-codec")) { + id = AV_CODEC_ID_AIC; + video = TRUE; } else if (!strcmp (mimetype, "audio/x-adpcm")) { const gchar *layout; |