From 86776be58c5d7e8607653edcd719ac1f0ba8d992 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Laignel?= Date: Sun, 23 Oct 2022 20:46:18 +0200 Subject: Remove `&` for `obj` in log macros This is no longer necessary. See https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1137 --- text/json/src/jsongstparse/imp.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'text') 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, -- cgit v1.2.3