6.2.2.23. VIDEO_SET_ID¶
6.2.2.23.2. Synopsis¶
-
int
ioctl
(int fd, VIDEO_SET_ID, int id)¶
6.2.2.23.3. Arguments¶
int fd | File descriptor returned by a previous call to open(). |
int request | Equals VIDEO_SET_ID for this command. |
int id | video sub-stream id |
6.2.2.23.4. Description¶
This ioctl selects which sub-stream is to be decoded if a program or system stream is sent to the video device.
6.2.2.23.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 |
Invalid sub-stream id. |