From: Paul Kocialkowski Date: Fri, 21 Jul 2023 15:50:19 +0000 (+0200) Subject: media: doc: dev-encoder: Fixup type for ENUM_FRAMEINTERVALS X-Git-Tag: v6.6-rc1~97^2~127 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=992ba89d0300d943811e996c6fd36d6979dcf273;p=thirdparty%2Flinux.git media: doc: dev-encoder: Fixup type for ENUM_FRAMEINTERVALS The doc mistakently mentions v4l2_frmsizeenum as the struct type passed to VIDIOC_ENUM_FRAMEINTERVALS, while it's actually v4l2_frmivalenum that should be used. Signed-off-by: Paul Kocialkowski Signed-off-by: Hans Verkuil --- diff --git a/Documentation/userspace-api/media/v4l/dev-encoder.rst b/Documentation/userspace-api/media/v4l/dev-encoder.rst index 15ca234459bb0..6c523c69bdce1 100644 --- a/Documentation/userspace-api/media/v4l/dev-encoder.rst +++ b/Documentation/userspace-api/media/v4l/dev-encoder.rst @@ -115,8 +115,8 @@ Querying Capabilities 4. The client may use :c:func:`VIDIOC_ENUM_FRAMEINTERVALS` to detect supported frame intervals for a given format and resolution, passing the desired pixel - format in :c:type:`v4l2_frmsizeenum` ``pixel_format`` and the resolution - in :c:type:`v4l2_frmsizeenum` ``width`` and :c:type:`v4l2_frmsizeenum` + format in :c:type:`v4l2_frmivalenum` ``pixel_format`` and the resolution + in :c:type:`v4l2_frmivalenum` ``width`` and :c:type:`v4l2_frmivalenum` ``height``. * Values returned by :c:func:`VIDIOC_ENUM_FRAMEINTERVALS` for a coded pixel