After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 699099 - Should remove calling gst_rtsp_media_unprepare() in gst_rtsp_client_finalize()
Should remove calling gst_rtsp_media_unprepare() in gst_rtsp_client_finalize()
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-rtsp-server
git master
Other Linux
: Normal normal
: 1.2.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-04-28 08:01 UTC by Neil Zhuo
Modified: 2014-02-25 22:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Neil Zhuo 2013-04-28 08:01:09 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.
Comment 1 Wim Taymans 2013-05-30 05:07:30 UTC
I can't reproduce this anymore, does it still happen with latest git?