Commit 7948b266 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

cdg: `...` ranges (inclusive) are deprecated in favour of `...=`

parent 294a8889
Pipeline #44546 passed with stages
in 11 minutes and 20 seconds
......@@ -50,8 +50,8 @@ fn typefind_register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
Some(&Caps::new_simple("video/x-cdg", &[])),
|mut typefind| {
let proba = match cdg_packets_ratio(&mut typefind, TYPEFIND_SEARCH_WINDOW) {
0...5 => TypeFindProbability::None,
6...10 => TypeFindProbability::Possible,
0..=5 => TypeFindProbability::None,
6..=10 => TypeFindProbability::Possible,
_ => TypeFindProbability::Likely,
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment