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.

Hi,
We have two samples demonstrating video decoding:

/usr/src/jetson_multimedia_api/samples/00_video_decode/
/usr/src/jetson_multimedia_api/samples/unittest_samples/decoder_unit_sample/

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?

Hi,
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.