02.12.2012 Views

LINUX DVB API Version 3 - Linux TV.org

LINUX DVB API Version 3 - Linux TV.org

LINUX DVB API Version 3 - Linux TV.org

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

38 <strong>DVB</strong> VIDEO DEVICE<br />

4.2.5 VIDEO PLAY<br />

DESCRIPTION<br />

This ioctl call asks the Video Device to start playing a video stream from the<br />

selected source.<br />

SYNOPSIS<br />

int ioctl(fd, int request = VIDEO PLAY);<br />

PARAMETERS<br />

int fd File descriptor returned by a previous call to open().<br />

int request Equals VIDEO PLAY for this command.<br />

ERRORS<br />

EBADF fd is not a valid open file descriptor<br />

EINTERNAL Internal error, possibly in the communication with the<br />

<strong>DVB</strong> subsystem.<br />

4.2.6 VIDEO FREEZE<br />

DESCRIPTION<br />

This ioctl call suspends the live video stream being played. Decoding<br />

and playing are frozen. It is then possible to restart the decoding<br />

and playing process of the video stream using the VIDEO CONTINUE<br />

command. If VIDEO SOURCE MEMORY is selected in the ioctl call<br />

VIDEO SELECT SOURCE, the <strong>DVB</strong> subsystem will not decode any more<br />

data until the ioctl call VIDEO CONTINUE or VIDEO PLAY is performed.<br />

SYNOPSIS<br />

int ioctl(fd, int request = VIDEO FREEZE);<br />

PARAMETERS<br />

int fd File descriptor returned by a previous call to open().<br />

int request Equals VIDEO FREEZE for this command.<br />

ERRORS<br />

EBADF fd is not a valid open file descriptor<br />

EINTERNAL Internal error, possibly in the communication with the<br />

<strong>DVB</strong> subsystem.<br />

4.2.7 VIDEO CONTINUE<br />

DESCRIPTION<br />

This ioctl call restarts decoding and playing processes of the video stream<br />

which was played before a call to VIDEO FREEZE was made.<br />

SYNOPSIS<br />

int ioctl(fd, int request = VIDEO CONTINUE);<br />

PARAMETERS<br />

38

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!