summaryrefslogtreecommitdiff
path: root/modules/theora/video_stream_theora.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-02-12 11:58:19 +0100
committerGitHub <noreply@github.com>2021-02-12 11:58:19 +0100
commit49122588391b5159fada6d33f136d169b5a01ae5 (patch)
treeb675cbc225b2246fede39ba050dd5f9ef5d9046a /modules/theora/video_stream_theora.h
parent44e291a250c913e2308da5fcbdc1f48becdc8a1e (diff)
parentf8d03b98e7eeeb726af4f653f1fde8b063cbad14 (diff)
Merge pull request #45903 from reduz/improve-resoucre-load-cache
Improve resource load cache
Diffstat (limited to 'modules/theora/video_stream_theora.h')
-rw-r--r--modules/theora/video_stream_theora.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/theora/video_stream_theora.h b/modules/theora/video_stream_theora.h
index 71e56e2ee8..f92fe2340e 100644
--- a/modules/theora/video_stream_theora.h
+++ b/modules/theora/video_stream_theora.h
@@ -185,7 +185,7 @@ public:
class ResourceFormatLoaderTheora : public ResourceFormatLoader {
public:
- virtual RES load(const String &p_path, const String &p_original_path = "", Error *r_error = nullptr, bool p_use_sub_threads = false, float *r_progress = nullptr, bool p_no_cache = false);
+ virtual RES load(const String &p_path, const String &p_original_path = "", Error *r_error = nullptr, bool p_use_sub_threads = false, float *r_progress = nullptr, CacheMode p_cache_mode = CACHE_MODE_REUSE);
virtual void get_recognized_extensions(List<String> *p_extensions) const;
virtual bool handles_type(const String &p_type) const;
virtual String get_resource_type(const String &p_path) const;