fix: use property_from_str for queue leaky enum

This commit is contained in:
Mitchell R 2026-05-10 20:14:58 +02:00
parent 527a62d2e5
commit 30eb85e6b1

View file

@ -27,7 +27,7 @@ pub fn create_camera_pipeline(name: &str, rtsp_uri: &str) -> Option<(Pipeline, E
let queue = gst::ElementFactory::make("queue")
.property("max-size-buffers", 1u32)
.property("leaky", 2u32)
.property_from_str("leaky", "downstream")
.build()
.ok()?;