set hwcodec key frame interval to max

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages 2023-03-30 20:08:34 +08:00
parent cc1253b7d1
commit 54a809f499

View File

@ -30,7 +30,7 @@ const CFG_KEY_DECODER: &str = "bestHwDecoders";
const DEFAULT_PIXFMT: AVPixelFormat = AVPixelFormat::AV_PIX_FMT_YUV420P;
pub const DEFAULT_TIME_BASE: [i32; 2] = [1, 30];
const DEFAULT_GOP: i32 = 60;
const DEFAULT_GOP: i32 = i32::MAX;
const DEFAULT_HW_QUALITY: Quality = Quality_Default;
const DEFAULT_RC: RateControl = RC_DEFAULT;