The Interface porting between the 0.10 and 1.0 -- GstCaps

FranklinHuang hsy_work at 163.com
Sun May 15 06:59:01 UTC 2016


According to the guide,

    GST_BUFFER_CAPS() is gone, caps are not set on buffers anymore but are
set
    on the pads where the buffer is pushed on. Likewise GST_BUFFER_COPY_CAPS
is
    not needed anymore. gst_buffer_get/set_caps() are gone too.

I have a interface API,
   GstStructure* data_media =
gst_caps_get_structure(GST_BUFFER_CAPS(buffer), 0);
try to get the caps from the buffer in 0.10 version, 
How I could change it to the 1.0 edition?




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/The-Interface-porting-between-the-0-10-and-1-0-GstCaps-tp4677566.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list