mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 14:44:17 +00:00
FS-7505: train video a little in beginning and make play file wait for it to train
This commit is contained in:
1 parent
d5f67d46db
commit
5b509a72ef
4 files changed
+82
-38
No files matched your search
@@ -222,7 +222,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_perform_file_open(const char *file,
|
||||
}
|
||||
}
|
||||
|
||||
if (switch_test_flag(fh, SWITCH_FILE_FLAG_VIDEO) && (flags & SWITCH_FILE_FLAG_WRITE)) {
|
||||
if (switch_test_flag(fh, SWITCH_FILE_FLAG_VIDEO)) {
|
||||
fh->pre_buffer_datalen = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user