diff options
author | Srinath K R <skr@nvidia.com> | 2017-06-01 13:28:07 +0530 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2017-06-01 11:28:30 +0200 |
commit | d8da329cc364b36dabbb3162f788f958d8b6ea46 (patch) | |
tree | 4bfcd224b7f1042f9b806966740748b6d7a91097 /libavcodec/mpc.h | |
parent | bd1179e36badfed93b3d7427f5e1752e1249342c (diff) | |
download | ffmpeg-d8da329cc364b36dabbb3162f788f958d8b6ea46.tar.gz |
avcodec/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 <skr@nvidia.com>
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'libavcodec/mpc.h')
0 files changed, 0 insertions, 0 deletions