<html dir="ltr"><head></head><body style="text-align:left; direction:ltr;"><div><Le mardi 06 août 2019 à 05:57 -0400, pisymbol . a écrit :</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="auto"><br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Tue, Aug 6, 2019, 4:07 AM arc <<a href="mailto:armondcapp@gmail.com">armondcapp@gmail.com</a>> wrote:<br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex">I have a function that constructs a pipeline and plays back a stream URL.<br>
After several calls (20 or more) to this function I see a warning message<br>
"GStreamer-WARNING **: failed to create thread: Error creating thread:<br>
Resource temporarily unavailable". Once I receive that message the pipeline<br>
never enters the playing state.<br>
<br>
I'm following the example code to cleanup the pipeline calling<br>
gst_element_set_state GST_NULL on the pipeline followed by gst_object_unref,<br>
but apparently there's a issue somewhere. <br>
<br>
Most of the examples show a main program that creates creates a pipeline,<br>
plays for some time, cleans up, and exits main. <br>
<br>
Is there an example that shows how to playback any number of URL's, or any<br>
idea how to resolve my resource issue?<br></blockquote></div><div dir="auto"><br></div><div dir="auto">Can you set GST_DEBUG=4 and check the logs to maybe narrow down the issue?</div></div></blockquote><div><br></div><div>You can also set G_DEBUG=fatal_warnings, run this inside gdb and you can retrieve a backtrace.  Something went quite bad to reach this state.</div><div><br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="auto"><div class="gmail_quote" dir="auto"><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"></blockquote></div></div>
<pre>_______________________________________________</pre><pre>gstreamer-devel mailing list</pre><a href="mailto:gstreamer-devel@lists.freedesktop.org"><pre>gstreamer-devel@lists.freedesktop.org</pre></a><pre><br></pre><a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel"><pre>https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</pre></a></blockquote></body></html>