[vlc-commits] [Git][videolan/vlc][master] decoder: fix number of reference frames for AV1
Hugo Beauzée-Luyssen (@chouquette)
gitlab at videolan.org
Thu Mar 24 15:11:43 UTC 2022
Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC
Commits:
8ef84bf7 by Marvin Scholz at 2022-03-24T14:39:14+00:00
decoder: fix number of reference frames for AV1
AV1 needs 8 reference frames, as defined by NUM_REF_FRAMES in the
AV1 spec.
- - - - -
1 changed file:
- src/input/decoder.c
Changes:
=====================================
src/input/decoder.c
=====================================
@@ -440,7 +440,7 @@ static int ModuleThread_UpdateVideoFormat( decoder_t *p_dec, vlc_video_context *
dpb_size = 18;
break;
case VLC_CODEC_AV1:
- dpb_size = 10;
+ dpb_size = 8; /* NUM_REF_FRAMES from the AV1 spec */
break;
case VLC_CODEC_MP4V:
case VLC_CODEC_VP5:
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8ef84bf711b9eb20a2c68fe6baf6386f6c288c21
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8ef84bf711b9eb20a2c68fe6baf6386f6c288c21
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list