6.2.2.4. VIDEO_STOP¶
6.2.2.4.2. Synopsis¶
-
int
ioctl
(fd, VIDEO_STOP, boolean mode)¶
6.2.2.4.3. Arguments¶
int fd | File descriptor returned by a previous call to open(). |
int request | Equals VIDEO_STOP for this command. |
Boolean mode | Indicates how the screen shall be handled. |
TRUE: Blank screen when stop. | |
FALSE: Show last decoded frame. |
6.2.2.4.4. Description¶
This ioctl is for Digital TV devices only. To control a V4L2 decoder use the V4L2 ioctl VIDIOC_DECODER_CMD, VIDIOC_TRY_DECODER_CMD instead.
This ioctl call asks the Video Device to stop playing the current stream. Depending on the input parameter, the screen can be blanked out or displaying the last decoded frame.
6.2.2.4.5. Return Value¶
On success 0 is returned, on error -1 and the errno
variable is set
appropriately. The generic error codes are described at the
Generic Error Codes chapter.