Default to use faststart since we close events in a separate thread we can get away with this now

pull/3621/head
Isaac Connor 2022-10-12 19:15:04 -04:00
parent 67a399cd1f
commit a1595c0093
1 changed files with 2 additions and 2 deletions

View File

@ -532,9 +532,9 @@ bool VideoStore::open() {
const AVDictionaryEntry *movflags_entry = av_dict_get(opts, "movflags", nullptr, AV_DICT_MATCH_CASE);
if (!movflags_entry) {
Debug(1, "setting movflags to frag_keyframe+empty_moov");
Debug(1, "setting movflags to frag_keyframe+empty_moov+faststart");
// Shiboleth reports that this may break seeking in mp4 before it downloads
av_dict_set(&opts, "movflags", "frag_keyframe+empty_moov", 0);
av_dict_set(&opts, "movflags", "frag_keyframe+empty_moov+faststart", 0);
} else {
Debug(1, "using movflags %s", movflags_entry->value);
}