diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-08-24 18:32:26 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-08-24 18:32:26 +0200 |
commit | 62f918559616138de1cc0ab8f5759f5d714e9287 (patch) | |
tree | 7c8886051590b8f0b0806633563fd120ebc6726f /include | |
parent | 591c78ff6b148ddd3c97ad48dce15ec697456fe5 (diff) |
Youtube: load english subtitles when available
Diffstat (limited to 'include')
-rw-r--r-- | include/VideoPlayer.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/VideoPlayer.hpp b/include/VideoPlayer.hpp index cd1e979..4eab812 100644 --- a/include/VideoPlayer.hpp +++ b/include/VideoPlayer.hpp @@ -51,6 +51,8 @@ namespace QuickMedia { Error set_property(const std::string &property_name, const Json::Value &value); Error get_property(const std::string &property_name, Json::Value *result, Json::ValueType result_type); + Error add_subtitle(const std::string &url, const std::string &title, const std::string &lang); + int exit_status; private: Error send_command(const char *cmd, size_t size); |