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