diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-03-11 07:07:04 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-03-11 07:09:29 +0100 |
commit | 80696a506afcee0cca48c22448adacb4aea6eece (patch) | |
tree | e1b642940ced3bb01460ef06308d4f86c887b88d /include/Storage.hpp | |
parent | 8c142359fd27d73fc6c77dc5d1bd4df831f7c0c1 (diff) |
youtube: use mpv stream_cb instead of proxy server
Diffstat (limited to 'include/Storage.hpp')
-rw-r--r-- | include/Storage.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/Storage.hpp b/include/Storage.hpp index c187261..19dd345 100644 --- a/include/Storage.hpp +++ b/include/Storage.hpp @@ -30,7 +30,7 @@ namespace QuickMedia { int create_directory_recursive(const Path &path); FileType get_file_type(const Path &path); int file_get_content(const Path &path, std::string &result); - int file_get_size(const Path &path, size_t *size); + int file_get_size(const Path &path, int64_t *size); bool file_get_last_modified_time_seconds(const char *path, time_t *result); int file_overwrite(const Path &path, const std::string &data); int file_overwrite_atomic(const Path &path, const std::string &data); @@ -46,5 +46,5 @@ namespace QuickMedia { bool is_program_executable_by_name(const char *name); - std::string file_size_to_human_readable_string(size_t bytes); + std::string file_size_to_human_readable_string(int64_t bytes); }
\ No newline at end of file |