diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2020-11-03 12:44:26 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2020-11-19 19:59:57 +0300 |
commit | d7044589f4846e61eaab6c669dbd5d05567fbb4a (patch) | |
tree | d511063d1fd56435f3c976fa676cfa0ac7dd2e0c /video/flavors | |
parent | a97d1da3ab1fcafc111e369589bb06358e67ecdd (diff) |
flavors: Update to nom 6
Diffstat (limited to 'video/flavors')
-rw-r--r-- | video/flavors/Cargo.toml | 4 | ||||
-rw-r--r-- | video/flavors/src/flvdemux/imp.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/video/flavors/Cargo.toml b/video/flavors/Cargo.toml index 3636d5ac4..bb5573ce1 100644 --- a/video/flavors/Cargo.toml +++ b/video/flavors/Cargo.toml @@ -12,8 +12,8 @@ glib = { git = "https://github.com/gtk-rs/gtk-rs" } gstreamer = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" } gstreamer-base = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" } num-rational = { version = "0.3", default-features = false, features = [] } -nom = "5" -flavors = { git = "https://github.com/rust-av/flavors", rev = "61f9e2463b06f590910974302741eaae185b2086" } +nom = "6" +flavors = { git = "https://github.com/rust-av/flavors" } muldiv = "1.0" byteorder = "1.0" lazy_static = "1.0" diff --git a/video/flavors/src/flvdemux/imp.rs b/video/flavors/src/flvdemux/imp.rs index fdc388369..a4e541178 100644 --- a/video/flavors/src/flvdemux/imp.rs +++ b/video/flavors/src/flvdemux/imp.rs @@ -705,7 +705,7 @@ impl StreamingState { let data = adapter.map(15).unwrap(); - match be_u32::<(_, nom::error::ErrorKind)>(&data[0..4]) { + match be_u32::<_, (_, nom::error::ErrorKind)>(&data[0..4]) { Err(_) => unreachable!(), Ok((_, previous_size)) => { gst_trace!(CAT, obj: element, "Previous tag size {}", previous_size); |