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.
This commit is contained in:
parent
a2abe760c8
commit
333999c24f
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue