riff: Add support for Lagarith fourcc tag

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6831>
This commit is contained in:
valadaptive 2024-05-12 18:42:21 -04:00 committed by GStreamer Marge Bot
parent ab54e45f67
commit 6198c7fba2

View file

@ -969,6 +969,12 @@ gst_riff_create_video_caps (guint32 codec_fcc,
break;
case GST_MAKE_FOURCC ('L', 'A', 'G', 'S'):
caps = gst_caps_new_empty_simple ("video/x-lagarith");
if (codec_name)
*codec_name = g_strdup ("Lagarith lossless video codec");
break;
default:
GST_WARNING ("Unknown video fourcc %" GST_FOURCC_FORMAT,
GST_FOURCC_ARGS (codec_fcc));