From ebf5264c93469890db5cea3543c3fe6fcae558f4 Mon Sep 17 00:00:00 2001 From: Lynne Date: Wed, 20 Nov 2024 02:59:48 +0100 Subject: [PATCH] ffv1enc_vulkan: fix PCM encoding This line was mysteriously deleted. --- libavcodec/vulkan/ffv1_enc_setup.comp | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/vulkan/ffv1_enc_setup.comp b/libavcodec/vulkan/ffv1_enc_setup.comp index d58050f281..b861e25f74 100644 --- a/libavcodec/vulkan/ffv1_enc_setup.comp +++ b/libavcodec/vulkan/ffv1_enc_setup.comp @@ -51,6 +51,7 @@ void init_slice(out SliceContext sc, const uint slice_idx) sc.slice_pos = ivec2(sxs, sys); sc.slice_dim = ivec2(sxe - sxs, sye - sys); sc.slice_rct_coef = ivec2(1, 1); + sc.slice_coding_mode = int(force_pcm == 1); rac_init(sc.c, OFFBUF(u8buf, out_data, slice_idx * slice_size_max),