FS-9267 fix regression
This commit is contained in:
parent
7f623fc0c8
commit
0ab9f5156e
|
@ -11727,10 +11727,12 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_read_video_frame(switch_core
|
|||
}
|
||||
}
|
||||
|
||||
if (patchers) {
|
||||
switch_set_flag((*frame)->codec, SWITCH_CODEC_FLAG_VIDEO_PATCHING);
|
||||
} else {
|
||||
switch_clear_flag((*frame)->codec, SWITCH_CODEC_FLAG_VIDEO_PATCHING);
|
||||
if ((*frame)->codec) {
|
||||
if (patchers) {
|
||||
switch_set_flag((*frame)->codec, SWITCH_CODEC_FLAG_VIDEO_PATCHING);
|
||||
} else {
|
||||
switch_clear_flag((*frame)->codec, SWITCH_CODEC_FLAG_VIDEO_PATCHING);
|
||||
}
|
||||
}
|
||||
|
||||
if (status == SWITCH_STATUS_SUCCESS) {
|
||||
|
|
Loading…
Reference in New Issue