hw_base_encode: Support refs option to limit number of references

Set default value to 0 to keep the old behavior of using maximum number
of references.
This commit is contained in:
David Rosca
2025-06-25 08:46:23 +02:00
committed by Lynne
parent 7d606ef0cc
commit ac5303a5b9
10 changed files with 14 additions and 0 deletions

View File

@@ -762,6 +762,7 @@ static const FFCodecDefault d3d12va_encode_hevc_defaults[] = {
{ "b_qoffset", "0" },
{ "qmin", "-1" },
{ "qmax", "-1" },
{ "refs", "0" },
{ NULL },
};