mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
avcodec/cuviddec: signal that the decoder sets all output frame properties
Fixes memleaks described in ticket #9082. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
854a9d8c6e
commit
6b4805686c
1 changed files with 1 additions and 0 deletions
|
|
@ -1116,6 +1116,7 @@ static const AVCodecHWConfigInternal *const cuvid_hw_configs[] = {
|
|||
.flush = cuvid_flush, \
|
||||
.bsfs = bsf_name, \
|
||||
.capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_AVOID_PROBING | AV_CODEC_CAP_HARDWARE, \
|
||||
.caps_internal = FF_CODEC_CAP_SETS_FRAME_PROPS, \
|
||||
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_CUDA, \
|
||||
AV_PIX_FMT_NV12, \
|
||||
AV_PIX_FMT_P010, \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue