aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-04-03 20:49:37 +0200
committerdec05eba <dec05eba@protonmail.com>2024-04-03 20:49:37 +0200
commit4c37a5463c23fcdb165228aae096f2bb0a25b98b (patch)
tree6b863d102551e1d19e93d0864b3f3598f86724b4 /include
parente8cf95fd56bb6cc16f937d06c3554260fd789a92 (diff)
Autoskip youtube sponsors
Diffstat (limited to 'include')
-rw-r--r--include/VideoPlayer.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/VideoPlayer.hpp b/include/VideoPlayer.hpp
index 5dc491a..79de8cd 100644
--- a/include/VideoPlayer.hpp
+++ b/include/VideoPlayer.hpp
@@ -66,8 +66,9 @@ namespace QuickMedia {
Error update();
// Returns time in seconds
- Error get_time_in_file(double *result);
- Error get_duration_in_file(double *result);
+ Error get_time_in_file(double *result_seconds);
+ Error set_time_in_file(double time_in_seconds);
+ Error get_duration(double *result);
Error add_subtitle(const std::string &url, const std::string &title, const std::string &lang);
Error cycle_fullscreen();