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:
Rémi Verschelde 2018-08-16 19:17:24 +02:00
parent 816366ba05
commit 6604638d82
2 changed files with 0 additions and 2 deletions

View File

@ -163,7 +163,6 @@ public:
class VideoStreamTheora : public VideoStream { class VideoStreamTheora : public VideoStream {
GDCLASS(VideoStreamTheora, VideoStream); GDCLASS(VideoStreamTheora, VideoStream);
RES_BASE_EXTENSION("ogv");
String file; String file;
int audio_track; int audio_track;

View File

@ -109,7 +109,6 @@ private:
class VideoStreamWebm : public VideoStream { class VideoStreamWebm : public VideoStream {
GDCLASS(VideoStreamWebm, VideoStream); GDCLASS(VideoStreamWebm, VideoStream);
RES_BASE_EXTENSION("webm");
String file; String file;
int audio_track; int audio_track;