[FFmpeg-cvslog] avcodec/cuviddec: signal that the decoder sets all output frame properties
James Almer
git at videolan.org
Wed Jun 23 21:14:36 EEST 2021
ffmpeg | branch: release/4.4 | James Almer <jamrial at gmail.com> | Fri Jun 18 18:59:25 2021 -0300| [6136f1398a8b340b3630cf5490d6d75274221591] | committer: James Almer
avcodec/cuviddec: signal that the decoder sets all output frame properties
Fixes memleaks described in ticket #9082.
Signed-off-by: James Almer <jamrial at gmail.com>
(cherry picked from commit 6b4805686c9991fbb474e9f3488b76a91bf4cd22)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6136f1398a8b340b3630cf5490d6d75274221591
---
libavcodec/cuviddec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/cuviddec.c b/libavcodec/cuviddec.c
index ec57afdefe..5c135d1714 100644
--- a/libavcodec/cuviddec.c
+++ b/libavcodec/cuviddec.c
@@ -1150,6 +1150,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, \
More information about the ffmpeg-cvslog
mailing list