2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Add .m4v as a video file format.

This commit is contained in:
John Preston
2023-04-23 20:32:00 +04:00
parent 3394094dd3
commit 9c7fee0bfe
2 changed files with 2 additions and 1 deletions

View File

@@ -682,6 +682,7 @@ bool FileLoadTask::CheckForVideo(
static const auto extensions = {
u".mp4"_q,
u".mov"_q,
u".m4v"_q,
u".webm"_q,
};
if (!CheckMimeOrExtensions(filepath, result->filemime, mimes, extensions)) {