diff --git a/gstreamer-utils/src/streamproducer.rs b/gstreamer-utils/src/streamproducer.rs index 1a33c9139..98d244c48 100644 --- a/gstreamer-utils/src/streamproducer.rs +++ b/gstreamer-utils/src/streamproducer.rs @@ -414,7 +414,7 @@ impl StreamProducer { if consumer.discard.load(atomic::Ordering::SeqCst) { consumer .needs_keyframe - .store(false, atomic::Ordering::SeqCst); + .store(true, atomic::Ordering::SeqCst); return None; }