h264: Fix HWACCEL_MAX for D3D11
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
674b79148f
commit
08d006f5a8
@ -812,6 +812,7 @@ static void init_scan_tables(H264Context *h)
|
|||||||
static enum AVPixelFormat get_pixel_format(H264Context *h)
|
static enum AVPixelFormat get_pixel_format(H264Context *h)
|
||||||
{
|
{
|
||||||
#define HWACCEL_MAX (CONFIG_H264_DXVA2_HWACCEL + \
|
#define HWACCEL_MAX (CONFIG_H264_DXVA2_HWACCEL + \
|
||||||
|
CONFIG_H264_D3D11VA_HWACCEL + \
|
||||||
CONFIG_H264_VAAPI_HWACCEL + \
|
CONFIG_H264_VAAPI_HWACCEL + \
|
||||||
(CONFIG_H264_VDA_HWACCEL * 2) + \
|
(CONFIG_H264_VDA_HWACCEL * 2) + \
|
||||||
CONFIG_H264_VDPAU_HWACCEL)
|
CONFIG_H264_VDPAU_HWACCEL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user