mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
avcodecmap: Add mapping for Apple Intermediate Codec
https://bugzilla.gnome.org/show_bug.cgi?id=727673
This commit is contained in:
parent
650c2ad0a8
commit
99ca91f3a3
1 changed files with 9 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue