The Interface porting between the 0.10 and 1.0 edition

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

The Interface porting between the 0.10 and 1.0 edition

FranklinHuang
Hi all,
I'm porting the gstreamer from 0.10 to 1.0.
I face a problem that the different definition about the GstAppSinkCallbacks,

The new_buffer is gone, and replaced by the new_sample,
Does anybody ever face this problem.
Use what kinds of interface that we can change the usage form new_buffer to the new_sample?
Reply | Threaded
Open this post in threaded view
|

Re: The Interface porting between the 0.10 and 1.0 edition

Arun Raghavan-4
On Thu, 12 May 2016, at 11:58 AM, FranklinHuang wrote:

> Hi all,
> I'm porting the gstreamer from 0.10 to 1.0.
> I face a problem that the different definition about the
> GstAppSinkCallbacks,
>
> The new_buffer is gone, and replaced by the new_sample,
> Does anybody ever face this problem.
> Use what kinds of interface that we can change the usage form new_buffer
> to
> the new_sample?

This should help:
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstSample.html

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

Re: The Interface porting between the 0.10 and 1.0 edition

FranklinHuang
Thankļ¼
I use   buf = gst_sample_get_buffer (sample); to convert the sample to the buffer.