diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2021-10-17 17:27:40 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2021-10-17 17:30:38 +0300 |
commit | c5d3a2efcedd42fd8ee66a5e0d2ec9f50ffc620a (patch) | |
tree | 1f713b229877012ad4e873834bfcc0cd77762cae /text/json | |
parent | 01a551f2ac69eaad0e293149e5e3a68c09e49b21 (diff) |
Update for event API changes
Diffstat (limited to 'text/json')
-rw-r--r-- | text/json/src/jsongstparse/imp.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/text/json/src/jsongstparse/imp.rs b/text/json/src/jsongstparse/imp.rs index c3331c7f..8d589071 100644 --- a/text/json/src/jsongstparse/imp.rs +++ b/text/json/src/jsongstparse/imp.rs @@ -697,7 +697,11 @@ impl JsonGstParse { } } - fn perform_seek(&self, event: &gst::event::Seek, element: &super::JsonGstParse) -> bool { + fn perform_seek( + &self, + event: &gst::event::Seek<&gst::EventRef>, + 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; |