gstreamermm, gtkmm, and errors

Marcin Kolny marcin.kolny at gmail.com
Sat Nov 18 18:15:38 UTC 2017


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_player/main.cc#L86

2017-11-18 16:12 GMT+00:00 Russel Winder <russel at winder.org.uk>:

> Using gstreamermm with gtkmm, I am starting a playbin in it's own
> Gtk::Window but a
> Gst::MESSAGE_ERROR is happening. What I want to do is terminate the
> playbin and it's window, but not the whole application. Can anyone
> point me at an example of how to handle the error message in the bus
> message handler to achieve the goal?
>
> --
> Russel.
> ===========================================
> Dr Russel Winder      t: +44 20 7585 2200
> 41 Buckmaster Road    m: +44 7770 465 077
> London SW11 1EN, UK   w: www.russel.org.uk
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


-- 
Pozdrawiam
Marcin Kolny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20171118/a1d3381f/attachment.html>


More information about the gstreamer-devel mailing list