On 01.12.2011 16:57, Hamad Kadmany wrote: > Hello Andreas > >> On 01.12.2011 16:30, Andreas Oberritter wrote: > >> Yes. Feel free to enhance the demux API to your needs in order to fully >> support the features of your hardware. > > I have another question in that regard: Actually, multiple filter with same > PID is assumed to be possible in case we have one filter for TS packets (for > DVR device) and another for video PES (for playback). So it seems there's > such assumption in this regard but not for sections. Is my understanding > correct? The in-kernel software demux ("dvb_demux") receives TS packets and strips off headers as requested in order to convert TS to PES or sections. If you're implementing a driver, you can choose to either extend the software demux by overwriting its {allocate,release}_{ts,section}_feed function pointers or you can replace the software demux completely, using your own functions. That said, the software demux supports multiple filters of any type simultaneously on the same PID, so whether it will work for you will eventually depend on your implementation. It's definitely easier to extend the sofware demux, but replacing it may possibly allow you use your hardware more efficiently. I think the av7110 driver also implements section filters, as a further example. Regards, Andreas -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html