1 .. -*- coding: utf-8; mode: rst -*-
3 .. _VIDEO_SET_ATTRIBUTES:
18 .. cpp:function:: int ioctl(fd, int request = VIDEO_SET_ATTRIBUTE ,video_attributes_t vattr)
33 - File descriptor returned by a previous call to open().
39 - Equals VIDEO_SET_ATTRIBUTE for this command.
43 - video_attributes_t vattr
45 - video attributes according to section ??.
51 This ioctl is intended for DVD playback and allows you to set certain
52 information about the stream. Some hardware may not need this
53 information, but the call also tells the hardware to prepare for DVD
60 On success 0 is returned, on error -1 and the ``errno`` variable is set
61 appropriately. The generic error codes are described at the
62 :ref:`Generic Error Codes <gen-errors>` chapter.
75 - input is not a valid attribute setting.