avcodecmap: Add MxPEG codec ID

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5361>
This commit is contained in:
Chris Wiggins 2023-09-21 08:43:19 +12:00 committed by GStreamer Marge Bot
parent 2b7dc0de1b
commit c3b6479755
2 changed files with 7 additions and 1 deletions

View file

@ -16317,7 +16317,7 @@
"long-name": "libav Mobotix MxPEG video decoder",
"pad-templates": {
"sink": {
"caps": "unknown/unknown:\n",
"caps": "video/x-mxpeg:\n",
"direction": "sink",
"presence": "always"
},

View file

@ -1049,6 +1049,12 @@ gst_ffmpeg_codecid_to_caps (enum AVCodecID codec_id,
"parsed", G_TYPE_BOOLEAN, TRUE, NULL);
break;
case AV_CODEC_ID_MXPEG:
caps =
gst_ff_vid_caps_new (context, NULL, codec_id, encode, "video/x-mxpeg",
NULL);
break;
case AV_CODEC_ID_JPEG2000:
caps =
gst_ff_vid_caps_new (context, NULL, codec_id, encode, "image/x-j2c",