From: Philipp Zabel Date: Mon, 19 Dec 2022 14:22:15 +0000 (+0100) Subject: videoconvertscale: fix valid_tags NULL-terminated array of strings X-Git-Tag: 1.22.0~143 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a602afe8a8342d54cd03dfef69142d8b4bec56f;p=platform%2Fupstream%2Fgstreamer.git videoconvertscale: fix valid_tags NULL-terminated array of strings The valid_tags array of strings must be NULL-terminated, as it is passed to the g_strv_contains() function. Part-of: --- diff --git a/subprojects/gst-plugins-base/gst/videoconvertscale/gstvideoconvertscale.c b/subprojects/gst-plugins-base/gst/videoconvertscale/gstvideoconvertscale.c index b6c4f44..d921b7f 100644 --- a/subprojects/gst-plugins-base/gst/videoconvertscale/gstvideoconvertscale.c +++ b/subprojects/gst-plugins-base/gst/videoconvertscale/gstvideoconvertscale.c @@ -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);