Commit 170b9c7a authored by Felix Paul Kühne's avatar Felix Paul Kühne

Media: only sync parse if really needed

parent 838f2598
......@@ -597,7 +597,8 @@ NSString *const VLCMediaTracksInformationTextEncoding = @"encoding"; // NSString
- (NSArray *)tracksInformation
[self synchronousParse];
if (!self.isParsed)
[self synchronousParse];
libvlc_media_track_t **tracksInfo;
unsigned int count = libvlc_media_tracks_get(p_md, &tracksInfo);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment