Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: strange code in StartHWFilter
Andreas Oberritter wrote:
>
> does anybody know why this piece of code is in StartHWFilter in
> av7110.c? This is for PES to TS conversion, right? But don't we already
> get TS from the firmware?
Not for the PIDs that are currently decoded. We can only steal
PES from the decoder's input buffer.
> } else if ((dvbdmxfeed->ts_type & TS_PACKET) &&
> !(dvbdmxfeed->ts_type & TS_PAYLOAD_ONLY)) {
> av7110_p2t_init(&av7110->p2t_filter[dvbdmxfilter->index], dvbdmxfeed);
> }
If you look at dvb_feed_start_pid() you will see that
StartHWFilter() is not called for audio/video
(wtf is i==2? why not have readable code like
dvbdmxfeed->pes_type==DMX_TS_PES_TELETEXT?).
av7110_av_start_record() starts PES recording.
Johannes
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index