style: apply rustfmt to establish clean baseline before refactor

Pre-refactor baseline state:
- 79 lib tests + 3 integration tests pass (1 integration test #[ignore])
- cargo clippy --all-targets -- -D warnings clean
- cargo build --release clean

No semantic changes; only rustfmt drift correction across 6 files.
This commit is contained in:
2026-07-13 15:40:54 +08:00
parent fed8c2dcfd
commit 75ad4bba78
6 changed files with 69 additions and 85 deletions
+2 -6
View File
@@ -419,9 +419,7 @@ fn import_frame(
// carries a valid DMA-BUF fd and metadata from PipeWire for the duration of the call.
// SAFETY: frames_ctx is a valid VAAPI frames context; `frame` carries the
// DMA-BUF metadata read by the function.
unsafe {
import_dma_buf_to_vaapi(frames_ctx.as_ptr(), frame)
}
unsafe { import_dma_buf_to_vaapi(frames_ctx.as_ptr(), frame) }
}
fn build_gpu_filter_graph(
@@ -936,9 +934,7 @@ fn main() -> Result<()> {
// `first_frame` is the PipeWire-formatted PwDmaBufFrame whose metadata the
// function reads directly. See that function's own SAFETY contract for the
// full rationale.
let vaapi_frame = unsafe {
import_dma_buf_to_vaapi(frames_ctx.as_ptr(), &first_frame)
};
let vaapi_frame = unsafe { import_dma_buf_to_vaapi(frames_ctx.as_ptr(), &first_frame) };
match &vaapi_frame {
Ok(_) => {