mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 01:51:10 +00:00
Removed interactive loader, added proper thread loading.
This commit is contained in:
parent
5beccaf86f
commit
475e4ea67b
57 changed files with 872 additions and 592 deletions
|
|
@ -373,7 +373,7 @@ void VideoStreamGDNative::set_audio_track(int p_track) {
|
|||
|
||||
/* --- NOTE ResourceFormatLoaderVideoStreamGDNative starts here. ----- */
|
||||
|
||||
RES ResourceFormatLoaderVideoStreamGDNative::load(const String &p_path, const String &p_original_path, Error *r_error) {
|
||||
RES ResourceFormatLoaderVideoStreamGDNative::load(const String &p_path, const String &p_original_path, Error *r_error, bool p_use_sub_threads, float *r_progress) {
|
||||
FileAccess *f = FileAccess::open(p_path, FileAccess::READ);
|
||||
if (!f) {
|
||||
if (r_error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue