GST_BUFFER_CAPS replacement in Gstreamer-1.0
Thiago Santos
thiagoss at osg.samsung.com
Fri May 29 03:57:52 PDT 2015
On 05/29/2015 07:33 AM, Hamdi Rakkez wrote:
> Hi all,
>
> What is the replacement of "GST_BUFFER_CAPS" which is a property of
> Gstreamer-0.10 in Gstreamer-1.0.
GstBuffer doesn't have a caps attribute anymore in 1.0. In the pipeline,
the caps is now passed as an event and the current caps being used in a
pad can be obtained with gst_pad_get_current_caps. It is assumed that
the buffers flowing from/to that pad are of the type indicated by that caps.
Additionally, there is no GstSample which encapsulates a GstBuffer with
a GstCaps that can be used when you need to have a caps attached to a
particular buffer but it is not used for the usual flow of buffers in
the pipeline.
A porting guide can be found at
http://cgit.freedesktop.org/gstreamer/gstreamer/tree/docs/random/porting-to-1.0.txt
>
> Thank you.
>
> Best,
> Hamdi
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
--
Thiago Sousa Santos
Senior Multimedia Engineer, Open Source Group
Samsung Research America - Silicon Valley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150529/1ccc5649/attachment.html>
More information about the gstreamer-devel
mailing list