Skip to content

Commit acdc1be

Browse files
committed
refactor(export): use into_data for Arc frame extraction
1 parent 981d6d7 commit acdc1be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/export/src/mp4.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ fn ensure_nv12_data(frame: Nv12RenderedFrame) -> Vec<u8> {
631631
use cap_rendering::GpuOutputFormat;
632632

633633
if frame.format != GpuOutputFormat::Rgba {
634-
return frame.data;
634+
return frame.into_data();
635635
}
636636

637637
tracing::warn!(

0 commit comments

Comments
 (0)