diff --git a/gstreamer-video/src/video_format.rs b/gstreamer-video/src/video_format.rs index 7adbc8e1d..478eb8935 100644 --- a/gstreamer-video/src/video_format.rs +++ b/gstreamer-video/src/video_format.rs @@ -465,7 +465,7 @@ mod tests { } assert_eq!(count, ::VideoFormat::iter_raw().len()); - assert!(::VideoFormat::iter_raw().any(|f| f == ::VideoFormat::P016Be)); + assert!(::VideoFormat::iter_raw().any(|f| f == ::VideoFormat::Nv12)); assert!(::VideoFormat::iter_raw() .find(|f| *f == ::VideoFormat::Encoded) .is_none());