diff --git a/gstreamer-audio/src/audio_format_info.rs b/gstreamer-audio/src/audio_format_info.rs index 88386e141..2802af4f1 100644 --- a/gstreamer-audio/src/audio_format_info.rs +++ b/gstreamer-audio/src/audio_format_info.rs @@ -336,8 +336,8 @@ mod tests { let mut unpacked = [0; 16]; let mut output = [0; 8]; - info.unpack(::AUDIO_PACK_FLAG_NONE, &mut unpacked, &input); - info.pack(::AUDIO_PACK_FLAG_NONE, &mut output, &unpacked); + info.unpack(::AudioPackFlags::NONE, &mut unpacked, &input); + info.pack(::AudioPackFlags::NONE, &mut output, &unpacked); assert_eq!(input, output); } diff --git a/gstreamer-video/src/video_info.rs b/gstreamer-video/src/video_info.rs index 5bbf66789..adf148fa0 100644 --- a/gstreamer-video/src/video_info.rs +++ b/gstreamer-video/src/video_info.rs @@ -795,7 +795,7 @@ mod tests { assert_eq!(info.height(), 240); assert_eq!(info.fps(), gst::Fraction::new(30, 1)); assert_eq!(info.interlace_mode(), ::VideoInterlaceMode::Progressive); - assert_eq!(info.chroma_site(), ::VIDEO_CHROMA_SITE_MPEG2); + assert_eq!(info.chroma_site(), ::VideoChromaSite::MPEG2); assert_eq!(info.colorimetry(), "bt709".parse().unwrap()); let caps2 = info.to_caps().unwrap();