mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Support rendering Webm videos with alpha.
This commit is contained in:
@@ -619,6 +619,7 @@ bool FileLoadTask::CheckForVideo(
|
||||
static const auto extensions = {
|
||||
qstr(".mp4"),
|
||||
qstr(".mov"),
|
||||
qstr(".webm"),
|
||||
};
|
||||
if (!CheckMimeOrExtensions(filepath, result->filemime, mimes, extensions)) {
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user