diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2022-01-22 13:18:02 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2022-01-22 13:18:02 +0300 |
commit | f44b86cd30cf49879b14d759b0c8c8284c9437b5 (patch) | |
tree | cbf9f30fa5738a60fc031338932d0ccafcb82efd /text | |
parent | 65fcd55160d126c549a89b613cdf84714a5b346e (diff) |
Simplify some code around event/query views
Diffstat (limited to 'text')
-rw-r--r-- | text/json/src/jsongstparse/imp.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/text/json/src/jsongstparse/imp.rs b/text/json/src/jsongstparse/imp.rs index 49a827de8..3139ba9f9 100644 --- a/text/json/src/jsongstparse/imp.rs +++ b/text/json/src/jsongstparse/imp.rs @@ -681,11 +681,7 @@ impl JsonGstParse { } } - fn perform_seek( - &self, - event: &gst::event::Seek<gst::EventRef>, - element: &super::JsonGstParse, - ) -> bool { + fn perform_seek(&self, event: &gst::event::Seek, element: &super::JsonGstParse) -> bool { if self.state.lock().unwrap().pull.is_none() { gst_error!(CAT, obj: element, "seeking is only supported in pull mode"); return false; |