Skip to content

Commit

Permalink
Update gstreamer to 0.22
Browse files Browse the repository at this point in the history
Signed-off-by: Christian König <[email protected]>
  • Loading branch information
yubiuser committed Feb 24, 2024
1 parent 4757509 commit 856bd5e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions playback/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ libpulse-binding = { version = "2", optional = true, default-features = f
libpulse-simple-binding = { version = "2", optional = true, default-features = false }
jack = { version = "0.11", optional = true }
sdl2 = { version = "0.36", optional = true }
gstreamer = { version = "0.21.2", optional = true }
gstreamer-app = { version = "0.21.2", optional = true }
gstreamer-audio = { version = "0.21.2", optional = true }
gstreamer = { version = "0.22.1", optional = true }
gstreamer-app = { version = "0.22.0", optional = true }
gstreamer-audio = { version = "0.22.0", optional = true }
glib = { version = "0.19.2", optional = true }

# Rodio dependencies
Expand Down
4 changes: 2 additions & 2 deletions playback/src/audio_backend/gstreamer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ impl Open for GstreamerSink {
let sink = match device {
None => {
// no need to dither twice; use librespot dithering instead
gst::parse_bin_from_description(
gst::parse::bin_from_description(
"audioconvert dithering=none ! audioresample ! autoaudiosink",
true,
)
.expect("Failed to create default GStreamer sink")
}
Some(ref x) => gst::parse_bin_from_description(x, true)
Some(ref x) => gst::parse::bin_from_description(x, true)
.expect("Failed to create custom GStreamer sink"),
};
pipeline
Expand Down

0 comments on commit 856bd5e

Please sign in to comment.