video: VideoInfo: display format info in Debug

This commit is contained in:
Guillaume Desmottes 2019-07-03 14:32:43 +02:00
parent 71414fe052
commit 86f7a1dd9b

View file

@ -221,6 +221,7 @@ impl fmt::Debug for VideoInfo {
let mut b = f.debug_struct("VideoInfo"); let mut b = f.debug_struct("VideoInfo");
b.field("format", &self.format()) b.field("format", &self.format())
.field("format-info", &self.format_info())
.field("width", &self.width()) .field("width", &self.width())
.field("height", &self.height()) .field("height", &self.height())
.field("interlace_mode", &self.interlace_mode()) .field("interlace_mode", &self.interlace_mode())