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:
Christian König 2023-11-14 23:44:21 +01:00
parent ac9472f085
commit 88c8babdf1
No known key found for this signature in database

View file

@ -47,7 +47,7 @@ impl Open for GstreamerSink {
let sample_size = format.size(); let sample_size = format.size();
let gst_bytes = NUM_CHANNELS as usize * 2048 * sample_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") let appsrc = gst::ElementFactory::make("appsrc")
.build() .build()
.expect("Failed to create GStreamer appsrc element") .expect("Failed to create GStreamer appsrc element")