typefinding: improve AAC LOAS typefinding
authorTim-Philipp Müller <tim@centricular.net>
Sun, 11 Nov 2012 16:33:32 +0000 (16:33 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Sun, 11 Nov 2012 20:08:52 +0000 (20:08 +0000)
commit61f04f1460922482cd28e8d22bead8e90dd53431
treecdf58b67db8a65df16475e39aa896402f011224c
parentbccb3feebf303ea51cb6bfa4ee74bc1fb43a6eda
typefinding: improve AAC LOAS typefinding

Make AAC LOAS typefinding a bit more reliable; don't report
a LIKELY probability already after just two sync points, but
scan for a few more consecutive frames and determine probability
based on how many we found. Fixes mis-detection of wavpack file.

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