summaryrefslogtreecommitdiffstats
path: root/libavutil/imgutils.c
diff options
context:
space:
mode:
authorSrinath K R <[email protected]>2017-06-08 14:43:54 +0530
committerLuca Barbato <[email protected]>2017-06-10 17:30:32 +0200
commit98ea98069b40c34aa7b762096f8f380012a7dd84 (patch)
tree7c3aaafc943645421d8ad6ddf95e05751808926a /libavutil/imgutils.c
parentf9e7a2f95a7194a8736cc1416a03a1a0155a3e9f (diff)
nvenc: Add default value for AVCodecContext::refs
AVCodecContext::refs is used to control the DPB size to be used by the encoder. The default value for AVCodecContext::refs as set in libavcodec/options_table.h is 1. This patch sets AVCodecContext::refs to 0 for h264_nvenc and hevc_nvenc in order to let the driver take the decision of the correct DPB size to use in all cases. Signed-off-by: Srinath K R <[email protected]> Signed-off-by: Luca Barbato <[email protected]>
Diffstat (limited to 'libavutil/imgutils.c')
0 files changed, 0 insertions, 0 deletions