Back to home page

OSCL-LXR

 
 

    


0001 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
0002 .. c:namespace:: DTV.dmx
0003 
0004 .. _DMX_REMOVE_PID:
0005 
0006 ==============
0007 DMX_REMOVE_PID
0008 ==============
0009 
0010 Name
0011 ----
0012 
0013 DMX_REMOVE_PID
0014 
0015 Synopsis
0016 --------
0017 
0018 .. c:macro:: DMX_REMOVE_PID
0019 
0020 ``int ioctl(fd, DMX_REMOVE_PID, __u16 *pid)``
0021 
0022 Arguments
0023 ---------
0024 
0025 ``fd``
0026     File descriptor returned by :c:func:`open()`.
0027 
0028 ``pid``
0029     PID of the PES filter to be removed.
0030 
0031 Description
0032 -----------
0033 
0034 This ioctl call allows to remove a PID when multiple PIDs are set on a
0035 transport stream filter, e. g. a filter previously set up with output
0036 equal to :c:type:`DMX_OUT_TSDEMUX_TAP <dmx_output>`, created via either
0037 :ref:`DMX_SET_PES_FILTER` or :ref:`DMX_ADD_PID`.
0038 
0039 Return Value
0040 ------------
0041 
0042 On success 0 is returned.
0043 
0044 On error -1 is returned, and the ``errno`` variable is set
0045 appropriately.
0046 
0047 The generic error codes are described at the
0048 :ref:`Generic Error Codes <gen-errors>` chapter.