]> git.sesse.net Git - bmusb/commitdiff
Add an is_connected member to VideoFormat, for use with fake cards in Nageru.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 21 Jul 2016 21:31:42 +0000 (23:31 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 21 Jul 2016 21:31:42 +0000 (23:31 +0200)
bmusb.h

diff --git a/bmusb.h b/bmusb.h
index 4c7254bcb5dea6bb773381c510565cea37035839..bf1f51fb60eb65b77a40d26da003787b88414ded 100644 (file)
--- a/bmusb.h
+++ b/bmusb.h
@@ -97,6 +97,7 @@ struct VideoFormat {
        unsigned frame_rate_nom = 0, frame_rate_den = 0;
        bool interlaced = false;
        bool has_signal = false;
+       bool is_connected = true;  // If false, then has_signal makes no sense.
 };
 
 struct AudioFormat {