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

VLCMediaMetaData: remove old cache when setting new value

parent 7ab05ad3
No related branches found
No related tags found
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