diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-03-04 00:06:11 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-03-04 00:06:11 +0100 |
commit | a13c19e31cb033730fa179a90f0bc5bd961bd3dc (patch) | |
tree | ee459da17b1baa8a1aba503451231a5075c46c8a /plugins/Page.hpp | |
parent | 8497b3daea44fe26fbc2d089a55e75a219e8d603 (diff) |
Fix xv video and related page, fix possible crash when going back from related video
Diffstat (limited to 'plugins/Page.hpp')
-rw-r--r-- | plugins/Page.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Page.hpp b/plugins/Page.hpp index da6405c..e25cb84 100644 --- a/plugins/Page.hpp +++ b/plugins/Page.hpp @@ -164,6 +164,7 @@ namespace QuickMedia { // Only used if |get_video_url| sets |has_embedded_audio| to false. // Might do a network request. virtual std::string get_audio_url(std::string &ext) { (void)ext; return ""; } + // Might do a network request 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; } // This needs to be called before the other functions are called |