Update bitflags to 1.2 and fix namespacing

This commit is contained in:
Zhiming Wang
2020-06-01 13:06:34 +08:00
parent 3a8f366f60
commit 6644a91da4
6 changed files with 11 additions and 11 deletions

View File

@ -28,7 +28,7 @@ pub fn converter(
output,
width,
height,
scaling::flag::FAST_BILINEAR,
scaling::flag::Flags::FAST_BILINEAR,
)
}

View File

@ -1,4 +1,4 @@
use super::{flag, Context, Flags};
use super::{Context, Flags};
use util::format;
use {decoder, frame, Error, Picture};
@ -25,7 +25,7 @@ impl<'a> Picture<'a> {
format,
self.width(),
self.height(),
flag::FAST_BILINEAR,
Flags::FAST_BILINEAR,
)
}
}
@ -53,7 +53,7 @@ impl frame::Video {
format,
self.width(),
self.height(),
flag::FAST_BILINEAR,
Flags::FAST_BILINEAR,
)
}
}
@ -81,7 +81,7 @@ impl decoder::Video {
format,
self.width(),
self.height(),
flag::FAST_BILINEAR,
Flags::FAST_BILINEAR,
)
}
}