diff options
author | Ingo Brückl <ib@wupperonline.de> | 2022-03-11 13:24:36 +0100 |
---|---|---|
committer | Haihao Xiang <haihao.xiang@intel.com> | 2022-04-06 17:12:26 +0800 |
commit | 02111be0c14ee30c2e27a3634c60e278136b5bbd (patch) | |
tree | c892f328ce08bc44dc986032e562dce93e743377 /libavcodec/dcaadpcm.c | |
parent | 67c1078046af19d7649b50106fb407302a0e5b61 (diff) | |
download | ffmpeg-02111be0c14ee30c2e27a3634c60e278136b5bbd.tar.gz |
libavutil/hwcontext_vaapi: Re-enable support for libva v1
Commit e050959103f375e6494937fa28ef2c4d2d15c9ef implemented passing in
modifiers by using the PRIME_2 memory type, which only exists in v2 of
the library.
To still support v1 of the library, conditionally compile using
VA_CHECK_VERSION() for both the new code and the old code before
the commit.
Note PRIME_2 memory was introduced from VA-API 1.1, so use
VA_CHECK_VERSION(1, 1, 0) instead of VA_CHECK_VERSION(2, 0, 0) (Haihao)
Signed-off-by: Ingo Brückl <ib@wupperonline.de>
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Diffstat (limited to 'libavcodec/dcaadpcm.c')
0 files changed, 0 insertions, 0 deletions