Skip to content

Commit

Permalink
Use symbolic constant VPX_CBR instead of 1
Browse files Browse the repository at this point in the history
Change-Id: Idae94cfc6d7a882691deeb4fa3ce0015f80ed937
  • Loading branch information
wantehchang committed Nov 7, 2023
1 parent 6457f06 commit c732fa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vpxenc.c
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ static struct stream_state *new_stream(struct VpxEncoderConfig *global,

/* Default lag_in_frames is 0 in realtime mode CBR mode*/
if (global->deadline == VPX_DL_REALTIME &&
stream->config.cfg.rc_end_usage == 1)
stream->config.cfg.rc_end_usage == VPX_CBR)
stream->config.cfg.g_lag_in_frames = 0;
}

Expand Down

0 comments on commit c732fa7

Please sign in to comment.