mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
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);
|
||||
else if (Track != TrackSelection::None)
|
||||
FFMS_TrackIndexSettings(Indexer, static_cast<int>(Track), 1, 0);
|
||||
FFMS_TrackTypeIndexSettings(Indexer, FFMS_TYPE_VIDEO, 1, 0);
|
||||
FFMS_SetProgressCallback(Indexer, callback, ps);
|
||||
Index = FFMS_DoIndexing2(Indexer, IndexEH, &ErrInfo);
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user