FS-7512: slow down in block mod
This commit is contained in:
parent
74cff6a744
commit
8c56410d7f
|
@ -163,6 +163,9 @@ static switch_status_t png_file_read_video(switch_file_handle_t *handle, switch_
|
||||||
frame->img = dup;
|
frame->img = dup;
|
||||||
context->sent++;
|
context->sent++;
|
||||||
} else {
|
} else {
|
||||||
|
if ((flags && SVR_BLOCK)) {
|
||||||
|
switch_yield(5000);
|
||||||
|
}
|
||||||
return SWITCH_STATUS_BREAK;
|
return SWITCH_STATUS_BREAK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue