mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
FS-10050: [core] chromakey add flag to detect keyframe
This commit is contained in:
@@ -1178,6 +1178,7 @@ static switch_status_t switch_vpx_decode(switch_codec_t *codec, switch_frame_t *
|
||||
}
|
||||
|
||||
if (is_keyframe) {
|
||||
switch_set_flag(frame, SFF_IS_KEYFRAME);
|
||||
if (context->got_key_frame <= 0) {
|
||||
context->got_key_frame = 1;
|
||||
context->no_key_frame = 0;
|
||||
|
||||
Reference in New Issue
Block a user