Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2019-06-24 21:35:30 +0300
committerSebastian Dröge <sebastian@centricular.com>2019-06-24 21:35:30 +0300
commit7948b266c5c7e10eb58d62f183ebb8476597f1db (patch)
tree5b5e839f63562b48144e9df9be237238dbe9528e
parent294a88897802a7e5b48eb3ce22f4071f0cc87abc (diff)
cdg: `...` ranges (inclusive) are deprecated in favour of `...=`
-rw-r--r--gst-plugin-cdg/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst-plugin-cdg/src/lib.rs b/gst-plugin-cdg/src/lib.rs
index 3e4685984..c15035d70 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,
};