Fix crash in videoplayer audio stream loader.

Regression was introduced in 835b1801bc.
This commit is contained in:
John Preston 2017-04-15 20:32:14 +03:00
parent bc7139d67a
commit 4e5c4a462b

View File

@ -29,6 +29,7 @@ namespace Player {
Loaders::Loaders(QThread *thread) : _fromVideoNotify([this] { videoSoundAdded(); }) {
moveToThread(thread);
_fromVideoNotify.moveToThread(thread);
connect(thread, SIGNAL(started()), this, SLOT(onInit()));
connect(thread, SIGNAL(finished()), this, SLOT(deleteLater()));
}