libhb: mark all AV1 frames as ref

Fix slow seeking on Apple software, either we were
marking ref frames as disposable, or something is
broken in Apple's AVFoundation.
This commit is contained in:
Damiano Galassi 2025-12-08 11:13:37 +01:00
parent fdf7ebdcbb
commit 6eae19a4a7
No known key found for this signature in database
GPG Key ID: 5452E231DFDBCA11
1 changed files with 1 additions and 4 deletions

View File

@ -583,10 +583,7 @@ static int receive(hb_work_object_t *w, hb_buffer_t **out, int done)
break; break;
} }
if (headerPtr->pic_type != EB_AV1_NON_REF_PICTURE) buf->s.flags |= HB_FLAG_FRAMETYPE_REF;
{
buf->s.flags |= HB_FLAG_FRAMETYPE_REF;
}
svt_av1_enc_release_out_buffer(&headerPtr); svt_av1_enc_release_out_buffer(&headerPtr);