mirror of
https://github.com/godotengine/godot.git
synced 2026-01-01 05:49:28 +03:00
Fix Theora/Webm loaders declaring binary extension
RES_BASE_EXTENSION is only to declare our proprietary binary formats
(e.g. "scn", "res", etc.).
Fixes #20395.
(cherry picked from commit 333999c24f)
This commit is contained in:
@@ -163,7 +163,6 @@ public:
|
||||
class VideoStreamTheora : public VideoStream {
|
||||
|
||||
GDCLASS(VideoStreamTheora, VideoStream);
|
||||
RES_BASE_EXTENSION("ogv");
|
||||
|
||||
String file;
|
||||
int audio_track;
|
||||
|
||||
@@ -109,7 +109,6 @@ private:
|
||||
class VideoStreamWebm : public VideoStream {
|
||||
|
||||
GDCLASS(VideoStreamWebm, VideoStream);
|
||||
RES_BASE_EXTENSION("webm");
|
||||
|
||||
String file;
|
||||
int audio_track;
|
||||
|
||||
Reference in New Issue
Block a user