diff options
author | Lynne <dev@lynne.ee> | 2024-11-20 02:59:48 +0100 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2024-11-20 05:23:35 +0100 |
commit | ebf5264c93469890db5cea3543c3fe6fcae558f4 (patch) | |
tree | 49fe444389cb18e7ad0590ae528f95d2ea8676d4 | |
parent | eb536d97a0271cf5cbeae74533258f01c241bc5f (diff) | |
download | ffmpeg-ebf5264c93469890db5cea3543c3fe6fcae558f4.tar.gz |
ffv1enc_vulkan: fix PCM encoding
This line was mysteriously deleted.
-rw-r--r-- | libavcodec/vulkan/ffv1_enc_setup.comp | 1 |
1 files changed, 1 insertions, 0 deletions
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), |