From 6604638d821beee7033adc0ddf7dd3fea3826ad0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Thu, 16 Aug 2018 19:17:24 +0200 Subject: [PATCH] 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 333999c24f5176b1a4f00f12846f1b1bcc82501c) --- modules/theora/video_stream_theora.h | 1 - modules/webm/video_stream_webm.h | 1 - 2 files changed, 2 deletions(-) diff --git a/modules/theora/video_stream_theora.h b/modules/theora/video_stream_theora.h index ac731187494..bdaa9f7dd3b 100644 --- a/modules/theora/video_stream_theora.h +++ b/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; diff --git a/modules/webm/video_stream_webm.h b/modules/webm/video_stream_webm.h index 0a2c9595278..3fed4a841dd 100644 --- a/modules/webm/video_stream_webm.h +++ b/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;