From efcf1e1ba9dda0b52e3b566047ebed32f9d3a6de Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Tue, 20 Aug 2024 18:37:11 +0000 Subject: [PATCH] Add .ogv (HD Edition) as recognized extension for video --- lib/filesystem/ResourcePath.cpp | 1 + lib/filesystem/ResourcePath.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/filesystem/ResourcePath.cpp b/lib/filesystem/ResourcePath.cpp index 4a94e34de..347c3e9fd 100644 --- a/lib/filesystem/ResourcePath.cpp +++ b/lib/filesystem/ResourcePath.cpp @@ -115,6 +115,7 @@ EResType EResTypeHelper::getTypeFromExtension(std::string extension) {".FLAC", EResType::SOUND}, {".SMK", EResType::VIDEO_LOW_QUALITY}, {".BIK", EResType::VIDEO}, + {".OGV", EResType::VIDEO}, {".WEBM", EResType::VIDEO}, {".ZIP", EResType::ARCHIVE_ZIP}, {".LOD", EResType::ARCHIVE_LOD}, diff --git a/lib/filesystem/ResourcePath.h b/lib/filesystem/ResourcePath.h index fde6bec9f..4f4b4e9a1 100644 --- a/lib/filesystem/ResourcePath.h +++ b/lib/filesystem/ResourcePath.h @@ -28,7 +28,7 @@ class JsonSerializeFormat; * Font: .fnt * Image: .bmp, .jpg, .pcx, .png, .tga * Sound: .wav .82m - * Video: .smk, .bik .mjpg .mpg .webm + * Video: .smk, .bik .ogv .webm * Music: .mp3, .ogg * Archive: .lod, .snd, .vid .pac .zip * Palette: .pal