From e57bd3b0dc768830d2f1f6d2058f9f46de60a5e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 4 Nov 2024 10:37:38 +0200 Subject: [PATCH] riff: Add support for M101 Matrox uncompressed SD video codec Part-of: --- .../gst-plugins-base/gst-libs/gst/riff/riff-media.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/subprojects/gst-plugins-base/gst-libs/gst/riff/riff-media.c b/subprojects/gst-plugins-base/gst-libs/gst/riff/riff-media.c index 6d63581578..f23de57d69 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/riff/riff-media.c +++ b/subprojects/gst-plugins-base/gst-libs/gst/riff/riff-media.c @@ -975,6 +975,13 @@ gst_riff_create_video_caps (guint32 codec_fcc, *codec_name = g_strdup ("Lagarith lossless video codec"); break; + case GST_MAKE_FOURCC ('M', '1', '0', '1'): + case GST_MAKE_FOURCC ('M', '1', '0', '2'): + caps = gst_caps_new_empty_simple ("video/x-m101"); + if (codec_name) + *codec_name = g_strdup ("Matrox uncompressed SD video codec"); + break; + default: GST_WARNING ("Unknown video fourcc %" GST_FOURCC_FORMAT, GST_FOURCC_ARGS (codec_fcc));