<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le sam. 6 avr. 2019 06 h 10, defunked <<a href="mailto:ethan@redmountainradio.com">ethan@redmountainradio.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can anyone direct me to the source code area where I might find the<br>
gst_discoverer implementation so I can investigate this?  I had a look at<br>
the gstreamer project source tree, and it is of course a HUGE project. <br>
Also, with a different pulseaudio audio device selected that the device jack<br>
is using, I still get a crash when my code I use gst_discoverer in a thread,<br>
even though it work fine in the original application thread. <br></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><a href="https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/blob/master/gst-libs/gst/pbutils/gstdiscoverer.c">https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/blob/master/gst-libs/gst/pbutils/gstdiscoverer.c</a><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Remember that GstDiscoverer async API is one of the rare GST API that do depends on a GMainContext / GMainLoop. When you run such a loop in a seperate thread, you need special care as I indicated in our API doc, which reminds the need to call g_main_context_push_thread_default() </div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Ethan...<br>
<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div></div></div>