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>
> >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
> in gstreamer.

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


It'd be a good idea to contribute probe code to QtGStreamer, BTW.  ;-)
-------------- 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