Mailing List archive

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

[vdr] Re: [PATCH] (DVB-T) statmux fix vbr tagging for pic header



Gregor Lawatscheck wrote:
> 
> At 10:05 16/05/2003, you wrote:
> >Gregor Lawatscheck wrote:
> >
> >>Moreover it looks like just tagging just the I-FRAME once it's synced
> >>doesn't help the situation reliably enough. For some reason it needs to
> >>be done outtside case VIDEO_STREAM_S ... VIDEO_STREAM_E (odd, I'll look
> >>into it) and there are better effects (i.e less sporadic deadlocks) by
> >>setting vbv_delay to 0xFFFF throughout
> >>i.e.
> >>
> >>    if (PictureType != NO_PICTURE) {
> >>                               resultBuffer[i + 5] |= 0x07;
> >>                               resultBuffer[i + 6] |= 0xFF;
> >>                               resultBuffer[i + 7] |= 0xF8;
> >>                         }
> >I don't have the box in front of me (I'm at work), but should I be trying
> >to fit this into the same remux.c file (but in a different location) as
> >the previous version
> >(which didn't seem to do anything for me) ?
> 
> Yes, you could just patch the patch basically :)
> To make things easier I've updated the patch :
> http://www.mpex.net/riovolt/vdr-statmux-vbr_vbv_delay2.patch

Please note that the buffer that is handled in this function is Data[], while
your patch prites to resultBuffer[]! You should write to Data[] instead.

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index