X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=projects%2Fmacosx%2Fframework%2FSources%2FVLCMedia.m;h=3f2f1612539d155462adc1802ee699cbc851a27f;hb=1609af14267518bf7c2c87a64755a90e4a23c12c;hp=31112d5296a0c71900d11029239f7a8810a23630;hpb=7b5b08e3c744f3f8c08b27dcc02a1c1b53ad30d1;p=vlc diff --git a/projects/macosx/framework/Sources/VLCMedia.m b/projects/macosx/framework/Sources/VLCMedia.m index 31112d5296..3f2f161253 100644 --- a/projects/macosx/framework/Sources/VLCMedia.m +++ b/projects/macosx/framework/Sources/VLCMedia.m @@ -295,7 +295,7 @@ static void HandleMediaSubItemAdded(const libvlc_event_t * event, void * self) [self length]; // wait until we are preparsed - while (!length && ![self isPreparsed] && [aDate timeIntervalSinceNow] > 0) + while (!length && ![self isParsed] && [aDate timeIntervalSinceNow] > 0) { usleep( thread_sleep ); }