video-play.rst 957 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. .. -*- coding: utf-8; mode: rst -*-
  2. .. _VIDEO_PLAY:
  3. ==========
  4. VIDEO_PLAY
  5. ==========
  6. Name
  7. ----
  8. VIDEO_PLAY
  9. .. attention:: This ioctl is deprecated.
  10. Synopsis
  11. --------
  12. .. c:function:: int ioctl(fd, VIDEO_PLAY)
  13. :name: VIDEO_PLAY
  14. Arguments
  15. ---------
  16. .. flat-table::
  17. :header-rows: 0
  18. :stub-columns: 0
  19. - .. row 1
  20. - int fd
  21. - File descriptor returned by a previous call to open().
  22. - .. row 2
  23. - int request
  24. - Equals VIDEO_PLAY for this command.
  25. Description
  26. -----------
  27. This ioctl is for Digital TV devices only. To control a V4L2 decoder use the
  28. V4L2 :ref:`VIDIOC_DECODER_CMD` instead.
  29. This ioctl call asks the Video Device to start playing a video stream
  30. from the selected source.
  31. Return Value
  32. ------------
  33. On success 0 is returned, on error -1 and the ``errno`` variable is set
  34. appropriately. The generic error codes are described at the
  35. :ref:`Generic Error Codes <gen-errors>` chapter.