summaryrefslogtreecommitdiff
path: root/ffmpeg_vdpau.c
diff options
context:
space:
mode:
Diffstat (limited to 'ffmpeg_vdpau.c')
-rw-r--r--ffmpeg_vdpau.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ffmpeg_vdpau.c b/ffmpeg_vdpau.c
index b05e557613..92a98eabe8 100644
--- a/ffmpeg_vdpau.c
+++ b/ffmpeg_vdpau.c
@@ -289,7 +289,8 @@ do {
s->hwaccel_context = vdpau_ctx;
} else
- if (av_vdpau_bind_context(s, ctx->device, ctx->get_proc_address, 0))
+ if (av_vdpau_bind_context(s, ctx->device, ctx->get_proc_address,
+ AV_HWACCEL_FLAG_IGNORE_LEVEL))
goto fail;
ctx->get_information_string(&vendor);