diff options
Diffstat (limited to 'plugins/Youtube.hpp')
-rw-r--r-- | plugins/Youtube.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Youtube.hpp b/plugins/Youtube.hpp index 2958c44..c89d68d 100644 --- a/plugins/Youtube.hpp +++ b/plugins/Youtube.hpp @@ -26,7 +26,7 @@ namespace QuickMedia { bool youtube_url_extract_id(const std::string &youtube_url, std::string &youtube_video_id); // |video_url| or |audio_url| will be empty if there is an error and false will be returned. // If false is returned from |active_handler|, then this function is cancelled. - bool youtube_custom_redirect(std::string &video_url, std::string &audio_url, int &video_content_length, int &audio_content_length, std::function<bool()> active_handler); + bool youtube_custom_redirect(std::string &video_url, std::string &audio_url, int64_t &video_content_length, int64_t &audio_content_length, std::function<bool()> active_handler); class YoutubeSearchPage : public LazyFetchPage { public: @@ -144,8 +144,8 @@ namespace QuickMedia { std::unique_ptr<Page> create_channels_page(Program *program, const std::string &channel_url) override; void set_url(std::string new_url) override; std::string get_url_timestamp() override { return timestamp; } - std::string get_video_url(int max_height, bool &has_embedded_audio) override; - std::string get_audio_url() override; + std::string get_video_url(int max_height, bool &has_embedded_audio, std::string &ext) override; + std::string get_audio_url(std::string &ext) override; PluginResult load(std::string &title, std::string &channel_url, std::vector<MediaChapter> &chapters) override; void mark_watched() override; private: |