summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_vdpaupp.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/filter/vf_vdpaupp.c')
-rw-r--r--video/filter/vf_vdpaupp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/filter/vf_vdpaupp.c b/video/filter/vf_vdpaupp.c
index a2a5ea6b5f..cf8a177088 100644
--- a/video/filter/vf_vdpaupp.c
+++ b/video/filter/vf_vdpaupp.c
@@ -150,7 +150,7 @@ static bool output_field(struct vf_instance *vf, int pos)
static int filter_ext(struct vf_instance *vf, struct mp_image *mpi)
{
struct vf_priv_s *p = vf->priv;
- int maxbuffer = p->opts.deint ? MP_ARRAY_SIZE(p->buffered) : 1;
+ int maxbuffer = p->opts.deint ? MP_ARRAY_SIZE(p->buffered) : 2;
bool eof = !mpi;
if (mpi && mpi->imgfmt != IMGFMT_VDPAU) {