diff --git a/video/vaapi.c b/video/vaapi.c index 666fd00f53..018cf38a85 100644 --- a/video/vaapi.c +++ b/video/vaapi.c @@ -176,7 +176,7 @@ static bool is_emulated(struct AVBufferRef *hw_device_ctx) AVVAAPIDeviceContext *vactx = hwctx->hwctx; const char *s = vaQueryVendorString(vactx->display); - return s && strstr(s, "VDPAU backend"); + return s && (strstr(s, "VDPAU backend") || strstr(s, "NVDEC driver")); }