[Ffmpeg-devel] [PATCH] reduce MAX_SCAN_PACKETS in mpegts.c
Sat Aug 26 18:08:19 CEST 2006
the current mpegts demuxer is unbearably slow because it wants to scan the
first 32000 packets (corresponding to almost 6MB) to find usable programs,
making this demuxer unusable for non local streams (lan, dvb, etc).
This patch reduces MAX_SCAN_PACKETS to 512 (96KB) that should be enough
for any decently interleaved stream (out of all my samples not one couldn't
be played with this patch applied).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 422 bytes
Desc: not available
More information about the ffmpeg-devel