diff --git a/libavcodec/nvenc_h264.c b/libavcodec/nvenc_h264.c index 20f47ec727..5fcbcb9f4f 100644 --- a/libavcodec/nvenc_h264.c +++ b/libavcodec/nvenc_h264.c @@ -131,6 +131,7 @@ static const AVCodecDefault defaults[] = { { "qcomp", "-1" }, { "g", "250" }, { "bf", "0" }, + { "refs", "0" }, { NULL }, }; diff --git a/libavcodec/nvenc_hevc.c b/libavcodec/nvenc_hevc.c index 66db1457a5..81da9d222d 100644 --- a/libavcodec/nvenc_hevc.c +++ b/libavcodec/nvenc_hevc.c @@ -128,6 +128,7 @@ static const AVCodecDefault defaults[] = { { "qcomp", "-1" }, { "g", "250" }, { "bf", "0" }, + { "refs", "0" }, { NULL }, };