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 /video | |
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 'video')
-rw-r--r-- | video/closedcaption/src/mcc_parse/imp.rs | 4 | ||||
-rw-r--r-- | video/closedcaption/src/scc_parse/imp.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/video/closedcaption/src/mcc_parse/imp.rs b/video/closedcaption/src/mcc_parse/imp.rs index 4c23a599..a26f077c 100644 --- a/video/closedcaption/src/mcc_parse/imp.rs +++ b/video/closedcaption/src/mcc_parse/imp.rs @@ -756,13 +756,13 @@ impl MccParse { 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"); let _ = self.sinkpad.pause_task(); 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, diff --git a/video/closedcaption/src/scc_parse/imp.rs b/video/closedcaption/src/scc_parse/imp.rs index 61a02563..f9880158 100644 --- a/video/closedcaption/src/scc_parse/imp.rs +++ b/video/closedcaption/src/scc_parse/imp.rs @@ -639,13 +639,13 @@ impl SccParse { 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"); let _ = self.sinkpad.pause_task(); 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, |