gstreamermm, gtkmm, and errors

Sebastian Dröge sebastian at centricular.com
Sun Nov 19 14:16:49 UTC 2017


On Sun, 2017-11-19 at 12:42 +0000, Russel Winder wrote:
> On Sat, 2017-11-18 at 18:15 +0000, Marcin Kolny wrote:
> > Hi Russel,
> > Please take a look at the example [1]. In your case, instead of
> > quitting a
> > main loop, you should just stop your pipeline.
> > 
> > [1]
> > https://github.com/GNOME/gstreamermm/blob/master/examples/all_media
> > _p
> > layer/main.cc#L86
> > 
> 
> But that is the question I have, what is the right way of terminating a
> playbin without terminating the event loop. Hopefully there is another
> example in that repo that does this. I shall investigate further
> tomorrow.

What do you mean with "terminating the playbin"? Shutting it down? In
that case, just set its state to NULL and get rid of all references to
it.

-- 
Sebastian Dröge, Centricular Ltd · https://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20171119/df8e6a4e/attachment.sig>


More information about the gstreamer-devel mailing list