mxc_v4l_dqueue timeout enc_counter 0

Michael Yarochkin michael.yarochkin at timetronics.be
Thu Nov 17 10:23:55 UTC 2016


Hello

Do you really need to do unref on pipeline?

Mikl
________________________________
From: gstreamer-devel <gstreamer-devel-bounces at lists.freedesktop.org> on behalf of 张若 <zr92zr at gmail.com>
Sent: Tuesday, November 15, 2016 3:45:16 PM
To: Discussion of the development of and with GStreamer
Subject: mxc_v4l_dqueue timeout enc_counter 0

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/20161117/478587c7/attachment.html>


More information about the gstreamer-devel mailing list