try to decode the image header as soon as some data is available

This commit is contained in:
2019-09-26 18:34:33 +02:00
parent 8b179260fb
commit 13b2f6eb07
4 changed files with 16 additions and 5 deletions

View File

@@ -17,6 +17,7 @@ public:
bool m_stop_async = false;
std::function<bool(float)> on_progress;
std::future<bool> remote_future;
std::vector<uint8_t> tmp_data;
std::string m_current_path;
std::string m_current_url;