diff options
author | François Laignel <fengalin@free.fr> | 2022-10-23 21:46:18 +0300 |
---|---|---|
committer | François Laignel <fengalin@free.fr> | 2022-10-23 22:22:31 +0300 |
commit | 86776be58c5d7e8607653edcd719ac1f0ba8d992 (patch) | |
tree | 64deeda8be7e7b4850157a1e306425f1ce8f965d /text/json | |
parent | fe8e0a8bf8cdb67d913318f63b621370c45aedda (diff) |
Remove `&` for `obj` in log macros
This is no longer necessary.
See https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1137
Diffstat (limited to 'text/json')
-rw-r--r-- | text/json/src/jsongstparse/imp.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/text/json/src/jsongstparse/imp.rs b/text/json/src/jsongstparse/imp.rs index 9391ad38b..1e6c48b36 100644 --- a/text/json/src/jsongstparse/imp.rs +++ b/text/json/src/jsongstparse/imp.rs @@ -542,13 +542,13 @@ impl JsonGstParse { Ok(buffer) => Some(buffer), Err(gst::FlowError::Eos) => None, Err(gst::FlowError::Flushing) => { - gst::debug!(CAT, obj: &self.sinkpad, "Pausing after pulling buffer, reason: flushing"); + gst::debug!(CAT, obj: self.sinkpad, "Pausing after pulling buffer, reason: flushing"); self.sinkpad.pause_task().unwrap(); return; } Err(flow) => { - gst::error!(CAT, obj: &self.sinkpad, "Failed to pull, reason: {:?}", flow); + gst::error!(CAT, obj: self.sinkpad, "Failed to pull, reason: {:?}", flow); gst::element_imp_error!( self, |