<div dir="ltr"><div>Yea, the tags on the metadata tend to be an easy pitfall if you are implementing your own metadata. Good to hear you solved your problem :)<br><br></div>Dimitrios<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 20, 2017 at 9:30 AM, Philippe De Muyter <span dir="ltr"><<a href="mailto:phdm@macq.eu" target="_blank">phdm@macq.eu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Jan 19, 2017 at 04:08:51PM +0100, Philippe De Muyter wrote:<br>
> Hi Dimitrios,<br>
><br>
> On Thu, Jan 19, 2017 at 12:47:43PM +0100, Dimitrios Katsaros wrote:<br>
> > If you have no tags in the gst_meta_api_type_register then the metadata<br>
> > should pass all the element checks. So adding the video tag and removing<br>
> > memory would only change something if you were already defining you own<br>
> > tags, like e.g. GPS.<br>
><br>
> Well, I have now removed our own tag and the newly added "video" tag,<br>
> calling thus gst_meta_api_type_register with an empty tag array,<br>
> and now our meta_transform function (always copy) is called, and our<br>
> metadata are propagated auto-magically to the encoded buffers :)<br>
<br>
</span>I also have rechecked with only the "video" tag, and that works also,<br>
because of the following lines in gst_video_decoder_transform_<wbr>meta_default :<br>
<br>
if (!tags || (g_strv_length ((gchar **) tags) == 1<br>
&& gst_meta_api_type_has_tag (info->api,<br>
g_quark_from_string (GST_META_TAG_VIDEO_STR))))<br>
return TRUE;<br>
<br>
where g_strv_length gives the number of entries in the tags array.<br>
<br>
So having no tag or only the GST_META_TAG_VIDEO_STR (= "video") is<br>
equivalent for gst_video_decoder_transform_<wbr>meta_default<br>
<span class="HOEnZb"><font color="#888888"><br>
Philippe<br>
</font></span><div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
</div></div></blockquote></div><br></div>