mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-06-09 01:29:28 +00:00
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:
parent
0c04b2635b
commit
0981fbe0bf
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue