mirror of
https://github.com/librespot-org/librespot.git
synced 2025-01-27 17:44:04 +00:00
Update gstreamer to 0.22
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
parent
47575092dc
commit
856bd5e750
2 changed files with 5 additions and 5 deletions
|
@ -37,9 +37,9 @@ libpulse-binding = { version = "2", optional = true, default-features = f
|
||||||
libpulse-simple-binding = { version = "2", optional = true, default-features = false }
|
libpulse-simple-binding = { version = "2", optional = true, default-features = false }
|
||||||
jack = { version = "0.11", optional = true }
|
jack = { version = "0.11", optional = true }
|
||||||
sdl2 = { version = "0.36", optional = true }
|
sdl2 = { version = "0.36", optional = true }
|
||||||
gstreamer = { version = "0.21.2", optional = true }
|
gstreamer = { version = "0.22.1", optional = true }
|
||||||
gstreamer-app = { version = "0.21.2", optional = true }
|
gstreamer-app = { version = "0.22.0", optional = true }
|
||||||
gstreamer-audio = { version = "0.21.2", optional = true }
|
gstreamer-audio = { version = "0.22.0", optional = true }
|
||||||
glib = { version = "0.19.2", optional = true }
|
glib = { version = "0.19.2", optional = true }
|
||||||
|
|
||||||
# Rodio dependencies
|
# Rodio dependencies
|
||||||
|
|
|
@ -60,13 +60,13 @@ impl Open for GstreamerSink {
|
||||||
let sink = match device {
|
let sink = match device {
|
||||||
None => {
|
None => {
|
||||||
// no need to dither twice; use librespot dithering instead
|
// no need to dither twice; use librespot dithering instead
|
||||||
gst::parse_bin_from_description(
|
gst::parse::bin_from_description(
|
||||||
"audioconvert dithering=none ! audioresample ! autoaudiosink",
|
"audioconvert dithering=none ! audioresample ! autoaudiosink",
|
||||||
true,
|
true,
|
||||||
)
|
)
|
||||||
.expect("Failed to create default GStreamer sink")
|
.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"),
|
.expect("Failed to create custom GStreamer sink"),
|
||||||
};
|
};
|
||||||
pipeline
|
pipeline
|
||||||
|
|
Loading…
Reference in a new issue