typefind: Expand the search range for HLS detection
authorJan Schmidt <jan@centricular.com>
Sun, 26 Mar 2017 13:26:53 +0000 (00:26 +1100)
committerJan Schmidt <jan@centricular.com>
Mon, 27 Mar 2017 02:01:39 +0000 (13:01 +1100)
commit0bb82827f70fdd8df6e7e91187e9b4609459d555
treed2f208e2c13955e776238108ad1dba2363a6f3ab
parent20dd51b92c2ba824a87f7b6416cecb2aee8044b9
typefind: Expand the search range for HLS detection

HLS files can have arbitrary extra tags in them, and
those can be quite long lines. We need to search
further than 256 bytes sometimes just to get past the
first few lines of the file. Make the limit 4KB,
which matches a typical input block size and should
hopefully cover every crazy input.

https://bugzilla.gnome.org/show_bug.cgi?id=780559
gst/typefind/gsttypefindfunctions.c