[linux-dvb] Doubt about cohexistence of FILTER and PES_FILTER on the same pid

Måns Rullgård mans at mansr.com
Sun Mar 11 20:20:48 CET 2007


Trent Piepho <xyzzy at speakeasy.org> writes:

> On Sun, 11 Mar 2007, [iso-8859-1] Måns Rullgård wrote:
>> Nico Sabbi <nicola_sabbi at fastwebnet.it> writes:
>>
>> > What would happen if I set a pes filter on pid N (e.g. pmt_pid) and at
>> > the same time a section filter on the same pid?
>> > Would I get data from both or only from the section filter?
>> > The pdf doesn't mention this possible use case (or at least I didn't
>> > find it).
>>
>> Whatever happens, doing that wouldn't make any sense.  A PID carries
>> either PES data or sections, never both.
>
> In the dvb api, a PES_FILTER is also used to get the raw TS stream for a
> pid.  There is anothing about a PES_FILTER that requires the PID to have
> PES data on it.

Bad choice of name then, IMHO.

-- 
Måns Rullgård
mans at mansr.com



More information about the linux-dvb mailing list