]> git.sesse.net Git - nageru/commitdiff
Add a way to get the current video mode.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 4 Mar 2016 00:28:19 +0000 (01:28 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 4 Mar 2016 00:28:19 +0000 (01:28 +0100)
bmusb
decklink_capture.h

diff --git a/bmusb b/bmusb
index 487a136592e4bd5acda92d35cf52fe4489c69bbf..5b54cc5acb28f5d2071c99ef7a715044aa30f10c 160000 (submodule)
--- a/bmusb
+++ b/bmusb
@@ -1 +1 @@
-Subproject commit 487a136592e4bd5acda92d35cf52fe4489c69bbf
+Subproject commit 5b54cc5acb28f5d2071c99ef7a715044aa30f10c
index 7c2c5a3e138d2062fed19b189d504dce695cfe46..ad13a938dfe55ce0af55734fd4da22a1a8684a64 100644 (file)
@@ -77,6 +77,7 @@ public:
 
        std::map<uint32_t, VideoMode> 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:
        std::atomic<int> refcount{1};