@@ -116,6 +116,13 @@ one until ``EINVAL`` is returned.
- This format is not native to the device but emulated through
software (usually libv4l2), where possible try to use a native
format instead for better performance.
+ * - ``V4L2_FMT_FLAG_UNORDERED``
+ - 0x0004
+ - This format doesn't guarantee ordered buffer handling. I.e. the order
+ in which buffers are dequeued with
+ :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` may be different
+ from the order in which they were queued with
+ :ref:`VIDIOC_QBUF <VIDIOC_QBUF>`.
Return Value
@@ -716,6 +716,7 @@ struct v4l2_fmtdesc {
#define V4L2_FMT_FLAG_COMPRESSED 0x0001
#define V4L2_FMT_FLAG_EMULATED 0x0002
+#define V4L2_FMT_FLAG_UNORDERED 0x0004
/* Frame Size and frame rate enumeration */
/*