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:
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user