dmx-start.rst 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. .. -*- coding: utf-8; mode: rst -*-
  2. .. _DMX_START:
  3. =========
  4. DMX_START
  5. =========
  6. Name
  7. ----
  8. DMX_START
  9. Synopsis
  10. --------
  11. .. c:function:: int ioctl( int fd, DMX_START)
  12. :name: DMX_START
  13. Arguments
  14. ---------
  15. ``fd``
  16. File descriptor returned by :c:func:`open() <dvb-dmx-open>`.
  17. Description
  18. -----------
  19. This ioctl call is used to start the actual filtering operation defined
  20. via the ioctl calls :ref:`DMX_SET_FILTER` or :ref:`DMX_SET_PES_FILTER`.
  21. Return Value
  22. ------------
  23. On success 0 is returned.
  24. On error -1 is returned, and the ``errno`` variable is set
  25. appropriately.
  26. .. tabularcolumns:: |p{2.5cm}|p{15.0cm}|
  27. .. flat-table::
  28. :header-rows: 0
  29. :stub-columns: 0
  30. - .. row 1
  31. - ``EINVAL``
  32. - Invalid argument, i.e. no filtering parameters provided via the
  33. :ref:`DMX_SET_FILTER` or :ref:`DMX_SET_PES_FILTER` ioctls.
  34. - .. row 2
  35. - ``EBUSY``
  36. - This error code indicates that there are conflicting requests.
  37. There are active filters filtering data from another input source.
  38. Make sure that these filters are stopped before starting this
  39. filter.
  40. The generic error codes are described at the
  41. :ref:`Generic Error Codes <gen-errors>` chapter.