mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-10-31 14:48:55 +00:00
Update to rav1e 0.5 and async-tungstenite 0.16
Also add an asm feature to rav1e, which requires nasm to be in place.
This commit is contained in:
parent
58322bcc96
commit
f817f6e9b9
3 changed files with 5 additions and 4 deletions
|
@ -22,7 +22,7 @@ rusoto_signature = "0.47"
|
|||
url = "2"
|
||||
percent-encoding = "2"
|
||||
tokio = { version = "1.0", features = [ "rt-multi-thread" ] }
|
||||
async-tungstenite = { version = "0.15", features = ["tokio", "tokio-runtime", "tokio-native-tls"] }
|
||||
async-tungstenite = { version = "0.16", features = ["tokio", "tokio-runtime", "tokio-native-tls"] }
|
||||
nom = "7"
|
||||
crc = "2"
|
||||
byteorder = "1.3.4"
|
||||
|
|
|
@ -11,7 +11,7 @@ rust-version = "1.56"
|
|||
[dependencies]
|
||||
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
|
||||
gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_12"] }
|
||||
rav1e = { version = "0.4", default-features = false }
|
||||
rav1e = { version = "0.5", default-features = false }
|
||||
once_cell = "1.0"
|
||||
|
||||
[dev-dependencies]
|
||||
|
@ -29,6 +29,7 @@ gst-plugin-version-helper = { path="../../version-helper" }
|
|||
# GStreamer 1.14 is required for static linking
|
||||
static = ["gst/v1_14"]
|
||||
capi = []
|
||||
asm = ["rav1e/asm"]
|
||||
|
||||
[package.metadata.capi]
|
||||
min_version = "0.8.0"
|
||||
|
|
|
@ -130,7 +130,7 @@ impl Context {
|
|||
} else {
|
||||
rav1e::prelude::FrameTypeOverride::No
|
||||
},
|
||||
opaque: Some(Box::new(frame_number)),
|
||||
opaque: Some(rav1e::prelude::Opaque::new(frame_number)),
|
||||
}),
|
||||
))
|
||||
} else {
|
||||
|
@ -167,7 +167,7 @@ impl Context {
|
|||
} else {
|
||||
rav1e::prelude::FrameTypeOverride::No
|
||||
},
|
||||
opaque: Some(Box::new(frame_number)),
|
||||
opaque: Some(rav1e::prelude::Opaque::new(frame_number)),
|
||||
}),
|
||||
))
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue