codecmap: Add mapping for Indeo 4 video codec
authorEdward Hervey <edward.hervey@collabora.co.uk>
Wed, 22 Feb 2012 11:14:21 +0000 (12:14 +0100)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Wed, 22 Feb 2012 11:14:21 +0000 (12:14 +0100)
ext/ffmpeg/gstffmpegcodecmap.c

index 2b06b2b..3759a35 100644 (file)
@@ -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;