[linux-dvb] [PATCH] add flag to allow software demux to recognize the output type

Andreas Oberritter obi at linuxtv.org
Wed Mar 5 01:41:29 CET 2008


Previously, the macro DVR_FEED, which is used to recognize and filter
out duplicate packets going to the DVR device, used the TS_PAYLOAD_ONLY
flag to identify a packet's destination.

This kind of filtering was introduced by the following two changesets:
http://linuxtv.org/hg/v4l-dvb/rev/3544d62df713
http://linuxtv.org/hg/v4l-dvb/rev/a97d77b0395f

Now, that it is possible to record TS PIDs using the demux device by
setting the output type to DMX_OUT_TSDEMUX_TAP, checking TS_PAYLOAD_ONLY
is not sufficient anymore. Therefore another flag, TS_DEMUX, is added to
specify the output type of a feed.

This allows multiple clients to filter the same TS PID on a demux device
simultaneously.

Signed-off-by: Andreas Oberritter <obi at linuxtv.org>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ts_demux.diff
Type: text/x-diff
Size: 2074 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20080305/f4476786/attachment.diff 


More information about the linux-dvb mailing list