diff --git a/gstreamer-utils/src/streamproducer.rs b/gstreamer-utils/src/streamproducer.rs index 57d3a28d1..92c26c950 100644 --- a/gstreamer-utils/src/streamproducer.rs +++ b/gstreamer-utils/src/streamproducer.rs @@ -40,6 +40,7 @@ impl Eq for StreamProducer {} /// Link between a `StreamProducer` and a consumer, disconnecting the link on `Drop`. /// The producer and consumer will stay alive while the link is. #[derive(Debug)] +#[must_use] pub struct ConsumptionLink { consumer: gst_app::AppSrc, producer: Option,