mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 01:31:03 +00:00
avcodecmap: Add MxPEG codec ID
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5361>
This commit is contained in:
parent
2b7dc0de1b
commit
c3b6479755
2 changed files with 7 additions and 1 deletions
|
@ -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"
|
||||
},
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue