typefinding: make flac typefinder return lower probability for frame headers

The flac frame header typefinder overstates the likelihood of a match, leading
to false positives with e.g. aac streams and PDF files. Reduce probabilty
returned from LIKELY to POSSIBLE for the frame header matchin code.
Fixes #574939.
This commit is contained in:
Tim-Philipp Müller 2009-03-15 19:57:36 +00:00
parent a622ff74b0
commit 04a860c6f7

View file

@ -616,7 +616,7 @@ flac_type_find (GstTypeFind * tf, gpointer unused)
/* FIXME: shouldn't we include the crc check ? */
GST_DEBUG ("Found flac without headers at %d", (gint) c.offset);
gst_type_find_suggest (tf, GST_TYPE_FIND_LIKELY, FLAC_CAPS);
gst_type_find_suggest (tf, GST_TYPE_FIND_POSSIBLE, FLAC_CAPS);
return;
}
advance: