Commit 2043edbf authored by Felix Paul Kühne's avatar Felix Paul Kühne

VLCMedia: fix regressions

parent b04ab8c8
......@@ -193,7 +193,7 @@ typedef NSInteger VLCMediaState;
* available. Use lengthWaitUntilDate: to wait for a specified length of time.
* \see lengthWaitUntilDate
*/
@property (nonatomic, readonly, strong) VLCTime * length;
@property (nonatomic, readwrite, strong) VLCTime * length;
/**
* Returns a VLCTime object describing the length of the media resource,
......
......@@ -69,7 +69,6 @@ NSString *const VLCMediaMetaChanged = @"VLCMediaMetaChanged";
/* Make our properties internally readwrite */
@property (nonatomic, readwrite) VLCMediaState state;
@property (nonatomic, readwrite, strong) VLCTime *length;
@property (nonatomic, readwrite, copy) NSDictionary *metaDictionary;
@property (nonatomic, readwrite, strong) VLCMediaList * subitems;
......@@ -881,7 +880,7 @@ NSString *const VLCMediaTracksInformationTextEncoding = @"encoding"; // NSString
* And all the other meta will be added through the libvlc event system */
[self fetchMetaInformationFromLibVLCWithType: VLCMetaInformationArtworkURL];
}
return [metaDictionary copy];
return [NSDictionary dictionaryWithDictionary:_metaDictionary];
}
#else
......
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