mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-02-17 05:15:14 +00:00
cdg: ...
ranges (inclusive) are deprecated in favour of ...=
This commit is contained in:
parent
294a888978
commit
7948b266c5
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue