diff --git a/gstreamer-audio/src/audio_decoder.rs b/gstreamer-audio/src/audio_decoder.rs index 0d39304db..5385e8e09 100644 --- a/gstreamer-audio/src/audio_decoder.rs +++ b/gstreamer-audio/src/audio_decoder.rs @@ -175,7 +175,7 @@ impl> AudioDecoderExtManual for O { #[macro_export] macro_rules! audio_decoder_error( ($obj:expr, $weight:expr, $err:expr, ($msg:expr), [$debug:expr]) => { { - use $crate::AudioDecoderExtManual; + use $crate::prelude::AudioDecoderExtManual; $obj.error( $weight, $err, @@ -187,7 +187,7 @@ macro_rules! audio_decoder_error( ) }}; ($obj:expr, $weight:expr, $err:expr, ($msg:expr)) => { { - use $crate::AudioDecoderExtManual; + use $crate::prelude::AudioDecoderExtManual; $obj.error( $weight, $err, @@ -199,7 +199,7 @@ macro_rules! audio_decoder_error( ) }}; ($obj:expr, $weight:expr, $err:expr, [$debug:expr]) => { { - use $crate::AudioDecoderExtManual; + use $crate::prelude::AudioDecoderExtManual; $obj.error( $weight, $err, @@ -211,7 +211,7 @@ macro_rules! audio_decoder_error( ) }}; ($obj:expr, $weight:expr, $err:expr, ($($msg:tt)*), [$($debug:tt)*]) => { { - use $crate::AudioDecoderExtManual; + use $crate::prelude::AudioDecoderExtManual; $obj.error( $weight, $err, @@ -223,7 +223,7 @@ macro_rules! audio_decoder_error( ) }}; ($obj:expr, $weight:expr, $err:expr, ($($msg:tt)*)) => { { - use $crate::AudioDecoderExtManual; + use $crate::prelude::AudioDecoderExtManual; $obj.error( $weight, $err, @@ -235,7 +235,7 @@ macro_rules! audio_decoder_error( ) }}; ($obj:expr, $weight:expr, $err:expr, [$($debug:tt)*]) => { { - use $crate::AudioDecoderExtManual; + use $crate::prelude::AudioDecoderExtManual; $obj.error( $weight, $err, diff --git a/gstreamer-video/src/video_decoder.rs b/gstreamer-video/src/video_decoder.rs index cc831b280..4cc0189f7 100644 --- a/gstreamer-video/src/video_decoder.rs +++ b/gstreamer-video/src/video_decoder.rs @@ -353,7 +353,7 @@ impl HasStreamLock for VideoDecoder { #[macro_export] macro_rules! video_decoder_error( ($obj:expr, $weight:expr, $err:expr, ($msg:expr), [$debug:expr]) => { { - use $crate::VideoDecoderExtManual; + use $crate::prelude::VideoDecoderExtManual; $obj.error( $weight, $err, @@ -365,7 +365,7 @@ macro_rules! video_decoder_error( ) }}; ($obj:expr, $weight:expr, $err:expr, ($msg:expr)) => { { - use $crate::VideoDecoderExtManual; + use $crate::prelude::VideoDecoderExtManual; $obj.error( $weight, $err, @@ -377,7 +377,7 @@ macro_rules! video_decoder_error( ) }}; ($obj:expr, $weight:expr, $err:expr, [$debug:expr]) => { { - use $crate::VideoDecoderExtManual; + use $crate::prelude::VideoDecoderExtManual; $obj.error( $weight, $err, @@ -389,7 +389,7 @@ macro_rules! video_decoder_error( ) }}; ($obj:expr, $weight:expr, $err:expr, ($($msg:tt)*), [$($debug:tt)*]) => { { - use $crate::VideoDecoderExtManual; + use $crate::prelude::VideoDecoderExtManual; $obj.error( $weight, $err, @@ -401,7 +401,7 @@ macro_rules! video_decoder_error( ) }}; ($obj:expr, $weight:expr, $err:expr, ($($msg:tt)*)) => { { - use $crate::VideoDecoderExtManual; + use $crate::prelude::VideoDecoderExtManual; $obj.error( $weight, $err, @@ -413,7 +413,7 @@ macro_rules! video_decoder_error( ) }}; ($obj:expr, $weight:expr, $err:expr, [$($debug:tt)*]) => { { - use $crate::VideoDecoderExtManual; + use $crate::prelude::VideoDecoderExtManual; $obj.error( $weight, $err,