diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-02-12 11:58:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-12 11:58:19 +0100 |
commit | 49122588391b5159fada6d33f136d169b5a01ae5 (patch) | |
tree | b675cbc225b2246fede39ba050dd5f9ef5d9046a /modules/webm/video_stream_webm.cpp | |
parent | 44e291a250c913e2308da5fcbdc1f48becdc8a1e (diff) | |
parent | f8d03b98e7eeeb726af4f653f1fde8b063cbad14 (diff) |
Merge pull request #45903 from reduz/improve-resoucre-load-cache
Improve resource load cache
Diffstat (limited to 'modules/webm/video_stream_webm.cpp')
-rw-r--r-- | modules/webm/video_stream_webm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/webm/video_stream_webm.cpp b/modules/webm/video_stream_webm.cpp index 5d8245c64c..7c16a1df34 100644 --- a/modules/webm/video_stream_webm.cpp +++ b/modules/webm/video_stream_webm.cpp @@ -429,7 +429,7 @@ void VideoStreamWebm::set_audio_track(int p_track) { //////////// -RES ResourceFormatLoaderWebm::load(const String &p_path, const String &p_original_path, Error *r_error, bool p_use_sub_threads, float *r_progress, bool p_no_cache) { +RES ResourceFormatLoaderWebm::load(const String &p_path, const String &p_original_path, Error *r_error, bool p_use_sub_threads, float *r_progress, CacheMode p_cache_mode) { FileAccess *f = FileAccess::open(p_path, FileAccess::READ); if (!f) { if (r_error) { |