<div dir="ltr"><div>Hi Russel,</div><div>Please take a look at the example [1]. In your case, instead of quitting a main loop, you should just stop your pipeline.<br></div><div><br></div><div>[1] <a href="https://github.com/GNOME/gstreamermm/blob/master/examples/all_media_player/main.cc#L86">https://github.com/GNOME/gstreamermm/blob/master/examples/all_media_player/main.cc#L86</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-11-18 16:12 GMT+00:00 Russel Winder <span dir="ltr"><<a href="mailto:russel@winder.org.uk" target="_blank">russel@winder.org.uk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Using gstreamermm with gtkmm, I am starting a playbin in it's own<br>
Gtk::Window but a<br>
Gst::MESSAGE_ERROR is happening. What I want to do is terminate the<br>
playbin and it's window, but not the whole application. Can anyone<br>
point me at an example of how to handle the error message in the bus<br>
message handler to achieve the goal?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Russel.<br>
==============================<wbr>=============<br>
Dr Russel Winder      t: <a href="tel:%2B44%2020%207585%202200" value="+442075852200">+44 20 7585 2200</a><br>
41 Buckmaster Road    m: <a href="tel:%2B44%207770%20465%20077" value="+447770465077">+44 7770 465 077</a><br>
London SW11 1EN, UK   w: <a href="http://www.russel.org.uk" rel="noreferrer" target="_blank">www.russel.org.uk</a><br>
</font></span><br>______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Pozdrawiam<br>Marcin Kolny</div>
</div>