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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3603>
This commit is contained in:
Philipp Zabel 2022-12-19 15:22:15 +01:00
parent 1f929ba32f
commit 2a602afe8a

View 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);