mirror of https://github.com/odrling/Aegisub
Ensure FFMS always indexes video tracks
Matching historical behavior with DoIndexing, which is assumed throughout the codebase
This commit is contained in:
parent
5a554a586e
commit
ad52260665
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue