riff: Add support for M101 Matrox uncompressed SD video codec

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7823>
This commit is contained in:
Sebastian Dröge 2024-11-04 10:37:38 +02:00 committed by GStreamer Marge Bot
parent c6a6b75358
commit e57bd3b0dc

View file

@ -975,6 +975,13 @@ gst_riff_create_video_caps (guint32 codec_fcc,
*codec_name = g_strdup ("Lagarith lossless video codec"); *codec_name = g_strdup ("Lagarith lossless video codec");
break; 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: default:
GST_WARNING ("Unknown video fourcc %" GST_FOURCC_FORMAT, GST_WARNING ("Unknown video fourcc %" GST_FOURCC_FORMAT,
GST_FOURCC_ARGS (codec_fcc)); GST_FOURCC_ARGS (codec_fcc));