Commit d0938277 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

media: dev-encoder.rst: add reference to V4L2_FMT_FLAG_ENC_CAP_FRAME_INTERVAL

Setting the stateful encoder capture frame interval is only supported
if this flag is set. Document this.
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Reviewed-by: default avatarMichael Tretter <m.tretter@pengutronix.de>
Acked-by: default avatarTomasz Figa <tfiga@chromium.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 286cf7d3
...@@ -281,7 +281,8 @@ Initialization ...@@ -281,7 +281,8 @@ Initialization
5. **Optional** Set the coded frame interval on the ``CAPTURE`` queue via 5. **Optional** Set the coded frame interval on the ``CAPTURE`` queue via
:c:func:`VIDIOC_S_PARM`. This is only necessary if the coded frame :c:func:`VIDIOC_S_PARM`. This is only necessary if the coded frame
interval is different from the raw frame interval, which is typically interval is different from the raw frame interval, which is typically
the case for off-line encoding. the case for off-line encoding. Support for this feature is signalled
by the :ref:`V4L2_FMT_FLAG_ENC_CAP_FRAME_INTERVAL <fmtdesc-flags>` format flag.
* ** Required fields:** * ** Required fields:**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment