Ask Your Question

Revision history [back]

cap.release() gives error of gstreamer pipeline. What condition should be tested before releasing the pipeline?

GStreamer-CRITICAL **: Trying to dispose element videoconvert0, 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.

GStreamer-CRITICAL **: Trying to dispose element pipeline0, but it is in PAUSED 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 videoscale0, 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.

GStreamer-CRITICAL **: Trying to dispose element pipeline0, but it is in PLAYING 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.