Skip to content

Commit 4eade4f

Browse files
authored
macOS video player thread priority (#8018)
1 parent dee2eb7 commit 4eade4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/openFrameworks/video/ofAVFoundationVideoPlayer.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ - (BOOL)loadWithURL:(NSURL*)url async:(BOOL)bAsync {
170170
if(bAsync == YES){
171171
queue = dispatch_get_main_queue();
172172
} else {
173-
queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);
173+
queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0);
174174
}
175175

176176
dispatch_async(queue, ^{

0 commit comments

Comments
 (0)