aboutsummaryrefslogtreecommitdiff
path: root/plugins/Page.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Page.hpp')
-rw-r--r--plugins/Page.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Page.hpp b/plugins/Page.hpp
index 3a382ec..35e778b 100644
--- a/plugins/Page.hpp
+++ b/plugins/Page.hpp
@@ -120,14 +120,15 @@ namespace QuickMedia {
virtual std::string get_url_timestamp() { return ""; }
// Falls back to |get_url| if this and |get_audio_url| returns empty strings.
// Might do a network request.
- virtual std::string get_video_url(int max_height, bool &has_embedded_audio) {
+ virtual std::string get_video_url(int max_height, bool &has_embedded_audio, std::string &ext) {
(void)max_height;
+ (void)ext;
has_embedded_audio = true;
return "";
}
// Only used if |get_video_url| sets |has_embedded_audio| to false.
// Might do a network request.
- virtual std::string get_audio_url() { return ""; }
+ virtual std::string get_audio_url(std::string &ext) { (void)ext; return ""; }
virtual std::string url_get_playable_url(const std::string &url) { return url; }
virtual bool video_should_be_skipped(const std::string &url) { (void)url; return false; }
virtual PluginResult load(std::string &title, std::string &channel_url, std::vector<MediaChapter> &chapters) { (void)title; (void)channel_url; (void)chapters; return PluginResult::OK; }