projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6457f06
)
Use symbolic constant VPX_CBR instead of 1
author
Wan-Teh Chang
<wtc@google.com>
Tue, 7 Nov 2023 23:47:43 +0000
(15:47 -0800)
committer
Wan-Teh Chang
<wtc@google.com>
Tue, 7 Nov 2023 23:47:43 +0000
(15:47 -0800)
Change-Id: Idae94cfc6d7a882691deeb4fa3ce0015f80ed937
vpxenc.c
patch
|
blob
|
history
diff --git
a/vpxenc.c
b/vpxenc.c
index
38d69a1
..
d20bd3f
100644
(file)
--- a/
vpxenc.c
+++ b/
vpxenc.c
@@
-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;
}