feat: Update the api crate
This commit is contained in:
@@ -20,12 +20,12 @@ iced = { git = "https://github.com/iced-rs/iced", features = [
|
||||
"wgpu",
|
||||
] }
|
||||
iced_wgpu = { git = "https://github.com/iced-rs/iced" }
|
||||
gstreamer = "0.23"
|
||||
gstreamer-app = "0.23" # appsink
|
||||
gstreamer-base = "0.23" # basesrc
|
||||
glib = "0.20" # gobject traits and error type
|
||||
gstreamer = { version = "0.24", features = ["v1_26"] }
|
||||
gstreamer-app = { version = "0.24", features = ["v1_26"] } # appsink
|
||||
gstreamer-base = { version = "0.24", features = ["v1_26"] } # basesrc
|
||||
glib = "0.21" # gobject traits and error type
|
||||
log = "0.4"
|
||||
thiserror = "1"
|
||||
thiserror = "2"
|
||||
url = "2" # media uri
|
||||
|
||||
[package.metadata.nix]
|
||||
@@ -46,6 +46,8 @@ runtimeLibs = [
|
||||
"gst_all_1.gst-plugins-ugly",
|
||||
"gst_all_1.gst-plugins-good",
|
||||
"gst_all_1.gst-plugins-base",
|
||||
"glib",
|
||||
"glib-networking",
|
||||
]
|
||||
buildInputs = [
|
||||
"libxkbcommon",
|
||||
@@ -55,6 +57,8 @@ buildInputs = [
|
||||
"gst_all_1.gst-plugins-ugly",
|
||||
"gst_all_1.gst-plugins-good",
|
||||
"gst_all_1.gst-plugins-base",
|
||||
"glib",
|
||||
"glib-networking",
|
||||
]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
|
||||
@@ -307,7 +307,7 @@ impl Video {
|
||||
.unwrap_or(0),
|
||||
);
|
||||
|
||||
let sync_av = pipeline.has_property("av-offset", None);
|
||||
let sync_av = pipeline.has_property("av-offset");
|
||||
|
||||
// NV12 = 12bpp
|
||||
let frame = Arc::new(Mutex::new(Frame::empty()));
|
||||
|
||||
Reference in New Issue
Block a user