From 7948b266c5c7e10eb58d62f183ebb8476597f1db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 24 Jun 2019 21:35:30 +0300 Subject: [PATCH] cdg: `...` ranges (inclusive) are deprecated in favour of `...=` --- gst-plugin-cdg/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-plugin-cdg/src/lib.rs b/gst-plugin-cdg/src/lib.rs index 3e468598..c15035d7 100644 --- a/gst-plugin-cdg/src/lib.rs +++ b/gst-plugin-cdg/src/lib.rs @@ -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, };