mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
gstreamer pipeline constructors don't take the optional name
parameter anymore Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
parent
ac9472f085
commit
88c8babdf1
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ impl Open for GstreamerSink {
|
|||
let sample_size = format.size();
|
||||
let gst_bytes = NUM_CHANNELS as usize * 2048 * sample_size;
|
||||
|
||||
let pipeline = gst::Pipeline::new(None);
|
||||
let pipeline = gst::Pipeline::new();
|
||||
let appsrc = gst::ElementFactory::make("appsrc")
|
||||
.build()
|
||||
.expect("Failed to create GStreamer appsrc element")
|
||||
|
|
Loading…
Reference in a new issue