diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-10-22 14:17:03 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-10-22 14:38:10 +0200 |
commit | 7ff679769bf6bc49619b19da00772a88758827e5 (patch) | |
tree | 110d465d375b531df5271cded9b54b723093bd00 /include/mpv.hpp | |
parent | 40c62b43a29732bc795a7b7b990b5bec4688802f (diff) |
Add a config file to store position/rotation/zoom and use those the next time vr-video-player starts
Diffstat (limited to 'include/mpv.hpp')
-rw-r--r-- | include/mpv.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mpv.hpp b/include/mpv.hpp index b4e22b3..09ba2c1 100644 --- a/include/mpv.hpp +++ b/include/mpv.hpp @@ -16,7 +16,7 @@ public: bool load_file(const char *path); // |width| and |ħeight| are set to 0 unless there is an event to reconfigure video size - void on_event(SDL_Event &event, bool *render_update, int64_t *width, int64_t *height, bool *quit); + void on_event(SDL_Event &event, bool *render_update, int64_t *width, int64_t *height, bool *quit, int *error); void seek(double seconds); void toggle_pause(); void draw(unsigned int framebuffer_id, int width, int height); |