Add back a method that got lost in the google code -> bitbucket port.
This commit is contained in:
1 parent
ee17967fa3
commit
249aff6245
1 file changed
+13
@@ -18,6 +18,19 @@ extern NSString * const QTTrackLanguageAttribute; // NSNumber (long)
|
|||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
@implementation QTMovie (QTMovieSublerExtras)
|
||||||
|
|
||||||
|
- (QTTrack *)trackWithTrackID:(NSInteger)trackID
|
||||||
|
{
|
||||||
|
for (QTTrack *track in [self tracks])
|
||||||
|
if (trackID == [[track attributeForKey:QTTrackIDAttribute] integerValue])
|
||||||
|
return track;
|
||||||
|
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
@interface QTMovie (QTMovie_MetadataReading_10_6_Fix)
|
@interface QTMovie (QTMovie_MetadataReading_10_6_Fix)
|
||||||
|
|
||||||
#if (defined(MAC_OS_X_VERSION_10_7))
|
#if (defined(MAC_OS_X_VERSION_10_7))
|
||||||
|
|||||||
Reference in new issue
Block a user