mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-14 21:09:55 +02:00
AnimEncode API: kmax=0 should imply all keyframes.
Earlier, it wasn't adding any keyframes at all. Change-Id: If3824fc8e57548b8610a52e875fb9279f862fa57
This commit is contained in:
@ -427,7 +427,8 @@ typedef struct {
|
||||
// frames as needed to satisfy this criteria.
|
||||
// Note that these conditions should hold: kmax > kmin
|
||||
// and kmin >= kmax / 2 + 1. Also, if kmin == 0, then
|
||||
// key-frame insertion is disabled.
|
||||
// key-frame insertion is disabled; and if kmax == 0,
|
||||
// then all frames will be key-frames.
|
||||
int allow_mixed; // If true, use mixed compression mode; may choose
|
||||
// either lossy and lossless for each frame.
|
||||
|
||||
|
Reference in New Issue
Block a user