EIO
``VIDIOC_DQBUF`` failed due to an internal error. Can also indicate
- temporary problems like signal loss. Note the driver might dequeue
- an (empty) buffer despite returning an error, or even stop
- capturing. Reusing such buffer may be unsafe though and its details
- (e.g. ``index``) may not be returned either. It is recommended that
- drivers indicate recoverable errors by setting the
- ``V4L2_BUF_FLAG_ERROR`` and returning 0 instead. In that case the
- application should be able to safely reuse the buffer and continue
- streaming.
+ temporary problems like signal loss.
+
+ .. note:: The driver might dequeue an (empty) buffer despite returning
+ an error, or even stop capturing. Reusing such buffer may be unsafe
+ though and its details (e.g. ``index``) may not be returned either.
+ It is recommended that drivers indicate recoverable errors by setting
+ the ``V4L2_BUF_FLAG_ERROR`` and returning 0 instead. In that case the
+ application should be able to safely reuse the buffer and continue
+ streaming.
EPIPE
``VIDIOC_DQBUF`` returns this on an empty capture queue for mem2mem