Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,375 changes: 820 additions & 555 deletions Cargo.lock

Large diffs are not rendered by default.

6 changes: 1 addition & 5 deletions subwave_appsink/src/render_pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,7 @@ pub(crate) struct VideoRenderPipeline {
}

impl Pipeline for VideoRenderPipeline {
fn new(
device: &wgpu::Device,
_queue: &wgpu::Queue,
format: wgpu::TextureFormat,
) -> Self {
fn new(device: &wgpu::Device, _queue: &wgpu::Queue, format: wgpu::TextureFormat) -> Self {
Self::new(device, format)
}
}
Expand Down
2 changes: 1 addition & 1 deletion subwave_core/src/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub fn build_http_headers_context<T: AsRef<str>, U: AsRef<str>>(
{
let s = ctx.get_mut().unwrap().structure_mut();
for (k, v) in headers.iter() {
s.set(k.as_ref(), &v.as_ref());
s.set(k.as_ref(), v.as_ref());
}
}
Some(ctx)
Expand Down
4 changes: 3 additions & 1 deletion subwave_unified/src/video.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,9 @@ impl SubwaveVideo {
/// Open media with additional options such as start position and headers.
pub fn open(uri: &url::Url, options: OpenOptions) -> Result<Self, subwave_core::Error> {
let backend = Self::select_backend(options.cfg);
let start = options.start_seconds.filter(|s| s.is_finite() && *s >= 0.0);
// Treat <= 0 as "no explicit start" to avoid an unnecessary startup seek-to-zero,
// which can trigger early pipeline reconfigure churn on some streams.
let start = options.start_seconds.filter(|s| s.is_finite() && *s > 0.0);
match backend {
BackendPreference::ForceAppsink => {
let video = if let Some(s) = start {
Expand Down
5 changes: 4 additions & 1 deletion subwave_wayland/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ parking_lot = "0.12"
once_cell = "^1.19"
libc = "0.2.175"
tempfile = "3.21.0"
ab_glyph = "0.2"
quick-xml = { version = "0.39.2", default-features = false, features = ["escape-html"] }

[target.'cfg(target_os = "linux")'.dependencies]
# Iced dependencies
Expand All @@ -24,12 +26,13 @@ iced_winit.workspace = true

# Wayland client-side dependencies
wayland-client = "0.31"
wayland-protocols = { version = "0.32.9", features = ["client", "unstable"] }
wayland-protocols = { version = "0.32.9", features = ["client", "unstable", "staging"] }
wayland-backend = "0.3"
raw-window-handle = "0.6"

# GStreamer dependencies
gstreamer.workspace = true
gstreamer-app.workspace = true
gstreamer-video.workspace = true
gstreamer-video-sys.workspace = true

Expand Down
Loading
Loading