fix(avhw): add missing mut on video_filter for buffersink access

This commit is contained in:
dailz
2026-04-15 14:41:58 +08:00
parent 833cbdfed3
commit 1065364261

View File

@@ -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,