Skip to content

Commit

Permalink
reverted maxNumRefFrames back to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
mai authored and mai committed Jul 23, 2019
1 parent df44b9a commit 08c55c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alvr_server/VideoEncoderNVENC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ void VideoEncoderNVENC::FillEncodeConfig(NV_ENC_INITIALIZE_PARAMS &initializePar

// 16 is recommended when using reference frame invalidation. But it has caused bad visual quality.
// Now, use 0 (use default).
int maxNumRefFrames = 16;
int maxNumRefFrames = 0;

if (mCodec == ALVR_CODEC_H264) {
auto &config = encodeConfig.encodeCodecConfig.h264Config;
Expand Down

0 comments on commit 08c55c8

Please sign in to comment.