summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward.hervey@collabora.co.uk>2012-02-22 12:14:21 +0100
committerEdward Hervey <edward.hervey@collabora.co.uk>2012-02-22 12:14:21 +0100
commit0a16f7edf6952639c30dbb53930b63fcb1edaa64 (patch)
tree72ed15be4b5639c550fe9990f14081924b0c6f8f
parentdb8a94fcfbc68966331839d313f1b3f5029fac55 (diff)
codecmap: Add mapping for Indeo 4 video codec
-rw-r--r--ext/ffmpeg/gstffmpegcodecmap.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/ffmpeg/gstffmpegcodecmap.c b/ext/ffmpeg/gstffmpegcodecmap.c
index 2b06b2b..3759a35 100644
--- a/ext/ffmpeg/gstffmpegcodecmap.c
+++ b/ext/ffmpeg/gstffmpegcodecmap.c
@@ -906,6 +906,11 @@ gst_ffmpeg_codecid_to_caps (enum CodecID codec_id,
"indeoversion", G_TYPE_INT, 5, NULL);
break;
+ case CODEC_ID_INDEO4:
+ caps = gst_ff_vid_caps_new (context, codec_id, "video/x-indeo",
+ "indeoversion", G_TYPE_INT, 4, NULL);
+ break;
+
case CODEC_ID_INDEO3:
caps = gst_ff_vid_caps_new (context, codec_id, "video/x-indeo",
"indeoversion", G_TYPE_INT, 3, NULL);
@@ -3162,6 +3167,9 @@ gst_ffmpeg_caps_to_codecid (const GstCaps * caps, AVCodecContext * context)
case 5:
id = CODEC_ID_INDEO5;
break;
+ case 4:
+ id = CODEC_ID_INDEO4;
+ break;
case 3:
id = CODEC_ID_INDEO3;
break;