blob: e411495c619ca1fad6aa9a34f7409954ea668f78 [file] [log] [blame]
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -03001.. -*- coding: utf-8; mode: rst -*-
2
3.. _DMX_REMOVE_PID:
4
Mauro Carvalho Chehab586027c2016-07-05 07:58:48 -03005==============
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -03006DMX_REMOVE_PID
7==============
8
Mauro Carvalho Chehab15e7d612016-07-05 15:14:35 -03009Name
Mauro Carvalho Chehab586027c2016-07-05 07:58:48 -030010----
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -030011
Mauro Carvalho Chehab586027c2016-07-05 07:58:48 -030012DMX_REMOVE_PID
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -030013
Mauro Carvalho Chehab15e7d612016-07-05 15:14:35 -030014
15Synopsis
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -030016--------
17
Mauro Carvalho Chehabcf8076c2016-08-19 16:56:15 -030018.. c:function:: int ioctl(fd, DMX_REMOVE_PID, __u16 *pid)
19 :name: DMX_REMOVE_PID
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -030020
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -030021
Mauro Carvalho Chehab15e7d612016-07-05 15:14:35 -030022Arguments
Mauro Carvalho Chehab586027c2016-07-05 07:58:48 -030023---------
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -030024
Mauro Carvalho Chehabcf8076c2016-08-19 16:56:15 -030025``fd``
26 File descriptor returned by :c:func:`open() <dvb-dmx-open>`.
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -030027
Mauro Carvalho Chehabcf8076c2016-08-19 16:56:15 -030028``pid``
29 PID of the PES filter to be removed.
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -030030
31
Mauro Carvalho Chehab15e7d612016-07-05 15:14:35 -030032Description
Mauro Carvalho Chehab586027c2016-07-05 07:58:48 -030033-----------
34
35This ioctl call allows to remove a PID when multiple PIDs are set on a
36transport stream filter, e. g. a filter previously set up with output
37equal to DMX_OUT_TSDEMUX_TAP, created via either
38DMX_SET_PES_FILTER or DMX_ADD_PID.
39
40
Mauro Carvalho Chehab15e7d612016-07-05 15:14:35 -030041Return Value
Mauro Carvalho Chehab47d23e32016-07-05 10:37:31 -030042------------
43
44On success 0 is returned, on error -1 and the ``errno`` variable is set
45appropriately. The generic error codes are described at the
46:ref:`Generic Error Codes <gen-errors>` chapter.