Commit e1c36f36 authored by Soomin Lee's avatar Soomin Lee

VLCMediaList: Set QoS of _serialMediaObjectsQueue to user initiated

(cherry picked from commit d8103577)
Signed-off-by: Soomin Lee's avatarSoomin Lee <bubu@mikan.io>
parent 5625b50b
......@@ -93,7 +93,12 @@ static void HandleMediaListItemDeleted( const libvlc_event_t * event, void * use
// Initialize internals to defaults
_mediaObjects = [[NSMutableArray alloc] init];
_serialMediaObjectsQueue = dispatch_queue_create("org.videolan.serialMediaObjectsQueue", DISPATCH_QUEUE_SERIAL);
dispatch_queue_attr_t qosAttribute = dispatch_queue_attr_make_with_qos_class(DISPATCH_QUEUE_SERIAL,
QOS_CLASS_USER_INITIATED,
0);
_serialMediaObjectsQueue = dispatch_queue_create("org.videolan.serialMediaObjectsQueue", qosAttribute);
[self initInternalMediaList];
}
......
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