X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=ffmpeg_vdpau.c;h=92a98eabe8c18288b80e52d5167971653f5c06b7;hb=e2b19a533dbb4cb0fba85261ea835316381bc907;hp=b05e557613e2a7545066396e32f9e63c06b83191;hpb=9ca19971bcdd1af39680c15a0319d57505b9542b;p=ffmpeg diff --git a/ffmpeg_vdpau.c b/ffmpeg_vdpau.c index b05e557613e..92a98eabe8c 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);