This ioctl is deprecated. Synopsis

int ioctl(fd, VIDEO_SET_ATTRIBUTE, video_attributes_t vattr) 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 ??. 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 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.