diff options
author | Andreas Oberritter <obi@linuxtv.org> | 2009-07-15 01:28:50 +0200 |
---|---|---|
committer | Andreas Oberritter <obi@linuxtv.org> | 2009-07-15 01:28:50 +0200 |
commit | 9a656496a57cf7f0b434af1b04d02c20e3976cbc (patch) | |
tree | 8b574cbe38476914d7b58bcd4d8a510dc898846d /linux/include | |
parent | 0edfef5c337eb0bd9d0146246fae01a308faea4f (diff) | |
download | mediapointer-dvb-s2-9a656496a57cf7f0b434af1b04d02c20e3976cbc.tar.gz mediapointer-dvb-s2-9a656496a57cf7f0b434af1b04d02c20e3976cbc.tar.bz2 |
Add two new ioctls: DMX_ADD_PID and DMX_REMOVE_PID
From: Andreas Oberritter <obi@linuxtv.org>
DMX_ADD_PID allows to add multiple PIDs to a transport stream filter
previously set up with DMX_SET_PES_FILTER and output=DMX_OUT_TSDEMUX_TAP.
DMX_REMOVE_PID is used to drop a PID from a filter.
These ioctls are to be used by readers of /dev/dvb/adapterX/demuxY. They
may be called at any time, i.e. before or after the first filter on the
shared file descriptor was started.
They make it possible to record multiple services without the need to de-
or re-multiplex TS packets.
To accomplish this, dmxdev_filter->feed.ts has been converted to a list
of struct dmxdev_feeds, each containing a PID value and a pointer to a
struct dmx_ts_feed.
Priority: normal
Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
Diffstat (limited to 'linux/include')
-rw-r--r-- | linux/include/linux/dvb/dmx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/include/linux/dvb/dmx.h b/linux/include/linux/dvb/dmx.h index fef943738..f078f3ac8 100644 --- a/linux/include/linux/dvb/dmx.h +++ b/linux/include/linux/dvb/dmx.h @@ -151,5 +151,7 @@ struct dmx_stc { #define DMX_GET_CAPS _IOR('o', 48, dmx_caps_t) #define DMX_SET_SOURCE _IOW('o', 49, dmx_source_t) #define DMX_GET_STC _IOWR('o', 50, struct dmx_stc) +#define DMX_ADD_PID _IOW('o', 51, __u16) +#define DMX_REMOVE_PID _IOW('o', 52, __u16) #endif /*_DVBDMX_H_*/ |