diff options
Diffstat (limited to 'include/VideoPlayer.hpp')
-rw-r--r-- | include/VideoPlayer.hpp | 5 |
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; |