filter: test_paditer: register_all before testing the overlay filter

avfilter_register_all required on FFmpeg <4 before avfilter_get_by_name can
find the builtin filters.
This commit is contained in:
Zhiming Wang 2020-07-26 12:41:29 +08:00
parent e947bc5606
commit 1d0d42d81a
No known key found for this signature in database
GPG Key ID: 5B58F95EC95965D8

View File

@ -65,6 +65,7 @@ mod tests {
#[test]
fn test_paditer() {
register_all();
assert_eq!(
find("overlay")
.unwrap()