Commit a10532c3 authored by Thibault Saunier's avatar Thibault Saunier 🌵 Committed by Sebastian Dröge

video_info: Implement fmt::Debug

parent 2962f186
......@@ -190,6 +190,18 @@ impl ::VideoMultiviewFramePacking {
pub struct VideoInfo(pub(crate) ffi::GstVideoInfo);
impl fmt::Debug for VideoInfo {
fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> {
.field("format", &self.format())
.field("width", &self.width())
.field("height", &self.height())
.field("size", &self.size())
pub struct VideoInfoBuilder<'a> {
format: ::VideoFormat,
width: u32,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment