diff --git a/gst-libs/gst/video/gstvideofilter.c b/gst-libs/gst/video/gstvideofilter.c index 874b2e81a5..a91053eb97 100644 --- a/gst-libs/gst/video/gstvideofilter.c +++ b/gst-libs/gst/video/gstvideofilter.c @@ -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 - && gst_meta_api_type_has_tag (info->api, - g_quark_from_string (GST_META_TAG_VIDEO_STR))) + 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)))) return TRUE; return GST_BASE_TRANSFORM_CLASS (parent_class)->transform_meta (trans, inbuf,