]> git.sesse.net Git - nageru/commitdiff
Actually store the list of video modes.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 4 Mar 2016 00:16:16 +0000 (01:16 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 4 Mar 2016 00:16:16 +0000 (01:16 +0100)
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.