Commit 8766e865 authored by Sakari Ailus's avatar Sakari Ailus Committed by Mauro Carvalho Chehab
Browse files

[media] v4l: Mark VIDIOC_SUBDEV_G_CROP and VIDIOC_SUBDEV_S_CROP obsolete



These two IOCTLS are obsoleted by VIDIOC_SUBDEV_G_SELECTION and
VIDIOC_SUBDEV_S_SELECTION. Mark them obsolete.

Signed-off-by: default avatarSakari Ailus <sakari.ailus@iki.fi>
Acked-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 955f645a
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -2557,6 +2557,13 @@ interfaces and should not be implemented in new drivers.</para>
<constant>VIDIOC_S_MPEGCOMP</constant> ioctls. Use Extended Controls,
<xref linkend="extended-controls" />.</para>
        </listitem>
        <listitem>
	  <para><constant>VIDIOC_SUBDEV_G_CROP</constant> and
	  <constant>VIDIOC_SUBDEV_S_CROP</constant> ioctls. Use
	  <constant>VIDIOC_SUBDEV_G_SELECTION</constant> and
	  <constant>VIDIOC_SUBDEV_S_SELECTION</constant>, <xref
	  linkend="vidioc-subdev-g-selection" />.</para>
        </listitem>
      </itemizedlist>
    </section>
  </section>
+6 −3
Original line number Diff line number Diff line
@@ -58,9 +58,12 @@
    <title>Description</title>

    <note>
      <title>Experimental</title>
      <para>This is an <link linkend="experimental">experimental</link>
      interface and may change in the future.</para>
      <title>Obsolete</title>

      <para>This is an <link linkend="obsolete">obsolete</link>
      interface and may be removed in the future. It is superseded by
      <link linkend="vidioc-subdev-g-selection">the selection
      API</link>.</para>
    </note>

    <para>To retrieve the current crop rectangle applications set the