This commit is contained in:
itsmattkc
2019-03-29 01:59:12 +11:00
parent 814e048e8f
commit 963a20af37
9 changed files with 62 additions and 48 deletions
+5 -2
View File
@@ -460,8 +460,11 @@ void Cacher::CacheAudioWorker() {
}
}
QMetaObject::invokeMethod(panel_footage_viewer, "play_wake", Qt::QueuedConnection);
QMetaObject::invokeMethod(panel_sequence_viewer, "play_wake", Qt::QueuedConnection);
// If there's a QObject waiting for audio to be rendered, wake it now
QObject* audio_wake_object = GetAudioWakeObject();
if (audio_wake_object != nullptr) {
QMetaObject::invokeMethod(audio_wake_object, "play_wake", Qt::QueuedConnection);
}
}
bool Cacher::IsReversed()