video: VideoChromaSite now has an autogenerated impl Display

Still calls into the manual `fn to_str()`.
This commit is contained in:
Marijn Suijten 2021-04-17 12:11:52 +02:00
parent 8226c94110
commit a828d3cc12

View file

@ -220,12 +220,6 @@ impl str::FromStr for crate::VideoChromaSite {
}
}
impl fmt::Display for crate::VideoChromaSite {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
f.write_str(&self.to_str())
}
}
impl From<crate::VideoMultiviewFramePacking> for crate::VideoMultiviewMode {
fn from(v: crate::VideoMultiviewFramePacking) -> Self {
skip_assert_initialized!();