mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 08:55:33 +00:00
codec-utils: add H.266/vvc mime type
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7652>
This commit is contained in:
parent
5e7f187d93
commit
6b4caacd19
1 changed files with 9 additions and 0 deletions
|
@ -2998,6 +2998,8 @@ gst_codec_utils_caps_get_mime_codec (GstCaps * caps)
|
||||||
GST_DEBUG ("h265 caps parsing failed");
|
GST_DEBUG ("h265 caps parsing failed");
|
||||||
mime_codec = g_strdup ("hev1");
|
mime_codec = g_strdup ("hev1");
|
||||||
}
|
}
|
||||||
|
} else if (g_strcmp0 (media_type, "video/x-h266") == 0) {
|
||||||
|
mime_codec = g_strdup ("vvc1");
|
||||||
} else if (g_strcmp0 (media_type, "video/x-av1") == 0) {
|
} else if (g_strcmp0 (media_type, "video/x-av1") == 0) {
|
||||||
mime_codec = av1_caps_get_mime_codec (caps);
|
mime_codec = av1_caps_get_mime_codec (caps);
|
||||||
} else if (g_strcmp0 (media_type, "video/x-vp8") == 0) {
|
} else if (g_strcmp0 (media_type, "video/x-vp8") == 0) {
|
||||||
|
@ -3165,6 +3167,13 @@ gst_codec_utils_caps_from_mime_codec_single (const gchar * codec)
|
||||||
|
|
||||||
/* FIXME : Extract information from the following component */
|
/* FIXME : Extract information from the following component */
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
|
case GST_MAKE_FOURCC ('v', 'v', 'c', '1'):
|
||||||
|
case GST_MAKE_FOURCC ('v', 'v', 'i', '1'):
|
||||||
|
{
|
||||||
|
/* H.266 */
|
||||||
|
caps = gst_caps_new_empty_simple ("video/x-h266");
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
/* Following are not defined in rfc 6831 but are registered MP4RA codecs */
|
/* Following are not defined in rfc 6831 but are registered MP4RA codecs */
|
||||||
case GST_MAKE_FOURCC ('a', 'c', '-', '3'):
|
case GST_MAKE_FOURCC ('a', 'c', '-', '3'):
|
||||||
|
|
Loading…
Reference in a new issue