1 .. -*- coding: utf-8; mode: rst -*-
18 .. cpp:function:: int ioctl(fd, int request = VIDEO_SET_FORMAT, video_format_t format)
33 - File descriptor returned by a previous call to open().
39 - Equals VIDEO_SET_FORMAT for this command.
43 - video_format_t format
45 - video format of TV as defined in section ??.
51 This ioctl sets the screen format (aspect ratio) of the connected output
52 device (TV) so that the output of the decoder can be adjusted
59 On success 0 is returned, on error -1 and the ``errno`` variable is set
60 appropriately. The generic error codes are described at the
61 :ref:`Generic Error Codes <gen-errors>` chapter.
74 - format is not a valid video format.