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:
parent
816366ba05
commit
6604638d82
|
@ -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