Let's use a bigger buffer. this will fix all typefiding issues with mp3 (until someone creates a file with 200kB imag...

Original commit message from CVS:
Let's use a bigger buffer. this will fix all typefiding issues with mp3 (until someone creates a file with 200kB images in the ID3v2 header, and then we'll kill that person ourselves)
This commit is contained in:
Ronald S. Bultje 2003-09-14 13:18:56 +00:00
parent 0c04b2635b
commit 0981fbe0bf

View file

@ -417,7 +417,9 @@ gst_spider_identity_sink_loop_type_finding (GstSpiderIdentity *ident)
GstCaps *caps;
/* this should possibly be a property */
guint bufsizelimit = 8192;
/* this is so big because typefinding is bad.
* this is a cruel hack. We need another typefind system */
guint bufsizelimit = 150 * 1024;
/* checks - disable for speed */
g_return_if_fail (ident != NULL);