An exception occurred in VIDIOC_STREAMOFF

After decoding, an exception occurred when I called VIDIOC_STREAMOFF.

If you call v4l2_close directly, it will cause a deadlock.

How can I safely release resources after decoding.

We have two samples demonstrating video decoding:


Please check the flow in termination and apply to your code.

I have written against the sample, but I don’t know why there is a problem.

Are there any specific requirements for closing?

There is code about sending end of stream(EoS) at output plane and get EoS at capture plane. Please check if you include it.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.