Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2015-06-24 06:37:08 +0300
committerPhilip Langdale <philipl@overt.org>2015-08-17 01:02:33 +0300
commitd3eb317b862c3f5653f0ae8dfcb22edf1713ab5b (patch)
treecf1852ab09d2be9c0d25c2be339cf9eaae1d54b7 /ffmpeg_vdpau.c
parentd90fbde06a800d151c420ca32e4e0a015b9076f9 (diff)
ffmpeg_vdpau: Ignore decoder's max supported level
The h264 decoder reports 4.1 as its maximum level, but it will decode 5.1 4K video just fine. In practice, the published level limits in vdpau do not communicate anything that's actually useful.
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);