I have a function that constructs a pipeline and plays back a stream URL.
After several calls (20 or more) to this function I see a warning message "GStreamer-WARNING **: failed to create thread: Error creating thread: Resource temporarily unavailable". Once I receive that message the pipeline never enters the playing state. I'm following the example code to cleanup the pipeline calling gst_element_set_state GST_NULL on the pipeline followed by gst_object_unref, but apparently there's a issue somewhere. Most of the examples show a main program that creates creates a pipeline, plays for some time, cleans up, and exits main. Is there an example that shows how to playback any number of URL's, or any idea how to resolve my resource issue? -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Tue, Aug 6, 2019, 4:07 AM arc <[hidden email]> wrote: I have a function that constructs a pipeline and plays back a stream URL. Can you set GST_DEBUG=4 and check the logs to maybe narrow down the issue? _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Thanks for the reply. After setting the debug environment variable, pipeline
clean up is indeed occurring. This leads be to believe this warning is a side-effect of bug in my code not related to GStreamer. -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by pisymbol .
<Le mardi 06 août 2019 à 05:57 -0400, pisymbol . a écrit :
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.
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |