[MPlayer-dev-eng] Re: AC-3 in a TS stream

Nico Sabbi nicola_sabbi at fastwebnet.it
Tue Feb 28 23:52:33 CET 2006


Nico Sabbi wrote:

>
> sorry, I forgot it (too long time has gone): the CHECK size is 64 KB: 
> it's the size
> used to verify that the file is a TS; the PROBE size is ~2 MB 
> (interval used to
> analyze the streams).
> A too large probing size will slow down startup time a lot, so I 
> prefer that the user
> specify it explicitly.
>
> I almost forgot in what a  bad shape I left some (and large) parts of 
> the code.
> This demuxer needs a major reorganization and simplification. I also 
> have in mind
> a safer way to handle with these ac3 streams.
> It will take some time, so don't hold your breath.
>
> Bye,
>
>    Nico
>

short term fix attached. It should solve all your problems (you were 
right: I didn't initialize
tss->payload_size = es->payload_size when probe=1 && !is_start), although
I won't commit it in this form because, as I wrote, I want to rework the 
code.
Please, let me know if this patch works correctly.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ts.diff
Type: text/x-patch
Size: 1076 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060228/de131903/attachment.bin>


More information about the MPlayer-dev-eng mailing list