gst/typefind/gsttypefindfunctions.c: When typefinding an MP3 in push-based mode,...
authorJan Schmidt <thaytan@mad.scientist.com>
Wed, 3 May 2006 16:32:19 +0000 (16:32 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Wed, 3 May 2006 16:32:19 +0000 (16:32 +0000)
commit436aad75dfe9a85b58734a092849628a40a2f02c
tree8599947a094ea902d9b844880e6570b32deff6f0
parentcab3cb22e56f9a18b3b68595d623086a68d3719b
gst/typefind/gsttypefindfunctions.c: When typefinding an MP3 in push-based mode, don't penalise the probability down ...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset),
(mpeg_ts_probe_headers), (mpeg_ts_type_find):
When typefinding an MP3 in push-based mode, don't penalise the
probability down to 74% when we found 5 valid frames just because we
can't peek the end of the file.
Make the probability for detecting MPEG Transport Streams based on the
number of sequential headers we successfully detected.
ChangeLog
gst/typefind/gsttypefindfunctions.c