[MPlayer-dev-eng] [PATCH] MMS/TCP streaming: ASF header buffer size
bl4
bl4 at playker.info
Mon May 19 16:42:03 CEST 2008
Hi,
In MMS over TCP streaming, buffer size for ASF header is fixed:
#define HDR_BUF_SIZE 8192
I've often found this value too small, ASF headers may be bigger than
8192 bytes. It results in "Invalid header size, giving up" error and
fallback to MMS over HTTP. Doubling the buffer size solved the problem
for me, nevertheless I've made a patch that reads entire ASF header size
from the beginning of the header and allocates required amount of memory.
bl4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asf_header_buffer_size.patch
Type: text/x-patch
Size: 2628 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080519/3864f5a3/attachment.bin>
More information about the MPlayer-dev-eng
mailing list