mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 05:12:09 +00:00
codec-utils: Recognise mjpg mime type
Add mjpg to gst_codec_utils_caps_from_mime_codec_single() Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6969>
This commit is contained in:
parent
ef0e822559
commit
9dc1d68e2f
1 changed files with 3 additions and 0 deletions
|
@ -3215,6 +3215,9 @@ gst_codec_utils_caps_from_mime_codec_single (const gchar * codec)
|
||||||
gst_caps_new_simple ("audio/x-adpcm", "layout", G_TYPE_STRING, "g726",
|
gst_caps_new_simple ("audio/x-adpcm", "layout", G_TYPE_STRING, "g726",
|
||||||
NULL);
|
NULL);
|
||||||
break;
|
break;
|
||||||
|
case GST_MAKE_FOURCC ('m', 'j', 'p', 'g'):
|
||||||
|
caps = gst_caps_new_empty_simple ("image/jpeg");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
GST_WARNING ("Unknown codec '%s' please file a bug", codec);
|
GST_WARNING ("Unknown codec '%s' please file a bug", codec);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue