mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-24 16:23:07 +00:00
Alpha 1.0.9: crash fix in video playback.
Media::Player::Instance started to notify about all sound playback updates, even for video files (which do not have DocumentData filled in), while Media::Player widgets were relying on the existance of DocumentData in each update.
This commit is contained in:
parent
d3420b6a92
commit
61b55706ae
@ -9,7 +9,7 @@
|
||||
<Identity Name="TelegramDesktop"
|
||||
ProcessorArchitecture="x64"
|
||||
Publisher="CN=Telegram Messenger LLP, O=Telegram Messenger LLP, L=London, C=GB"
|
||||
Version="1.0.8.0" />
|
||||
Version="1.0.9.0" />
|
||||
<Properties>
|
||||
<DisplayName>Telegram Desktop</DisplayName>
|
||||
<PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName>
|
||||
|
@ -34,8 +34,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
|
||||
//
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 1,0,8,0
|
||||
PRODUCTVERSION 1,0,8,0
|
||||
FILEVERSION 1,0,9,0
|
||||
PRODUCTVERSION 1,0,9,0
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
@ -52,10 +52,10 @@ BEGIN
|
||||
BEGIN
|
||||
VALUE "CompanyName", "Telegram Messenger LLP"
|
||||
VALUE "FileDescription", "Telegram Desktop official messenger"
|
||||
VALUE "FileVersion", "1.0.8.0"
|
||||
VALUE "FileVersion", "1.0.9.0"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2014-2017"
|
||||
VALUE "ProductName", "Telegram Desktop"
|
||||
VALUE "ProductVersion", "1.0.8.0"
|
||||
VALUE "ProductVersion", "1.0.9.0"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
|
@ -25,8 +25,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||
//
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 1,0,8,0
|
||||
PRODUCTVERSION 1,0,8,0
|
||||
FILEVERSION 1,0,9,0
|
||||
PRODUCTVERSION 1,0,9,0
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
@ -43,10 +43,10 @@ BEGIN
|
||||
BEGIN
|
||||
VALUE "CompanyName", "Telegram Messenger LLP"
|
||||
VALUE "FileDescription", "Telegram Desktop Updater"
|
||||
VALUE "FileVersion", "1.0.8.0"
|
||||
VALUE "FileVersion", "1.0.9.0"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2014-2017"
|
||||
VALUE "ProductName", "Telegram Desktop"
|
||||
VALUE "ProductVersion", "1.0.8.0"
|
||||
VALUE "ProductVersion", "1.0.9.0"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
|
@ -24,7 +24,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
||||
|
||||
#define BETA_VERSION_MACRO (0ULL)
|
||||
|
||||
constexpr int AppVersion = 1000008;
|
||||
constexpr str_const AppVersionStr = "1.0.8";
|
||||
constexpr int AppVersion = 1000009;
|
||||
constexpr str_const AppVersionStr = "1.0.9";
|
||||
constexpr bool AppAlphaVersion = true;
|
||||
constexpr uint64 AppBetaVersion = BETA_VERSION_MACRO;
|
||||
|
@ -227,7 +227,7 @@ void CoverWidget::updateRepeatTrackIcon() {
|
||||
}
|
||||
|
||||
void CoverWidget::handleSongUpdate(const TrackState &state) {
|
||||
if (!state.id || !state.id.audio()->song()) {
|
||||
if (!state.id.audio() || !state.id.audio()->song()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -300,7 +300,7 @@ void Widget::updateRepeatTrackIcon() {
|
||||
}
|
||||
|
||||
void Widget::handleSongUpdate(const TrackState &state) {
|
||||
if (!state.id || !state.id.audio()->song()) {
|
||||
if (!state.id.audio() || !state.id.audio()->song()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
AppVersion 1000008
|
||||
AppVersion 1000009
|
||||
AppVersionStrMajor 1.0
|
||||
AppVersionStrSmall 1.0.8
|
||||
AppVersionStr 1.0.8
|
||||
AppVersionStrSmall 1.0.9
|
||||
AppVersionStr 1.0.9
|
||||
AlphaChannel 1
|
||||
BetaVersion 0
|
||||
|
Loading…
Reference in New Issue
Block a user