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

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/text
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2022-01-22 13:18:02 +0300
committerSebastian Dröge <sebastian@centricular.com>2022-01-22 13:18:02 +0300
commitf44b86cd30cf49879b14d759b0c8c8284c9437b5 (patch)
treecbf9f30fa5738a60fc031338932d0ccafcb82efd /text
parent65fcd55160d126c549a89b613cdf84714a5b346e (diff)
Simplify some code around event/query views
Diffstat (limited to 'text')
-rw-r--r--text/json/src/jsongstparse/imp.rs6
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;