Skip to content

avcodec: vdpau: do not rely on AVCodecContext->refs for HEVC

Steve Lhomme requested to merge robUx4/vlc:vdpau-refs-fix into master

lavc doesn't set this value to a meaningful value. Only the H264 codec has this value properly set.

Bogus log introduced in 7905bf1e. Before the code would rely on refs which is one and add 5 arbitrary pictures which was OK until HEVC and VP9 were introduced.

Merge request reports