[FFmpeg-cvslog] ffv1enc_vulkan: clip micro_version to 3 for level 4
Lynne
git at videolan.org
Mon Mar 17 09:52:21 EET 2025
ffmpeg | branch: master | Lynne <dev at lynne.ee> | Fri Mar 14 22:09:11 2025 +0000| [dd7cc557affff5040d3e8a9a072f01155b591607] | committer: Lynne
ffv1enc_vulkan: clip micro_version to 3 for level 4
This unbreaks level 4 encoding.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dd7cc557affff5040d3e8a9a072f01155b591607
---
libavcodec/ffv1enc_vulkan.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libavcodec/ffv1enc_vulkan.c b/libavcodec/ffv1enc_vulkan.c
index e02130c47b..a72ac47f8b 100644
--- a/libavcodec/ffv1enc_vulkan.c
+++ b/libavcodec/ffv1enc_vulkan.c
@@ -1398,6 +1398,10 @@ static av_cold int vulkan_encode_ffv1_init(AVCodecContext *avctx)
return AVERROR_INVALIDDATA;
}
+ /* We target version 4.3 */
+ if (f->version == 4 && f->micro_version > 4)
+ f->micro_version = 3;
+
//if (fv->ctx.ac == AC_GOLOMB_RICE) {
if (0) {
int w_a = FFALIGN(avctx->width, LG_ALIGN_W);
More information about the ffmpeg-cvslog
mailing list