Do not pass 0 duration samples in mkv importer.
This commit is contained in:
1 parent
6f31037011
commit
36ba0543a9
1 file changed
+4
@@ -896,6 +896,10 @@ static NSString * TrackNameToString(TrackInfo *track)
|
||||
}
|
||||
}
|
||||
|
||||
if (duration == 0) {
|
||||
duration = 10000;
|
||||
}
|
||||
|
||||
// offset calculation
|
||||
int64_t offset = currentSample->startTime - demuxHelper->currentTime;
|
||||
|
||||
|
||||
Reference in new issue
Block a user