directx_va: add an extra buffer when decoding MPEG-2 (part 2)
#18731 is not fixed in some cases because the deinterlacer may keep more than
one frame for later reference. The maximum extra frame currently supported is 2
so we need to add 2 frames to the decoder as they will be held for a while.
Theoretically the problem could happen with H264 but we usually have more frames
than we need.
Signed-off-by:
Jean-Baptiste Kempf <jb@videolan.org>
Please register or sign in to comment