Updated by Alexander Shishkov about 13 years ago

Hello,

I've encountered problem with handling RTSP stream when camera is down or there is no route to host:

<pre>
TCP connection to 192.168.1.24:554 failed: No route to host

(MyApp:4807): GStreamer-CRITICAL **:
Trying to dispose element pipeline0, but it is in READY 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.

(MyApp:4807): GLib-GObject-CRITICAL **: g_object_ref: assertion @G_IS_OBJECT (object)' failed

(MyApp:4807): GStreamer-CRITICAL **: gst_element_post_message: assertion @GST_IS_ELEMENT (element)' failed
Segmentation fault
</pre>

This probably needs further tracking, but I suspect this is GStreamer implementation problem in OpenCV [[OpenCV]] (tested on GStreamer version 0.10.32).

I'm connecting this bug to highgui component as it is generated via VideoCapture [[VideoCapture]] class.

Checked on r5031, 2.2 release is also affected.

Regards,
Grzegorz B.
ntsn.pl software development
[http://ntsn.pl/en]

Back