mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-18 22:17:01 +00:00
Fix crash in videoplayer audio stream loader.
Regression was introduced in 835b1801bc
.
This commit is contained in:
parent
bc7139d67a
commit
4e5c4a462b
@ -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()));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user