]> git.sesse.net Git - bmusb/blobdiff - bmusb.cpp
Add a way to get the current video mode.
[bmusb] / bmusb.cpp
index b400ac732ce8ae02a788aef8161695085e4a9bf0..3d2c9f018488e202dff12e9439ebe8be665fa376 100644 (file)
--- a/bmusb.cpp
+++ b/bmusb.cpp
@@ -1240,6 +1240,11 @@ map<uint32_t, VideoMode> BMUSBCapture::get_available_video_modes() const
        return {{ 0, auto_mode }};
 }
 
+uint32_t BMUSBCapture::get_current_video_mode() const
+{
+       return 0;  // Matches get_available_video_modes().
+}
+
 void BMUSBCapture::set_video_mode(uint32_t video_mode_id)
 {
        assert(video_mode_id == 0);  // Matches get_available_video_modes().