WIP: force keyframe based on frame refresh flags
Change-Id: I78d3001ebc02cb5a06d256b5d9ec6aa96f1f8bc0
This commit is contained in:
@@ -4629,7 +4629,12 @@ int vp8_get_compressed_data(VP8_COMP *cpi, unsigned int *frame_flags, unsigned l
|
|||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
cm = &cpi->common;
|
cm = &cpi->common;
|
||||||
|
if(cm->refresh_last_frame && cm->refresh_golden_frame && cm->refresh_alt_ref_frame)
|
||||||
|
{
|
||||||
|
cm->refresh_golden_frame = 0;
|
||||||
|
cm->refresh_alt_ref_frame = 0;
|
||||||
|
*frame_flags |= 1;
|
||||||
|
}
|
||||||
if (setjmp(cpi->common.error.jmp))
|
if (setjmp(cpi->common.error.jmp))
|
||||||
{
|
{
|
||||||
cpi->common.error.setjmp = 0;
|
cpi->common.error.setjmp = 0;
|
||||||
|
Reference in New Issue
Block a user