diff --git a/src/mod/formats/mod_png/mod_png.c b/src/mod/formats/mod_png/mod_png.c index 8720de0226..5e3eeb0138 100644 --- a/src/mod/formats/mod_png/mod_png.c +++ b/src/mod/formats/mod_png/mod_png.c @@ -163,6 +163,9 @@ static switch_status_t png_file_read_video(switch_file_handle_t *handle, switch_ frame->img = dup; context->sent++; } else { + if ((flags && SVR_BLOCK)) { + switch_yield(5000); + } return SWITCH_STATUS_BREAK; }