mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-05 09:00:54 +00:00
videoscale: 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/3604>
This commit is contained in:
parent
f9c2df6f9a
commit
18cae8c9b4
1 changed files with 2 additions and 1 deletions
|
@ -519,7 +519,8 @@ gst_video_scale_transform_meta (GstBaseTransform * trans, GstBuffer * outbuf,
|
|||
const gchar *const valid_tags[] = { GST_META_TAG_VIDEO_STR,
|
||||
GST_META_TAG_VIDEO_COLORSPACE_STR,
|
||||
GST_META_TAG_VIDEO_ORIENTATION_STR,
|
||||
GST_META_TAG_VIDEO_SIZE_STR
|
||||
GST_META_TAG_VIDEO_SIZE_STR,
|
||||
NULL
|
||||
};
|
||||
|
||||
tags = gst_meta_api_type_get_tags (info->api);
|
||||
|
|
Loading…
Reference in a new issue