diff --git a/gstreamer-video/src/subclass/video_aggregator_pad.rs b/gstreamer-video/src/subclass/video_aggregator_pad.rs index baa0aecee..48cd78030 100644 --- a/gstreamer-video/src/subclass/video_aggregator_pad.rs +++ b/gstreamer-video/src/subclass/video_aggregator_pad.rs @@ -57,10 +57,7 @@ pub trait VideoAggregatorPadImplExt: ObjectSubclass { token: &AggregateFramesToken, buffer: &gst::Buffer, ) -> Option> { - assert_eq!( - aggregator.as_ptr(), - token.0.as_ptr() - ); + assert_eq!(aggregator.as_ptr(), token.0.as_ptr()); unsafe { let data = Self::type_data(); @@ -96,10 +93,7 @@ pub trait VideoAggregatorPadImplExt: ObjectSubclass { token: &AggregateFramesToken, frame: Option>, ) { - assert_eq!( - aggregator.as_ptr(), - token.0.as_ptr() - ); + assert_eq!(aggregator.as_ptr(), token.0.as_ptr()); unsafe { let data = Self::type_data();