mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-07-28 12:36:30 +00:00
Use half GOP size in h264
This commit is contained in:
parent
11295a28f6
commit
46067dec8f
1 changed files with 1 additions and 0 deletions
|
|
@ -91,6 +91,7 @@ func NewEncoder(w, h int, th int, opts *Options) (encoder *H264, err error) {
|
|||
param.i_width = C.int(w)
|
||||
param.i_height = C.int(h)
|
||||
param.i_log_level = C.int(opts.LogLevel)
|
||||
param.i_keyint_max = 120
|
||||
param.i_sync_lookahead = 0
|
||||
param.i_threads = C.int(th)
|
||||
if th != 1 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue