X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=decklink_capture.h;h=322adb5b0d6c62352f0397c4a357c7c66fc837ec;hb=4b41f5983b5196589cb1ef6fa2bc0b93d28b8732;hp=7c2c5a3e138d2062fed19b189d504dce695cfe46;hpb=6a7683fc4425e8d8faf9c29b0f7f18cd9a9cb06f;p=nageru diff --git a/decklink_capture.h b/decklink_capture.h index 7c2c5a3..322adb5 100644 --- a/decklink_capture.h +++ b/decklink_capture.h @@ -77,8 +77,11 @@ public: std::map get_available_video_modes() const override { return video_modes; } void set_video_mode(uint32_t video_mode_id) override; + uint32_t get_current_video_mode() const override { return current_video_mode; } private: + void set_video_mode_no_restart(uint32_t video_mode_id); + std::atomic refcount{1}; bool done_init = false; std::string description;