[vlc-commits] [Git][videolan/vlc][3.0.x] decoder: fix number of reference frames for AV1
Hugo Beauzée-Luyssen (@chouquette)
gitlab at videolan.org
Tue Mar 29 20:07:57 UTC 2022
Hugo Beauzée-Luyssen pushed to branch 3.0.x at VideoLAN / VLC
Commits:
a77c7cd6 by Marvin Scholz at 2022-03-29T19:21:18+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.
(cherry picked from commit 8ef84bf711b9eb20a2c68fe6baf6386f6c288c21)
Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>
- - - - -
1 changed file:
- src/input/decoder.c
Changes:
=====================================
src/input/decoder.c
=====================================
@@ -511,7 +511,7 @@ static int vout_update_format( decoder_t *p_dec )
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_VP5:
case VLC_CODEC_VP6:
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a77c7cd6b8059846a362de389ceb2b217287c5e3
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a77c7cd6b8059846a362de389ceb2b217287c5e3
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