diff options
author | Philip Langdale <philipl@overt.org> | 2018-10-07 06:20:58 +0300 |
---|---|---|
committer | Philip Langdale <philipl@overt.org> | 2019-02-16 19:47:36 +0300 |
commit | 83c7ac2e47efd96927127c1c385cdbb5fb53cb02 (patch) | |
tree | 81acf95f1623d5d1d15e4d282a4d15f472499b77 /libavcodec/nvdec_vp8.c | |
parent | e06ccfbe1d33c00d6f1df202a514219c7fdb7c03 (diff) |
avcodec/nvdec: Explicitly mark codecs that support 444 output formats
With the introduction of HEVC 444 support, we technically have two
codecs that can handle 444 - HEVC and MJPEG. In the case of MJPEG,
it can decode, but can only output one of the semi-planar formats.
That means we need additional logic to decide whether to use a
444 output format or not.
Diffstat (limited to 'libavcodec/nvdec_vp8.c')
-rw-r--r-- | libavcodec/nvdec_vp8.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/nvdec_vp8.c b/libavcodec/nvdec_vp8.c index 7b37445613..9c4608d8cf 100644 --- a/libavcodec/nvdec_vp8.c +++ b/libavcodec/nvdec_vp8.c @@ -87,7 +87,7 @@ static int nvdec_vp8_frame_params(AVCodecContext *avctx, AVBufferRef *hw_frames_ctx) { // VP8 uses a fixed size pool of 3 possible reference frames - return ff_nvdec_frame_params(avctx, hw_frames_ctx, 3); + return ff_nvdec_frame_params(avctx, hw_frames_ctx, 3, 0); } AVHWAccel ff_vp8_nvdec_hwaccel = { |