Ensure FFMS always indexes video tracks

Matching historical behavior with DoIndexing, which is assumed throughout the codebase
This commit is contained in:
Ryan Lucia 2018-12-30 14:08:21 -05:00
parent 5a554a586e
commit ad52260665
1 changed files with 1 additions and 0 deletions

View File

@ -100,6 +100,7 @@ FFMS_Index *FFmpegSourceProvider::DoIndexing(FFMS_Indexer *Indexer,
FFMS_TrackTypeIndexSettings(Indexer, FFMS_TYPE_AUDIO, 1, 0); FFMS_TrackTypeIndexSettings(Indexer, FFMS_TYPE_AUDIO, 1, 0);
else if (Track != TrackSelection::None) else if (Track != TrackSelection::None)
FFMS_TrackIndexSettings(Indexer, static_cast<int>(Track), 1, 0); FFMS_TrackIndexSettings(Indexer, static_cast<int>(Track), 1, 0);
FFMS_TrackTypeIndexSettings(Indexer, FFMS_TYPE_VIDEO, 1, 0);
FFMS_SetProgressCallback(Indexer, callback, ps); FFMS_SetProgressCallback(Indexer, callback, ps);
Index = FFMS_DoIndexing2(Indexer, IndexEH, &ErrInfo); Index = FFMS_DoIndexing2(Indexer, IndexEH, &ErrInfo);
#else #else