mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
videofilter: Also copy metas if their API has no tags attached to it
This is the default basetransform behaviour, being more strict than that is not really useful.
This commit is contained in:
parent
14a5309e7a
commit
4bb9548026
1 changed files with 3 additions and 3 deletions
|
@ -351,9 +351,9 @@ gst_video_filter_transform_meta (GstBaseTransform * trans, GstBuffer * inbuf,
|
|||
|
||||
tags = gst_meta_api_type_get_tags (info->api);
|
||||
|
||||
if (tags && g_strv_length ((gchar **) tags) == 1
|
||||
if (!tags || (g_strv_length ((gchar **) tags) == 1
|
||||
&& gst_meta_api_type_has_tag (info->api,
|
||||
g_quark_from_string (GST_META_TAG_VIDEO_STR)))
|
||||
g_quark_from_string (GST_META_TAG_VIDEO_STR))))
|
||||
return TRUE;
|
||||
|
||||
return GST_BASE_TRANSFORM_CLASS (parent_class)->transform_meta (trans, inbuf,
|
||||
|
|
Loading…
Reference in a new issue