6.2.2.22. VIDEO_CLEAR_BUFFER

6.2.2.22.1. Name

VIDEO_CLEAR_BUFFER

Attention

This ioctl is deprecated.

6.2.2.22.2. Synopsis

VIDEO_CLEAR_BUFFER

int ioctl(fd, VIDEO_CLEAR_BUFFER)

6.2.2.22.3. Arguments

int fd File descriptor returned by a previous call to open().
int request Equals VIDEO_CLEAR_BUFFER for this command.

6.2.2.22.4. Description

This ioctl call clears all video buffers in the driver and in the decoder hardware.

6.2.2.22.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.