glupload never copy metadata

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

glupload never copy metadata

Cyril Baletaud
Hi,

In my pipeline, i use a custom metadata API. I need to access this metadata from a GstGLElement.
GstBuffer are uploaded with glupload element, but this element never copy metadata.
In my API, the function gev_infos_meta_transform is never called. (i have connected a identity element before and after glupload to read InfosMeta).

With classic CPU pipeline, my custom metadata works well.

Is this a bug, or may i forgot to do something ?

Thanks .


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: glupload never copy metadata

Matthew Waters
On 14/03/17 20:44, Cyril Baletaud wrote:
> Hi,
>
> In my pipeline, i use a custom metadata API. I need to access this
> metadata from a GstGLElement.
> GstBuffer are uploaded with glupload element, but this element never
> copy metadata.
> In my API, the function gev_infos_meta_transform is never called. (i
> have connected a identity element before and after glupload to read
> InfosMeta).

The GstMeta copying is handled by GstBaseTransfrom's copy_metadata vfunc
which by default does not copy memory specific GstMeta or any GstMeta
with any tags.

Cheers
-Matt

> With classic CPU pipeline, my custom metadata works well.
>
> Is this a bug, or may i forgot to do something ?
>
> Thanks .
>



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (527 bytes) Download Attachment