aboutsummaryrefslogtreecommitdiff
path: root/include/VideoPlayer.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-02-17 19:18:19 +0100
committerdec05eba <dec05eba@protonmail.com>2022-02-17 19:18:34 +0100
commit02e029ed40f801e0710b09062069e7083cd30b93 (patch)
treeb3bd567ad0c03074064d62d32a876920aa58fab4 /include/VideoPlayer.hpp
parentd4cd63129ae5dff8fd69525424e0f8cb9ae1a905 (diff)
Add local anime tracking. Check readme for more info about local_anime config
Diffstat (limited to 'include/VideoPlayer.hpp')
-rw-r--r--include/VideoPlayer.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/VideoPlayer.hpp b/include/VideoPlayer.hpp
index 989bfd2..feede37 100644
--- a/include/VideoPlayer.hpp
+++ b/include/VideoPlayer.hpp
@@ -39,8 +39,9 @@ namespace QuickMedia {
mgl::WindowHandle parent_window;
bool no_video = false;
bool use_system_mpv_config = false;
- bool use_system_input_config = false; // use_system_mpv_config has to be true for this
+ bool use_system_input_config = false; // |use_system_mpv_config| has to be true if this is set to true
bool keep_open = false;
+ bool resume = false;
std::string resource_root;
int monitor_height = 1080;
bool use_youtube_dl = false;
@@ -50,7 +51,7 @@ namespace QuickMedia {
std::string plugin_name;
};
- // @event_callback is called from another thread
+ // Important: do not call |get_time_in_file| or |add_subtitle| from the |event_callback| callback
VideoPlayer(StartupArgs startup_args, EventCallbackFunc event_callback, VideoPlayerWindowCreateCallback window_create_callback);
~VideoPlayer();
VideoPlayer(const VideoPlayer&) = delete;