[MPlayer-dev-eng] [PATCH] Increase TS demux stream detection size
Vlad Seryakov
vseryakov at gmail.com
Wed Sep 29 19:47:12 CEST 2010
On Sep 29, 2010, at 6:55 AM, Nico Sabbi wrote:
> Vlad Seryakov ha scritto:
>>
>> As i understand, this is the place with absolute max limit of how much TS data can be examined, so instead of arbitrary 1M i put twice of the default max size, as i said this number is completely out of blue, in the old days, 1M was pretty big number for SD content but nowadays with HD and just slightly delayed PAT/PMT transmissions this is nothing.
>>
>
> TS_MAX_PROBE_SIZE is the only value I'd use.
>
Then i do not see why there is 1M hard coded limit in the code, i'd suggest to remove it completely, the detect loop uses start and end pos and will not scan beyond that.
I attach new patch that uses same TS_MAX_PROBE_SIZE or tsprobe in both places.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ts.txt
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100929/73f7d5da/attachment.txt>
More information about the MPlayer-dev-eng
mailing list