va_surface: fix the surface count when calling setup_avcodec_ctx
commitb475fe41a472c3972217889770c5a4357fbd346c
authorSteve Lhomme <robUx4@videolabs.io>
Thu, 22 Jun 2017 16:29:09 +0000 (22 18:29 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 22 Jun 2017 16:37:32 +0000 (22 18:37 +0200)
tree4fe6e7e238f3a848e6dcf661f9f6c98ddf668a06
parent719d632e39171a7dcd67b017ff1c8785f725215f
va_surface: fix the surface count when calling setup_avcodec_ctx

fix black screen with DXVA2

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/codec/avcodec/va_surface.c