<div dir="ltr">On Wed, Aug 16, 2017 at 6:09 PM, Quentin <<a href="mailto:quentin.pantostier@yahoo.com">quentin.pantostier@yahoo.com</a>> wrote:<br>> >But if you really really want a GstBuffer*, then<br>> >you can just get it implicitly from a smart pointer:<br>> >QGst::BufferPtr bufferptr;<br>> >GstBuffer *b = bufferptr;<br>><br>> I try to use this method and it seems to work for pad but not for pipeline<br>> may be because pipeline are QGst::PipelinePtr in QtGstreamer and gstElement*<br>> in gstreamer.<div><br></div><div>QGst::PipelinePtr is QScopedPointer.  you can use data() or take(), no?<br></div><div><br></div><div><a href="http://doc.qt.io/qt-5/qscopedpointer.html">http://doc.qt.io/qt-5/qscopedpointer.html</a><br></div><div><br></div><div>It'd be a good idea to contribute probe code to QtGStreamer, BTW.  ;-)</div><div>-- </div><div>            yashi</div><div><br></div></div>