Skip to content

Commit

Permalink
fix delay
Browse files Browse the repository at this point in the history
the name isn't actually descriptive on what it actually does, it actually means how many surfaces to encode at a time
  • Loading branch information
Vixea committed Sep 3, 2023
1 parent 4e3aa3b commit 3695c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alvr/server/cpp/platform/linux/EncodePipelineNvEnc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ alvr::EncodePipelineNvEnc::EncodePipelineNvEnc(Renderer *render,

av_opt_set_int(encoder_ctx->priv_data, "tune", settings.m_nvencTuningPreset, 0);
av_opt_set_int(encoder_ctx->priv_data, "zerolatency", 1, 0);
av_opt_set_int(encoder_ctx->priv_data, "delay", 0, 0);
av_opt_set_int(encoder_ctx->priv_data, "delay", 1, 0);
av_opt_set_int(encoder_ctx->priv_data, "forced-idr", 1, 0);

/**
Expand Down

0 comments on commit 3695c1c

Please sign in to comment.