From d565fef1b83b6c5f8afb32229260b79f67c68109 Mon Sep 17 00:00:00 2001 From: RĂ©mi Denis-Courmont Date: Tue, 14 Oct 2014 12:59:54 +0300 Subject: vdpau: add AV_HWACCEL_FLAG_IGNORE_LEVEL to skip the codec level check Decoding acceleration may work even if the codec level is higher than the stated limit of the VDPAU driver. Or the problem may be considered acceptable by the user. This flag allows skipping the codec level capability checks and proceed with decoding. Applications should obviously not set this flag by default, but only if the user explicitly requested this behavior (and presumably knows how to turn it back off if it fails). Signed-off-by: Anton Khirnov --- libavcodec/vdpau_internal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/vdpau_internal.h') diff --git a/libavcodec/vdpau_internal.h b/libavcodec/vdpau_internal.h index 69cd455160..16493b0741 100644 --- a/libavcodec/vdpau_internal.h +++ b/libavcodec/vdpau_internal.h @@ -53,6 +53,7 @@ typedef struct VDPAUHWContext { VdpDevice device; VdpGetProcAddress *get_proc_address; char reset; + unsigned char flags; } VDPAUHWContext; typedef struct VDPAUContext { -- cgit v1.2.3