Merge remote-tracking branch 'xen-tip/linux-next'
[deliverable/linux.git] / Documentation / media / uapi / dvb / dmx-set-pes-filter.rst
CommitLineData
47d23e36
MCC
1.. -*- coding: utf-8; mode: rst -*-
2
3.. _DMX_SET_PES_FILTER:
4
586027ce 5==================
47d23e36
MCC
6DMX_SET_PES_FILTER
7==================
8
15e7d615 9Name
586027ce 10----
47d23e36 11
586027ce 12DMX_SET_PES_FILTER
47d23e36 13
15e7d615
MCC
14
15Synopsis
47d23e36
MCC
16--------
17
cf8076c3
MCC
18.. c:function:: int ioctl( int fd, DMX_SET_PES_FILTER, struct dmx_pes_filter_params *params)
19 :name: DMX_SET_PES_FILTER
47d23e36 20
47d23e36 21
15e7d615 22Arguments
586027ce 23---------
47d23e36 24
47d23e36 25
cf8076c3
MCC
26``fd``
27 File descriptor returned by :c:func:`open() <dvb-dmx-open>`.
47d23e36 28
cf8076c3
MCC
29``params``
30 Pointer to structure containing filter parameters.
47d23e36
MCC
31
32
15e7d615 33Description
586027ce
MCC
34-----------
35
36This ioctl call sets up a PES filter according to the parameters
37provided. By a PES filter is meant a filter that is based just on the
38packet identifier (PID), i.e. no PES header or payload filtering
39capability is supported.
40
41
15e7d615 42Return Value
47d23e36
MCC
43------------
44
45On success 0 is returned, on error -1 and the ``errno`` variable is set
46appropriately. The generic error codes are described at the
47:ref:`Generic Error Codes <gen-errors>` chapter.
48
16dac354 49.. tabularcolumns:: |p{2.5cm}|p{15.0cm}|
47d23e36
MCC
50
51.. flat-table::
52 :header-rows: 0
53 :stub-columns: 0
54
55
56 - .. row 1
57
58 - ``EBUSY``
59
60 - This error code indicates that there are conflicting requests.
61 There are active filters filtering data from another input source.
62 Make sure that these filters are stopped before starting this
63 filter.
This page took 0.046148 seconds and 5 git commands to generate.