diff --git a/video/closedcaption/src/transcriberbin/imp.rs b/video/closedcaption/src/transcriberbin/imp.rs index 997c9451..2b7096e8 100644 --- a/video/closedcaption/src/transcriberbin/imp.rs +++ b/video/closedcaption/src/transcriberbin/imp.rs @@ -853,6 +853,7 @@ impl ElementImpl for TranscriberBin { self.setup_transcription(state); } } else { + drop(state); gst::element_imp_error!( self, gst::StreamError::Failed,