]> git.sesse.net Git - ffmpeg/blobdiff - ffmpeg_vdpau.c
Merge commit '47b447aaff1bc30ba986ca757346a2c5c95b786a'
[ffmpeg] / ffmpeg_vdpau.c
index b05e557613e2a7545066396e32f9e63c06b83191..92a98eabe8c18288b80e52d5167971653f5c06b7 100644 (file)
@@ -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);