From a13c19e31cb033730fa179a90f0bc5bd961bd3dc Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 4 Mar 2022 00:06:11 +0100 Subject: Fix xv video and related page, fix possible crash when going back from related video --- plugins/Page.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/Page.hpp') 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 -- cgit v1.2.3