[linux-dvb] CC when using software demux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 12, 2005 Felix Domke wrote:
> Effectively, on most section pids, currently the first section is always
> dropped. This increases, for example, the zapping time by 2 periods of
> the PAT/PMT repetition. Is this the indended behaviour, or am i just
> missing something here?
> 
> So my (untested, please comment!) suggestion is:
> 
> --- dvb_demux.c 2 Mar 2005 21:42:00 -0000   1.63
> +++ dvb_demux.c 12 Aug 2005 13:55:58 -0000
> @@ -336,7 +336,6 @@ static int dvb_dmx_swfilter_section_pack
>    */
>    feed->pusi_seen = 0;
>    dvb_dmx_swfilter_section_new(feed);
> -  return 0;
>   }
> 
>   if (buf[1] & 0x40) {
> 
> Details:
> dvb_dmx_swfilter_section_copy_dump ignores data if pusi_seen is 0.
> pusi_seen will stay 0 after a discontinuity, thus everything before the
> next PUSI will be dropped. pusi_seen is set in the correct situation to
> 1 (right before processing the valid "after" data).
> 
> Comments?

Looks good, thanks.

@Obi: It would be good if you would post changes to the
dvb-core to the list first for review before comitting
them to CVS, however trivial and obviously correct
they may seem.

Thanks,
Johannes



[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux