From 5678ff1ac090e3a7dab02056544abc5963378655 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Thu, 18 Feb 2010 13:27:15 +0100 Subject: [PATCH] gstffmpegcodecmap: Add mapping for Indeo 5 --- ext/ffmpeg/gstffmpegcodecmap.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ext/ffmpeg/gstffmpegcodecmap.c b/ext/ffmpeg/gstffmpegcodecmap.c index ee1b60e6e9..589cc584a3 100644 --- a/ext/ffmpeg/gstffmpegcodecmap.c +++ b/ext/ffmpeg/gstffmpegcodecmap.c @@ -880,6 +880,11 @@ gst_ffmpeg_codecid_to_caps (enum CodecID codec_id, caps = gst_ff_vid_caps_new (context, codec_id, "video/x-h264", NULL); break; + case CODEC_ID_INDEO5: + caps = gst_ff_vid_caps_new (context, codec_id, "video/x-indeo", + "indeoversion", G_TYPE_INT, 5, NULL); + break; + case CODEC_ID_INDEO3: caps = gst_ff_vid_caps_new (context, codec_id, "video/x-indeo", "indeoversion", G_TYPE_INT, 3, NULL); @@ -2970,6 +2975,9 @@ gst_ffmpeg_caps_to_codecid (const GstCaps * caps, AVCodecContext * context) if (gst_structure_get_int (structure, "indeoversion", &indeoversion)) { switch (indeoversion) { + case 5: + id = CODEC_ID_INDEO5; + break; case 3: id = CODEC_ID_INDEO3; break;