Commit 12d0a02f authored by Carola Nitz's avatar Carola Nitz

move updateDisplayMetadata call out of mainqueue to avoid unresponsive UI

parent b524edfb
Pipeline #76 failed with stage
in 0 seconds
......@@ -933,7 +933,7 @@ VLCMediaDelegate>
{
if (_needsMetadataUpdate == NO) {
_needsMetadataUpdate = YES;
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), DISPATCH_QUEUE_PRIORITY_DEFAULT, ^{
[self _updateDisplayedMetadata];
});
}
......
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