6.2.2.32. VIDEO_SET_ATTRIBUTES

6.2.2.32.1. Name

VIDEO_SET_ATTRIBUTES

Attention

This ioctl is deprecated.

6.2.2.32.2. Synopsis

int ioctl(fd, VIDEO_SET_ATTRIBUTE, video_attributes_t vattr)

6.2.2.32.3. Arguments

int fd File descriptor returned by a previous call to open().
int request Equals VIDEO_SET_ATTRIBUTE for this command.
video_attributes_t vattr video attributes according to section ??.

6.2.2.32.4. Description

This ioctl is intended for DVD playback and allows you to set certain information about the stream. Some hardware may not need this information, but the call also tells the hardware to prepare for DVD playback.

video_attributes_t

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

EINVAL input is not a valid attribute setting.