mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Generate high quality video thumbnail when loaded.
This commit is contained in:
@@ -154,6 +154,11 @@ public:
|
||||
|
||||
bool hasGoodStickerThumb() const;
|
||||
|
||||
Image *goodThumbnail() const;
|
||||
Storage::Cache::Key goodThumbnailCacheKey() const;
|
||||
void validateGoodThumbnail();
|
||||
void refreshGoodThumbnail();
|
||||
|
||||
void setRemoteLocation(
|
||||
int32 dc,
|
||||
uint64 access,
|
||||
@@ -218,6 +223,8 @@ private:
|
||||
QString _mimeString;
|
||||
WebFileLocation _urlLocation;
|
||||
|
||||
std::unique_ptr<Image> _goodThumbnail;
|
||||
|
||||
not_null<AuthSession*> _session;
|
||||
|
||||
FileLocation _location;
|
||||
|
Reference in New Issue
Block a user