Encode YUV420 buffer with appsrc

Nicolas Dufresne nicolas at ndufresne.ca
Fri Oct 6 00:08:06 UTC 2017


Le 5 oct. 2017 4:38 PM, "pchaurasia" <pchaurasia at gameloreinc.com> a écrit :

Thanks Nicolas..

I surfed around. However, I'm not able to figure out call to add
GstVideoMeta to appsrc - could you please specify what is call to add
GstVideoMeta to appsrc ?


GstVideoMeta is a meta you attach to a buffer, not to the element. See
gst_buffer_add_video_meta_full documentation for details.


Will it be gst_app_src_push_buffer() ? However this function does not seem
to take GstVideoMeta as input -

GstFlowReturn
gst_app_src_push_buffer (GstAppSrc *appsrc,
                         GstBuffer *buffer);

Thanks



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20171005/af9583a3/attachment.html>


More information about the gstreamer-devel mailing list