mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
audioresample: 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
010e35afa7
commit
c5dbee33b0
1 changed files with 3 additions and 3 deletions
|
@ -1259,9 +1259,9 @@ gst_audio_resample_transform_meta (GstBaseTransform * trans, GstBuffer * outbuf,
|
|||
|
||||
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_AUDIO_STR)))
|
||||
if (!tags || (g_strv_length ((gchar **) tags) == 1
|
||||
&& gst_meta_api_type_has_tag (info->api,
|
||||
g_quark_from_string (GST_META_TAG_AUDIO_STR))))
|
||||
return TRUE;
|
||||
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue