We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a958bc commit 08e863dCopy full SHA for 08e863d
src/Qt/PlayerPrivate.cpp
@@ -49,10 +49,10 @@ namespace openshot
49
50
// Start the threads
51
if (reader->info.has_audio)
52
- audioPlayback->startThread(8);
+ audioPlayback->startThread(Priority::highest);
53
if (reader->info.has_video) {
54
- videoCache->startThread(2);
55
- videoPlayback->startThread(4);
+ videoCache->startThread(Priority::high);
+ videoPlayback->startThread(Priority::high);
56
}
57
58
using std::chrono::duration_cast;
@@ -179,7 +179,7 @@ namespace openshot
179
if (video_position < 0) return false;
180
181
stopPlayback();
182
- startThread(1);
+ startThread(Priority::normal);
183
return true;
184
185
0 commit comments