How to extract the assoc gstbuffer from gstelement

jlancaster jeff_lancaster at msn.com
Tue Dec 11 09:57:48 PST 2012


I have a function in which one of the arguments is GstElement *element as
shown below:

GstStateChangeReturn QVideoSurfaceGstSink::change_state( GstElement
*element, GstStateChange transition);

On a pause event I want to write out the data in the associated GstBuffer of
that element to disk for further processing in some future time.

Is there a way to 'get' the GstBuffer from the element in some way?



-----
Jeff Lancaster
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-extract-the-assoc-gstbuffer-from-gstelement-tp4657372.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list