Commit 92e0b525 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

Fix build of unit tests

parent 19c55562
......@@ -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);
}
......
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment