]> git.sesse.net Git - nageru/blobdiff - flags.h
Add an option to control the mapping of streams to export to MJPEG (or turn it off...
[nageru] / flags.h
diff --git a/flags.h b/flags.h
index 09337d13b9e12513d307e395dd9cd1bf8c4f42ae..4d990f8511d7a2fb7567fb2195a0e31c5c2a2e16 100644 (file)
--- a/flags.h
+++ b/flags.h
@@ -67,6 +67,7 @@ struct Flags {
        bool use_zerocopy = false;  // Not user-settable.
        bool can_disable_srgb_decoder = false;  // Not user-settable.
        bool fullscreen = false;
+       std::map<unsigned, unsigned> card_to_mjpeg_stream_export;  // If a card is not in the map, it is not exported.
 };
 extern Flags global_flags;