GNOME Bugzilla – Bug 795350
gst_rtsp_client_close raise CRITICAL
Last modified: 2018-11-03 15:41:59 UTC
I want to dynamicly stop the rtsp-server while the pipeline is running. gst_rtsp_client_close() is used to close the streaming client. But I got the warning below: GLib-CRITICAL **: g_main_context_unref: assertion 'g_atomic_int_get (&context->ref_count) > 0' failed I found gst_rtsp_client_finalize() is invoked firstly and unref the main context. The gst_rtsp_client_close() do the same thing and raise the critical warnning. If GST_DEBUG=rtspclient:5 is set, the debug log will consoled and my application run correctly, where gst_rtsp_client_finalize() is invoked later. I think the problem may be similar to https://bugzilla.gnome.org/show_bug.cgi?id=790909 Any idea?
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/issues/41.