riff: add more h265 fourcc formats

Regards hevc/HEVC/hev1/HEV1 fourcc as video/x-h265 format.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5031>
This commit is contained in:
Hou Qi 2023-07-13 17:34:26 +08:00 committed by GStreamer Marge Bot
parent b7ffe4718a
commit 4f5e881e2a

View file

@ -381,6 +381,10 @@ gst_riff_create_video_caps (guint32 codec_fcc,
case GST_MAKE_FOURCC ('h', '2', '6', '5'): case GST_MAKE_FOURCC ('h', '2', '6', '5'):
case GST_MAKE_FOURCC ('h', 'v', 'c', '1'): case GST_MAKE_FOURCC ('h', 'v', 'c', '1'):
case GST_MAKE_FOURCC ('H', 'V', 'C', '1'): case GST_MAKE_FOURCC ('H', 'V', 'C', '1'):
case GST_MAKE_FOURCC ('h', 'e', 'v', 'c'):
case GST_MAKE_FOURCC ('H', 'E', 'V', 'C'):
case GST_MAKE_FOURCC ('h', 'e', 'v', '1'):
case GST_MAKE_FOURCC ('H', 'E', 'V', '1'):
caps = gst_caps_new_empty_simple ("video/x-h265"); caps = gst_caps_new_empty_simple ("video/x-h265");
if (codec_name) if (codec_name)
*codec_name = g_strdup ("H.265"); *codec_name = g_strdup ("H.265");