[media] media: doc-rst: document ENODATA for cropping ioctls
Document that the cropping ioctls can return ENODATA if the operation isn't supported for the current input or output. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
0d0abef8d4
commit
3f8d56b022
3 changed files with 9 additions and 0 deletions
|
@ -167,3 +167,6 @@ appropriately. The generic error codes are described at the
|
||||||
EINVAL
|
EINVAL
|
||||||
The struct :ref:`v4l2_cropcap <v4l2-cropcap>` ``type`` is
|
The struct :ref:`v4l2_cropcap <v4l2-cropcap>` ``type`` is
|
||||||
invalid.
|
invalid.
|
||||||
|
|
||||||
|
ENODATA
|
||||||
|
Cropping is not supported for this input or output.
|
||||||
|
|
|
@ -112,3 +112,6 @@ Return Value
|
||||||
On success 0 is returned, on error -1 and the ``errno`` variable is set
|
On success 0 is returned, on error -1 and the ``errno`` variable is set
|
||||||
appropriately. The generic error codes are described at the
|
appropriately. The generic error codes are described at the
|
||||||
:ref:`Generic Error Codes <gen-errors>` chapter.
|
:ref:`Generic Error Codes <gen-errors>` chapter.
|
||||||
|
|
||||||
|
ENODATA
|
||||||
|
Cropping is not supported for this input or output.
|
||||||
|
|
|
@ -211,6 +211,9 @@ ERANGE
|
||||||
``r`` rectangle to satisfy all constraints given in the ``flags``
|
``r`` rectangle to satisfy all constraints given in the ``flags``
|
||||||
argument.
|
argument.
|
||||||
|
|
||||||
|
ENODATA
|
||||||
|
Selection is not supported for this input or output.
|
||||||
|
|
||||||
EBUSY
|
EBUSY
|
||||||
It is not possible to apply change of the selection rectangle at the
|
It is not possible to apply change of the selection rectangle at the
|
||||||
moment. Usually because streaming is in progress.
|
moment. Usually because streaming is in progress.
|
||||||
|
|
Loading…
Reference in a new issue