webrtcbin: Update for StreamProducer API changes

This commit is contained in:
Sebastian Dröge 2023-01-16 16:36:41 +02:00
parent 4464bf2eaa
commit 812df78b75

View file

@ -1075,10 +1075,7 @@ impl InputStream {
.set_target(Some(&clocksync.static_pad("sink").unwrap()))
.unwrap();
let producer = StreamProducer::from(&appsink);
producer.forward();
self.producer = Some(producer);
self.producer = Some(StreamProducer::from(&appsink));
Ok(())
}