codecmap: Add mapping for Indeo 4 video codec

This commit is contained in:
Edward Hervey 2012-02-22 12:14:21 +01:00
parent db8a94fcfb
commit 0a16f7edf6

View file

@ -906,6 +906,11 @@ gst_ffmpeg_codecid_to_caps (enum CodecID codec_id,
"indeoversion", G_TYPE_INT, 5, NULL); "indeoversion", G_TYPE_INT, 5, NULL);
break; 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: case CODEC_ID_INDEO3:
caps = gst_ff_vid_caps_new (context, codec_id, "video/x-indeo", caps = gst_ff_vid_caps_new (context, codec_id, "video/x-indeo",
"indeoversion", G_TYPE_INT, 3, NULL); "indeoversion", G_TYPE_INT, 3, NULL);
@ -3162,6 +3167,9 @@ gst_ffmpeg_caps_to_codecid (const GstCaps * caps, AVCodecContext * context)
case 5: case 5:
id = CODEC_ID_INDEO5; id = CODEC_ID_INDEO5;
break; break;
case 4:
id = CODEC_ID_INDEO4;
break;
case 3: case 3:
id = CODEC_ID_INDEO3; id = CODEC_ID_INDEO3;
break; break;