avcodec/nvenc: don't disable b-frames by default

Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
This commit is contained in:
Ricardo Monteiro 2021-02-19 11:47:37 +01:00 committed by Timo Rothenpieler
parent 82a2cbf820
commit a0949d0bcb
2 changed files with 2 additions and 2 deletions

View File

@ -193,7 +193,7 @@ static const AVCodecDefault defaults[] = {
{ "qblur", "-1" }, { "qblur", "-1" },
{ "qcomp", "-1" }, { "qcomp", "-1" },
{ "g", "250" }, { "g", "250" },
{ "bf", "0" }, { "bf", "-1" },
{ "refs", "0" }, { "refs", "0" },
{ NULL }, { NULL },
}; };

View File

@ -174,7 +174,7 @@ static const AVCodecDefault defaults[] = {
{ "qblur", "-1" }, { "qblur", "-1" },
{ "qcomp", "-1" }, { "qcomp", "-1" },
{ "g", "250" }, { "g", "250" },
{ "bf", "0" }, { "bf", "-1" },
{ "refs", "0" }, { "refs", "0" },
{ NULL }, { NULL },
}; };