QtGstreamer and Probes

Yasushi SHOJI yasushi.shoji at gmail.com
Fri Aug 18 01:52:21 UTC 2017


On Wed, Aug 16, 2017 at 6:09 PM, Quentin <quentin.pantostier at yahoo.com>
wrote:
> >But if you really really want a GstBuffer*, then
> >you can just get it implicitly from a smart pointer:
> >QGst::BufferPtr bufferptr;
> >GstBuffer *b = bufferptr;
>
> I try to use this method and it seems to work for pad but not for pipeline
> may be because pipeline are QGst::PipelinePtr in QtGstreamer and
gstElement*
> in gstreamer.

QGst::PipelinePtr is QScopedPointer.  you can use data() or take(), no?

http://doc.qt.io/qt-5/qscopedpointer.html

It'd be a good idea to contribute probe code to QtGStreamer, BTW.  ;-)
-- 
            yashi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170818/4523aca6/attachment-0001.html>


More information about the gstreamer-devel mailing list