Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sdroege/gst-plugin-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/text/json
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2021-10-17 17:27:40 +0300
committerSebastian Dröge <sebastian@centricular.com>2021-10-17 17:30:38 +0300
commitc5d3a2efcedd42fd8ee66a5e0d2ec9f50ffc620a (patch)
tree1f713b229877012ad4e873834bfcc0cd77762cae /text/json
parent01a551f2ac69eaad0e293149e5e3a68c09e49b21 (diff)
Update for event API changes
Diffstat (limited to 'text/json')
-rw-r--r--text/json/src/jsongstparse/imp.rs6
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;