From 974134081493cf30b4207337b5695b27e18727bd Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Fri, 4 Mar 2016 01:16:16 +0100 Subject: [PATCH] Actually store the list of video modes. --- decklink_capture.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/decklink_capture.cpp b/decklink_capture.cpp index 701675b..57d364d 100644 --- a/decklink_capture.cpp +++ b/decklink_capture.cpp @@ -202,6 +202,8 @@ DeckLinkCapture::DeckLinkCapture(IDeckLink *card, int card_index) // TODO: Respect the TFF/BFF flag. mode.interlaced = (mode_ptr->GetFieldDominance() == bmdLowerFieldFirst || mode_ptr->GetFieldDominance() == bmdUpperFieldFirst); + + video_modes.push_back(mode); } // TODO: Make the user mode selectable. -- 2.39.5