diff options
author | James Almer <jamrial@gmail.com> | 2017-09-01 14:56:05 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-09-04 17:48:41 -0300 |
commit | 6cadbb16e97117d9db3e2562370b23c8076b8bd8 (patch) | |
tree | 46f4b336250184e3cce2b5fb5e056731d493b1bd /libavcodec/avcodec.h | |
parent | b43cd67862467dfb8671663c1064b8d4105c4cec (diff) | |
download | ffmpeg-6cadbb16e97117d9db3e2562370b23c8076b8bd8.tar.gz |
avcodec: add AV_HWACCEL_CODEC_CAP_EXPERIMENTAL flag
This flag replaces the deprecated, non-prefixed HWACCEL_CODEC_CAP_EXPERIMENTAL
one.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 513236a863..7708bb2adb 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -3879,7 +3879,7 @@ typedef struct AVHWAccel { /** * Hardware accelerated codec capabilities. - * see HWACCEL_CODEC_CAP_* + * see AV_HWACCEL_CODEC_CAP_* */ int capabilities; @@ -3988,6 +3988,12 @@ typedef struct AVHWAccel { } AVHWAccel; /** + * HWAccel is experimental and is thus avoided in favor of non experimental + * codecs + */ +#define AV_HWACCEL_CODEC_CAP_EXPERIMENTAL 0x0200 + +/** * Hardware acceleration should be used for decoding even if the codec level * used is unknown or higher than the maximum supported level reported by the * hardware driver. |