Skip to content
Snippets Groups Projects
Commit 34408b84 authored by Hank Anderson's avatar Hank Anderson
Browse files

VLCMediaMetaData: remove old cache when setting new value

parent 7704060e
No related branches found
Tags 3.5.1
No related merge requests found
......@@ -513,6 +513,10 @@
return;
libvlc_media_set_meta(media_t, key, data);
dispatch_barrier_async(_metaCacheAccessQueue, ^{
[_metaCache removeObjectForKey: @(key)];
});
}
- (void)setString:(nullable NSString *)str forKey:(const libvlc_meta_t)key
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment