Skip to content

Commit

Permalink
[nvenc] Enable Intra Refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
TheElixZammuto authored Jul 17, 2024
1 parent b93756a commit 4840aaa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/nvenc/nvenc_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,10 @@ namespace nvenc {
set_ref_frames(format_config.maxNumRefFramesInDPB, format_config.numRefL0, 5);
set_minqp_if_enabled(config.min_qp_hevc);
fill_h264_hevc_vui(format_config.hevcVUIParameters);
format_config.enableIntraRefresh = 1;
format_config.singleSliceIntraRefresh = 1;
format_config.intraRefreshPeriod = 300;
format_config.intraRefreshCnt = 299;
break;
}

Expand Down

0 comments on commit 4840aaa

Please sign in to comment.