2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Sync video frame delay / skip by audio play progress.

This commit is contained in:
John Preston
2016-07-10 22:44:55 +03:00
parent 1fee0822fb
commit 41cd427834
12 changed files with 152 additions and 52 deletions

View File

@@ -1530,6 +1530,7 @@ void MainWidget::ui_autoplayMediaInlineAsync(qint32 channelId, qint32 msgId) {
void MainWidget::audioPlayProgress(const AudioMsgId &audioId) {
if (audioId.type() == AudioMsgId::Type::Video) {
audioPlayer()->videoSoundProgress(audioId);
return;
}