Commit 16811b7d authored by Ghislain MARY's avatar Ghislain MARY

Do not automatically force keyframe when receiving PLI for VP8.

parent af6727a8
......@@ -535,7 +535,11 @@ static int enc_req_vfu(MSFilter *f, void *unused) {
static int enc_notify_pli(MSFilter *f, void *data) {
EncState *s = (EncState *)f->data;
s->force_keyframe = TRUE;
if (s->avpf_enabled == TRUE) {
s->invalid_frame_reported = TRUE;
} else {
s->force_keyframe = TRUE;
}
return 0;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment