videoconvertscale: fix valid_tags NULL-terminated array of strings
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 19 Dec 2022 14:22:15 +0000 (15:22 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 19 Dec 2022 14:30:42 +0000 (15:30 +0100)
The valid_tags array of strings must be NULL-terminated,
as it is passed to the g_strv_contains() function.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3603>

subprojects/gst-plugins-base/gst/videoconvertscale/gstvideoconvertscale.c

index b6c4f44..d921b7f 100644 (file)
@@ -686,6 +686,7 @@ gst_video_convert_scale_transform_meta (GstBaseTransform * trans,
     GST_META_TAG_VIDEO_STR,
     GST_META_TAG_VIDEO_ORIENTATION_STR,
     GST_META_TAG_VIDEO_SIZE_STR,
+    NULL
   };
 
   tags = gst_meta_api_type_get_tags (info->api);