diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-10-29 10:14:53 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-10-29 10:14:53 +0100 |
commit | a8f1ebca36d90d965e8a55ebc766f659db65b0c1 (patch) | |
tree | 6daefa8768e44a7cd21f096821321dd150e42c8d /include/QuickMedia.hpp | |
parent | 620123fbd6c18dc48a25cc735565f6d8d85f8639 (diff) |
Matrix: download unstreamable videos before playing them (mp4)
Diffstat (limited to 'include/QuickMedia.hpp')
-rw-r--r-- | include/QuickMedia.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp index bdbafef..99bab7a 100644 --- a/include/QuickMedia.hpp +++ b/include/QuickMedia.hpp @@ -56,7 +56,7 @@ namespace QuickMedia { private: void base_event_handler(sf::Event &event, PageType previous_page, Body *body, SearchBar *search_bar, bool handle_key_press = true, bool handle_searchbar = true); void page_loop(std::vector<Tab> &tabs); - void video_content_page(Page *page, std::string video_url, std::string video_title); + void video_content_page(Page *page, std::string video_url, std::string video_title, bool download_if_streaming_fails); // Returns -1 to go to previous chapter, 0 to stay on same chapter and 1 to go to next chapter int image_page(MangaImagesPage *images_page, Body *chapters_body); void image_continuous_page(MangaImagesPage *images_page); |