mxc_v4l_dqueue timeout enc_counter 0

张若 zr92zr at gmail.com
Tue Nov 15 14:45:16 UTC 2016


Hi,

I got a problem while setting the pipeline state to NULL and unref that
pipeline.

In my code, I need to stop two pipelines (imxv4l2src are two cameras) and
start two new pipelines. While stopping current pipelines, I use:
gst_element_set_state (pipeline1, GST_STATE_NULL);
gst_object_unref (pipeline1);
gst_element_set_state (pipeline2, GST_STATE_NULL);
gst_object_unref (pipeline2);

Sometimes, when it runs here, the program will stuck for a while and show
an error or 2 errors (because of 2 cameras) as:
ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0

It is strange to me because it doesn't occur every time when it runs here.
And although this problem occurs, finally those two old pipelines can be
removed and new pipelines can run correctly. The only problem is that it
will stuck for a while when errors happen.

Is it the problem with the cameras themselves?

Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161115/8fa22719/attachment.html>


More information about the gstreamer-devel mailing list