6.2.2.24. VIDEO_CLEAR_BUFFER

6.2.2.24.1. Name

VIDEO_CLEAR_BUFFER

Attention

This ioctl is deprecated.

6.2.2.24.2. Synopsis

int ioctl(fd, VIDEO_CLEAR_BUFFER)

6.2.2.24.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.24.4. Description

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

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