Browse Source

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.
Rémi Verschelde 7 years ago
parent
commit
333999c24f
2 changed files with 0 additions and 2 deletions
  1. 0 1
      modules/theora/video_stream_theora.h
  2. 0 1
      modules/webm/video_stream_webm.h

+ 0 - 1
modules/theora/video_stream_theora.h

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

+ 0 - 1
modules/webm/video_stream_webm.h

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