gst-plugins-rs/gst-plugin-cdg
Guillaume Desmottes 7ba1e6f60d cdg: typefind: improve CDG packets detection heuristic
We used to look at the first 10 seconds of data to compute the ratio of
CDG packets. This was not working great for files having a long intro
as no video was displayed during this time.

Split the single search window into multiple smaller ones and walk
through the whole file hoping to find a section containing CDG packets.

With this change we are now fetching at most 230400 bytes of data,
but in almost all matching cases we find the type way before that.

This heuristic is good enough to be able to properly detect all the cdg
files from my collection (77625 files).
2019-11-14 15:49:36 +05:30
..
src cdg: typefind: improve CDG packets detection heuristic 2019-11-14 15:49:36 +05:30
tests Don't use ONCE_INIT anymore now that Once::new() is const 2019-07-11 16:41:42 +03:00
build.rs Add build.rs that provides a version number, release date and other details 2019-06-03 11:11:29 +00:00
Cargo.toml Move debug categories from an instance member to lazy_static 2019-10-31 23:35:11 +01:00