Skip to content

Commit

Permalink
FS-7512: slow down in block mod
Browse files Browse the repository at this point in the history
  • Loading branch information
seven1240 authored and mjerris committed May 28, 2015
1 parent 74cff6a commit 8c56410
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mod/formats/mod_png/mod_png.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 8c56410

Please sign in to comment.