Remove deprecated api.

This commit is contained in:
Damiano Galassi committed 2016-07-26 20:33:51 +02:00
1 parent 982b36daf0
commit 4c2323a0c7
8 files changed
+31 -37

No files matched your search

+2 -2
View File
@@ -93,9 +93,9 @@
_ss = [[SBSubSerializer alloc] init];
if ([self.fileURL.pathExtension caseInsensitiveCompare: @"srt"] == NSOrderedSame) {
success = LoadSRTFromPath(self.fileURL.path, _ss, &duration);
success = LoadSRTFromURL(self.fileURL, _ss, &duration);
} else if ([self.fileURL.pathExtension caseInsensitiveCompare: @"smi"] == NSOrderedSame) {
success = LoadSMIFromPath(self.fileURL.path, _ss, 1);
success = LoadSMIFromURL(self.fileURL, _ss, 1);
}
[newTrack setDuration:duration];