return false;
}
-vector<VideoMode> BMUSBCapture::get_available_video_modes() const
+map<uint32_t, VideoMode> BMUSBCapture::get_available_video_modes() const
{
// The USB3 cards autodetect, and seem to have no provision for forcing modes.
VideoMode auto_mode;
- auto_mode.id = 0;
auto_mode.name = "Autodetect";
auto_mode.autodetect = true;
- return { auto_mode };
+ 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)