2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Fix planar audio playback (for example .flac).

Also add some more crash information logging.

Fixes #4120.
This commit is contained in:
John Preston
2017-12-08 12:57:43 +04:00
parent 827784e3b2
commit e273695cc9
2 changed files with 45 additions and 6 deletions

View File

@@ -1139,6 +1139,9 @@ namespace internal {
}
void setCrashAnnotation(const std::string &key, const QString &value) {
static QMutex mutex;
QMutexLocker lock(&mutex);
if (!value.trimmed().isEmpty()) {
internal::ProcessAnnotations[key] = value.toUtf8().constData();
} else {