diff options
author | John Preston <johnprestonmail@gmail.com> | 2019-02-13 21:10:18 +0300 |
---|---|---|
committer | John Preston <johnprestonmail@gmail.com> | 2019-03-11 11:49:21 +0400 |
commit | 473e30e594edd6117d1cabb2397b17c2ecb2fd94 (patch) | |
tree | 6a28c51d078d3706239061b0ecc5baccce1be912 /Telegram/SourceFiles/media/audio/media_audio_loaders.cpp | |
parent | dc95756ec9f587e502efed0add1792559d78fa83 (diff) |
Basic code for media streaming + testing on music.
Diffstat (limited to 'Telegram/SourceFiles/media/audio/media_audio_loaders.cpp')
-rw-r--r-- | Telegram/SourceFiles/media/audio/media_audio_loaders.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Telegram/SourceFiles/media/audio/media_audio_loaders.cpp b/Telegram/SourceFiles/media/audio/media_audio_loaders.cpp index 7fc5074933..922da09d54 100644 --- a/Telegram/SourceFiles/media/audio/media_audio_loaders.cpp +++ b/Telegram/SourceFiles/media/audio/media_audio_loaders.cpp @@ -21,7 +21,7 @@ Loaders::Loaders(QThread *thread) : _fromVideoNotify([this] { videoSoundAdded(); connect(thread, SIGNAL(finished()), this, SLOT(deleteLater())); } -void Loaders::feedFromVideo(VideoSoundPart &&part) { +void Loaders::feedFromVideo(const VideoSoundPart &part) { auto invoke = false; { QMutexLocker lock(&_fromVideoMutex); |