ffv1enc_vulkan: clip micro_version to 3 for level 4
This unbreaks level 4 encoding.
This commit is contained in:
parent
b2ebe9884e
commit
dd7cc557af
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue