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 /utils | |
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 'utils')
-rw-r--r-- | utils/fallbackswitch/src/fallbacksrc/imp.rs | 4 | ||||
-rw-r--r-- | utils/tracers/src/pipeline_snapshot/imp.rs | 2 | ||||
-rw-r--r-- | utils/uriplaylistbin/src/uriplaylistbin/imp.rs | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/utils/fallbackswitch/src/fallbacksrc/imp.rs b/utils/fallbackswitch/src/fallbacksrc/imp.rs index ebb46447..7567fa64 100644 --- a/utils/fallbackswitch/src/fallbacksrc/imp.rs +++ b/utils/fallbackswitch/src/fallbacksrc/imp.rs @@ -1914,7 +1914,7 @@ impl FallbackSrc { Some(gst::PadProbeData::Event(ref ev)) if ev.type_() == gst::EventType::Eos => { gst::debug!( CAT, - obj: &element, + obj: element, "Received EOS from {}source on pad {}", if fallback_source { "fallback " } else { "" }, pad.name() @@ -3083,7 +3083,7 @@ impl FallbackSrc { Some(element) => element, }; - gst::debug!(CAT, obj: &element, "Woke up, retrying"); + gst::debug!(CAT, obj: element, "Woke up, retrying"); element.call_async(move |element| { let imp = element.imp(); diff --git a/utils/tracers/src/pipeline_snapshot/imp.rs b/utils/tracers/src/pipeline_snapshot/imp.rs index 20cbaa53..49e2f559 100644 --- a/utils/tracers/src/pipeline_snapshot/imp.rs +++ b/utils/tracers/src/pipeline_snapshot/imp.rs @@ -207,7 +207,7 @@ impl PipelineSnapshot { for pipeline in pipelines.into_iter() { let pipeline = pipeline.downcast::<gst::Pipeline>().unwrap(); - gst::debug!(CAT, obj: &tracer, "dump {}", pipeline.name()); + gst::debug!(CAT, obj: tracer, "dump {}", pipeline.name()); let dump_name = format!("{}{}", settings.dot_prefix, pipeline.name()); diff --git a/utils/uriplaylistbin/src/uriplaylistbin/imp.rs b/utils/uriplaylistbin/src/uriplaylistbin/imp.rs index a47bdf7b..8ee1f449 100644 --- a/utils/uriplaylistbin/src/uriplaylistbin/imp.rs +++ b/utils/uriplaylistbin/src/uriplaylistbin/imp.rs @@ -1421,7 +1421,7 @@ impl UriPlaylistBin { // block pad until next item is ready gst::log!( CAT, - obj: &element, + obj: element, "blocking pad {}:{} until next item is ready", parent.name(), pad.name() @@ -1438,7 +1438,7 @@ impl UriPlaylistBin { gst::log!( CAT, - obj: &element, + obj: element, "pad {}:{} has been unblocked", parent.name(), pad.name() @@ -1454,7 +1454,7 @@ impl UriPlaylistBin { // all the streams are eos, item is now done gst::log!( CAT, - obj: &element, + obj: element, "all streams of item #{} are eos", item.index() ); |