Commit 7bd56011 authored by Felix Paul Kühne's avatar Felix Paul Kühne

VLCMedia: deprecate parse

parent db604aba
......@@ -417,8 +417,9 @@ extern NSString *const VLCMediaTracksInformationTypeUnknown;
* is called.
*
* \see -[VLCMediaDelegate mediaDidFinishParsing:]
* \note Use parseWithOptions: instead
*/
- (void)parse;
- (void)parse __attribute__((deprecated));
/**
* Trigger a synchronous parsing of the media
......
......@@ -6,9 +6,23 @@ Generic changes:
- Added support for audio muting on iOS and tvOS
New APIs:
- VLCAudio
- setMuted:
- VLCDialogProvider
- new class to handle user interaction with VLC events
- VLCLibrary
- added properties: debugLogging, debugLoggingLevel
- VLCMediaDiscoverer
- added selector: availableMediaDiscovererForCategoryType:
- added enum: VLCMediaDiscovererCategoryType
- VLCMediaListPlayer
- added selectors: initWithDrawable:
initWithOptions:andDrawable:
- VLCMediaPlayer
- added properties: titleDescriptions, indexOfLongestTitle, numberOfTitles,
snapshots, lastSnapshot
......@@ -19,10 +33,6 @@ New APIs:
- play's return type was changed from BOOL to void
- hue is now a float instead of an integer
- VLCMediaListPlayer
- added selectors: initWithDrawable:
initWithOptions:andDrawable:
- VLCMedia
- added keys: VLCMetaInformationTrackTotal, VLCMetaInformationDirector,
VLCMetaInformationSeason, VLCMetaInformationEpisode,
......@@ -37,22 +47,15 @@ New APIs:
- added selectors: isEqual:
hash
- VLCAudio
- setMuted:
- VLCDialogProvider
- new class to handle user interaction with VLC events
- VLCMediaDiscoverer
- added selector: availableMediaDiscovererForCategoryType:
Deprecated APIs:
- VLCMediaPlayer
- titles, chaptersForTitleIndex:, countOfTitles, framesPerSecond
- VLCAudio
- setMute:
- VLCMedia
- parse
- VLCMediaDiscoverer
- availableMediaDiscoverer
- VLCMediaPlayer
- titles, chaptersForTitleIndex:, countOfTitles, framesPerSecond
Removed APIs:
- VLCMedia:
......
......@@ -919,7 +919,7 @@ NSString *const VLCMediaTracksInformationTextEncoding = @"encoding"; // NSString
- (void)parseIfNeeded
{
if (![self isParsed])
[self parse];
[self parseWithOptions:VLCMediaParseLocal | VLCMediaFetchLocal];
}
- (void)metaChanged:(NSString *)metaType
......
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