Prevent or recover from GST_STATE_CHANGE_FAILURE

Erasmo Alonso Iglesias erasmo1982 at hotmail.com
Tue May 26 22:49:02 UTC 2020


Hello,

The ARAS radio automation system uses two GStreamer playbin elements in order to play media continuously. Every time a new file has to be played, state is changed from GST_STATE_READY to GST_STATE_PLAYING.

Function gst_element_set_state is used to set state GST_STATE_PLAYING from state GST_STATE_READY. It usually returns GST_STATE_CHANGE_SUCCESS and everything works fine. However, in some systems after a number of played files it returns GST_STATE_CHANGE_FAILURE, and after that it seems not possible to perform more state transitions without getting a GST_STATE_CHANGE_FAILURE again.

Anybody knows how to prevent this condition or recover from it?

libgstreamer1.0-0:amd64 version 1.14.4-1
Linux version 4.19.0-9-rt-amd64 (debian-kernel at lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP PREEMPT RT Debian 4.19.118-2 (2020-04-29)

Best regards and thank you in advance,
Erasmo


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200526/7610a898/attachment.htm>


More information about the gstreamer-devel mailing list