diff options
Diffstat (limited to 'src/playback.h')
-rw-r--r-- | src/playback.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/playback.h b/src/playback.h index 2fd5fa9..3f6e67f 100644 --- a/src/playback.h +++ b/src/playback.h @@ -3,12 +3,16 @@ #include <memory> #include <string> +namespace backend { + struct rect; +} + namespace frontend { struct playback_impl; class playback { public: playback(const std::filesystem::path& video, std::size_t frameCap=0); - void display(const std::string& windowName) const; + void display(const std::string& windowName, const backend::rect &r) const; bool seekFrame(std::size_t frameNum); std::size_t getFrame() const; bool seekTime(double time); |