]> git.sesse.net Git - nageru/blobdiff - decklink_capture.cpp
Actually store the list of video modes.
[nageru] / decklink_capture.cpp
index 701675b84cb61cc27bd6268d0a16301b4ec278a9..57d364d0a24404a0aa94830c5166b2787de4f5d6 100644 (file)
@@ -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.