mirror of https://github.com/HandBrake/HandBrake
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:
parent
fdf7ebdcbb
commit
6eae19a4a7
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue