[mythtv] [PATCH] HWSlice fixes (was dvb fixes)

Ivor Hewitt ivor at ivor.org
Tue Dec 23 06:46:20 EST 2003


On Tuesday 23 December 2003 09:50, Ivor Hewitt wrote:
> On Tuesday 23 December 2003 00:08, Kenneth Aafløy wrote:
>
> > I guess that libav(codec|frame) is only passing along what
> > ever it can figure out from the stream it receives. Looking
> > at mpeg12.c after the call to VIA_decode_slice, and it looks
> > like it does some checking for invalid slice order. Based on
> > this I would assume that the responsibility for handling
> > these cases are put upon VIA_decode_slice.
>
> Thanks, I'll look through that today and try to produce a 'nice fix'.

This patch keeps a count of the actual number of slices that are put into the 
buffer and passes that value to VIASliceReceiveData instead of maxcode.

This has fixed my segfaults on poor signals.

Cheers,

-- 
Ivor Hewitt.
http://www.ivor.it - Wireless networking and techie bits.
http://www.ivor.org - The leylandii hedge pages
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hwslice.patch.gz
Type: application/x-gzip
Size: 617 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20031223/f413c79b/hwslice.patch.bin


More information about the mythtv-dev mailing list