forked from mirrors/gstreamer-rs
video: format: check for Nv12 instead of P016Be
The latter has been introduced in 1.18 making the test fail with older gst.
This commit is contained in:
parent
ac47c7bc1d
commit
03a240cf3f
1 changed files with 1 additions and 1 deletions
|
@ -465,7 +465,7 @@ mod tests {
|
||||||
}
|
}
|
||||||
assert_eq!(count, ::VideoFormat::iter_raw().len());
|
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()
|
assert!(::VideoFormat::iter_raw()
|
||||||
.find(|f| *f == ::VideoFormat::Encoded)
|
.find(|f| *f == ::VideoFormat::Encoded)
|
||||||
.is_none());
|
.is_none());
|
||||||
|
|
Loading…
Reference in a new issue