From 106536426132e29e5352b572a0f173d925ca342c Mon Sep 17 00:00:00 2001 From: dailz Date: Wed, 15 Apr 2026 14:41:58 +0800 Subject: [PATCH] fix(avhw): add missing mut on video_filter for buffersink access --- src/avhw.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/avhw.rs b/src/avhw.rs index a6e48b8..a048575 100644 --- a/src/avhw.rs +++ b/src/avhw.rs @@ -165,7 +165,7 @@ impl EncState { // 3. Filter graph — must be built BEFORE encoder config so we can derive // hw_frames_ctx from the buffersink output (correct surface pool dimensions). - let video_filter = build_filter_graph( + let mut video_filter = build_filter_graph( &hw_device_ctx, &frames_rgb, width,