GNOME Bugzilla – Bug 699099
Should remove calling gst_rtsp_media_unprepare() in gst_rtsp_client_finalize()
Last modified: 2014-02-25 22:28:52 UTC
In gst-rtsp-server, I run test-uri to test. I set the shared property to TRUE in order to allow multiple clients to see the same video. In this scenario, when one of clients stops, below error logs occur. These error logs are introduced by calling gst_rtsp_media_unprepare() in rtsp-client.c: gst_rtsp_client_finalize(). This proc calling is added in fixing Bug 688707. Suggest remove calling gst_rtsp_media_unprepare() in gst_rtsp_client_finalize() because unprepare() will be called by gst_rtsp_media_finalize() when reference count is zero. Just call unref(media) in gst_rtsp_client_finalize() should be enough. -------------------LOG--------------------- ** CRITICAL **: gst_rtsp_stream_leave_bin: assertion `stream->transports == NULL' failed ** CRITICAL **: gst_rtsp_stream_finalize: assertion `!stream->is_joined' failed GStreamer-CRITICAL **: Trying to dispose element udpsrc10, but it is in PLAYING (locked) instead of the NULL state. You need to explicitly set elements to the NULL state before dropping the final reference, to allow them to clean up. This problem may also be caused by a refcounting bug in the application or some element. GStreamer-CRITICAL **: Trying to dispose element udpsrc9, but it is in PLAYING (locked) instead of the NULL state. You need to explicitly set elements to the NULL state before dropping the final reference, to allow them to clean up. This problem may also be caused by a refcounting bug in the application or some element.
I can't reproduce this anymore, does it still happen with latest git?