[FFmpeg-cvslog] avcodec/nvenc: don't disable b-frames by default
Ricardo Monteiro
git at videolan.org
Mon Feb 22 17:37:19 EET 2021
ffmpeg | branch: master | Ricardo Monteiro <rmonteiro at nvidia.com> | Fri Feb 19 11:47:37 2021 +0100| [a0949d0bcb0eee2f3fffcf9a4810c0295d14c0dc] | committer: Timo Rothenpieler
avcodec/nvenc: don't disable b-frames by default
Signed-off-by: Timo Rothenpieler <timo at rothenpieler.org>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a0949d0bcb0eee2f3fffcf9a4810c0295d14c0dc
---
libavcodec/nvenc_h264.c | 2 +-
libavcodec/nvenc_hevc.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/nvenc_h264.c b/libavcodec/nvenc_h264.c
index 750ff33c2e..4c118d3138 100644
--- a/libavcodec/nvenc_h264.c
+++ b/libavcodec/nvenc_h264.c
@@ -193,7 +193,7 @@ static const AVCodecDefault defaults[] = {
{ "qblur", "-1" },
{ "qcomp", "-1" },
{ "g", "250" },
- { "bf", "0" },
+ { "bf", "-1" },
{ "refs", "0" },
{ NULL },
};
diff --git a/libavcodec/nvenc_hevc.c b/libavcodec/nvenc_hevc.c
index 37c2ebe388..031d2ef44e 100644
--- a/libavcodec/nvenc_hevc.c
+++ b/libavcodec/nvenc_hevc.c
@@ -174,7 +174,7 @@ static const AVCodecDefault defaults[] = {
{ "qblur", "-1" },
{ "qcomp", "-1" },
{ "g", "250" },
- { "bf", "0" },
+ { "bf", "-1" },
{ "refs", "0" },
{ NULL },
};
More information about the ffmpeg-cvslog
mailing list