Browse Source

VLCMedia: fix isMediaSizeSuitableForDevice

Felix Paul Kühne 12 years ago
parent
commit
07989fa20b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Sources/VLCMedia.m

+ 2 - 1
Sources/VLCMedia.m

@@ -617,7 +617,8 @@ NSString *VLCMediaTracksInformationTextEncoding = @"encoding"; // NSString
 {
 #if TARGET_OS_IPHONE
     // Trigger parsing if needed
-    [self parseIfNeeded];
+    if (![self isParsed])
+        [self synchronousParse];
 
     NSUInteger biggestWidth = 0;
     NSUInteger biggestHeight = 0;