Gstreamer cleanup on crashes

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Gstreamer cleanup on crashes

knikhila
Hello,
I have written an application that uses Gstreamer for audio playback.
The application instantiates a pipeline with a uridecodebin and pulsesink.
If for some reason the application crashes, and is restarted, will there be any problems?
Are there any OS level resources that Gstreamer needs, that if not cleaned up correctly, will cause problems while launching the next time?

Thanks.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer cleanup on crashes

Nicolas Dufresne-5
Le mercredi 08 mars 2017 à 17:13 -0800, nikhila krishnan a écrit :
> I have written an application that uses Gstreamer for audio
> playback. 
> The application instantiates a pipeline with a uridecodebin and
> pulsesink. 
> If for some reason the application crashes, and is restarted, will
> there be any problems? 
> Are there any OS level resources that Gstreamer needs, that if not
> cleaned up correctly, will cause problems while launching the next
> time?

On Linux and any decently implemented OS, all resources should be freed
upon an application crash. In this context, Pulse Audio Daemon will
cleanup the state and free any held resources.

Nicolas
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (188 bytes) Download Attachment