diff --git a/video/closedcaption/src/cea608overlay.rs b/video/closedcaption/src/cea608overlay.rs index bff91fc56..dbb08bab3 100644 --- a/video/closedcaption/src/cea608overlay.rs +++ b/video/closedcaption/src/cea608overlay.rs @@ -186,7 +186,8 @@ impl Cea608Overlay { gst_video::VideoFormat::Argb, width as u32, height as u32, - ); + ) + .unwrap(); let buffer = buffer.into_mapped_buffer_writable().unwrap(); let buffer = { let buffer_ptr = unsafe { buffer.get_buffer().as_ptr() }; diff --git a/video/dav1d/src/dav1ddec.rs b/video/dav1d/src/dav1ddec.rs index cba893a0a..ef75829f7 100644 --- a/video/dav1d/src/dav1ddec.rs +++ b/video/dav1d/src/dav1ddec.rs @@ -235,7 +235,8 @@ impl Dav1dDec { info.height(), &offsets, &strides[..], - ); + ) + .unwrap(); } let duration = pic.duration() as u64;