gstreamer/gst/typefind
Sebastian Dröge 23370ec429 typefindfunctions: Consider the number and types of atoms found in a row for suggesting a probability
If there are 3 or more known atoms in a row, it's likely that this is
actually MOV/MP4 even if we don't find any other known atoms. If 5 or
more are found then this is most certainly MOV/MP4 and we can return.

Also if a moov and mdat atom is found, this is definitely a MOV/MP4 file
and can be used as such, independent of anything else following the
mdat.

Fixes typefinding of various MOV files that have no `ftyp` atom but
otherwise a valid file structure followed by some garbage.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1013>
2021-01-31 11:53:43 +02:00
..
gsttypefindfunctions.c typefindfunctions: Consider the number and types of atoms found in a row for suggesting a probability 2021-01-31 11:53:43 +02:00
gsttypefindfunctionsdata.c typefindfunctions: allow per features registration 2020-12-10 13:01:57 +00:00
gsttypefindfunctionsdata.h typefindfunctions: allow per features registration 2020-12-10 13:01:57 +00:00
gsttypefindfunctionsplugin.c typefind: Fix debug category usage 2020-12-11 14:06:30 +01:00
gsttypefindfunctionsplugin.h typefind: Fix debug category usage 2020-12-11 14:06:30 +01:00
gsttypefindfunctionsriff.c typefindfunctions: allow per features registration 2020-12-10 13:01:57 +00:00
gsttypefindfunctionsstartwith.c typefind: Fix debug category usage 2020-12-11 14:06:30 +01:00
meson.build typefindfunctions: allow per features registration 2020-12-10 13:01:57 +00:00