diff --git a/video/gtk4/src/sink/imp.rs b/video/gtk4/src/sink/imp.rs index 0901828e..48c9e2e0 100644 --- a/video/gtk4/src/sink/imp.rs +++ b/video/gtk4/src/sink/imp.rs @@ -440,12 +440,12 @@ impl VideoSinkImpl for PaintableSink { let sender = self.sender.lock().unwrap(); let sender = sender.as_ref().ok_or_else(|| { gst::error!(CAT, imp: self, "Have no main thread sender"); - gst::FlowError::Error + gst::FlowError::Flushing })?; sender.send(SinkEvent::FrameChanged).map_err(|_| { gst::error!(CAT, imp: self, "Have main thread receiver shut down"); - gst::FlowError::Error + gst::FlowError::Flushing })?; Ok(gst::FlowSuccess::Ok)