FS-7505: train video a little in beginning and make play file wait for it to train

This commit is contained in:
Anthony Minessale authored and Michael Jerris committed 2015-05-28 12:47:07 -05:00
1 parent d5f67d46db
commit 5b509a72ef
4 files changed
+82 -38

No files matched your search

+1 -1
View File
@@ -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;
}