From 08e863d757ed7165baa102f85f1710f6c0628811 Mon Sep 17 00:00:00 2001 From: Jonathan Thomas Date: Sun, 8 Dec 2024 14:01:57 -0600 Subject: [PATCH] Fix thread syntax for JUCE 7.0.8 --- src/Qt/PlayerPrivate.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Qt/PlayerPrivate.cpp b/src/Qt/PlayerPrivate.cpp index 9bb7fb041..2998e3ee6 100644 --- a/src/Qt/PlayerPrivate.cpp +++ b/src/Qt/PlayerPrivate.cpp @@ -49,10 +49,10 @@ namespace openshot // Start the threads if (reader->info.has_audio) - audioPlayback->startThread(8); + audioPlayback->startThread(Priority::highest); if (reader->info.has_video) { - videoCache->startThread(2); - videoPlayback->startThread(4); + videoCache->startThread(Priority::high); + videoPlayback->startThread(Priority::high); } using std::chrono::duration_cast; @@ -179,7 +179,7 @@ namespace openshot if (video_position < 0) return false; stopPlayback(); - startThread(1); + startThread(Priority::normal); return true; }