1 .. -*- coding: utf-8; mode: rst -*-
14 .. attention:: This ioctl is deprecated.
19 .. c:function:: int ioctl(fd, VIDEO_SET_SPU , struct video_spu *spu)
35 - File descriptor returned by a previous call to open().
41 - Equals VIDEO_SET_SPU for this command.
47 - SPU decoding (de)activation and subid setting according to section
54 This ioctl activates or deactivates SPU decoding in a DVD input stream.
55 It can only be used, if the driver is able to handle a DVD stream.
57 .. c:type:: struct video_spu
61 typedef struct video_spu {
70 On success 0 is returned, on error -1 and the ``errno`` variable is set
71 appropriately. The generic error codes are described at the
72 :ref:`Generic Error Codes <gen-errors>` chapter.
85 - input is not a valid spu setting or driver cannot handle SPU.