mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-01 03:05:50 +00:00
FS-9705 #resolve [Files using prebuffer do not play properly when seeking back to the beginning once the file is done playing]
This commit is contained in:
parent
4c683a9130
commit
b367518755
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user