提交 b3675187 authored 作者: Anthony Minessale's avatar Anthony Minessale 提交者: Mike Jerris

FS-9705 #resolve [Files using prebuffer do not play properly when seeking back…

FS-9705 #resolve [Files using prebuffer do not play properly when seeking back to the beginning once the file is done playing]
上级 4c683a91
...@@ -399,6 +399,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_file_read(switch_file_handle_t *fh, ...@@ -399,6 +399,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_file_read(switch_file_handle_t *fh,
if (switch_test_flag(fh, SWITCH_FILE_DONE)) { if (switch_test_flag(fh, SWITCH_FILE_DONE)) {
switch_clear_flag_locked(fh, SWITCH_FILE_DONE); switch_clear_flag_locked(fh, SWITCH_FILE_DONE);
switch_clear_flag_locked(fh, SWITCH_FILE_BUFFER_DONE);
*len = 0; *len = 0;
return SWITCH_STATUS_FALSE; return SWITCH_STATUS_FALSE;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论