GNOME Bugzilla – Bug 369482
[typefind] MPEG system streams get recognized as mp3 files
Last modified: 2006-12-16 18:45:42 UTC
the mp3 typefind is too generous with probability. One way to do so, would be to decrease the probabilty if we don't find mp3 headers straight away.
Created attachment 75849 [details] [review] Patch for mp3 typefind functions This proposed patch decreases the probability by the number of times we failed to find a valid header before the valid ones. Seems to work nicely on a large collection of mp3/mpeg/other files
Created attachment 75862 [details] [review] Different version Instead of trying to apply some kind of logic, this patch just decreases the probability by a fixed value if we don't find a valid mp3 header at the start.
2006-11-02 Edward Hervey <edward@fluendo.com> * gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset): Lower the probability of mp3 typefinding functions if we don't find a valid mp3 header at the start of the file. Closes #369482
*** Bug 384112 has been marked as a duplicate of this bug. ***
*** Bug 378397 has been marked as a duplicate of this bug. ***