[FFmpeg-cvslog] ffv1enc_vulkan: fix PCM encoding
Lynne
git at videolan.org
Wed Nov 20 06:24:23 EET 2024
ffmpeg | branch: master | Lynne <dev at lynne.ee> | Wed Nov 20 02:59:48 2024 +0100| [ebf5264c93469890db5cea3543c3fe6fcae558f4] | committer: Lynne
ffv1enc_vulkan: fix PCM encoding
This line was mysteriously deleted.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ebf5264c93469890db5cea3543c3fe6fcae558f4
---
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),
More information about the ffmpeg-cvslog
mailing list