mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-26 21:24:16 +00:00
FS-10050: [core] chromakey add flag to detect keyframe
This commit is contained in:
1 parent
8e08124a75
commit
129f6eb69b
4 files changed
+28
-8
No files matched your search
@@ -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