X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fflags.h;h=a401dbf53a3e875572d48a9dbf1862935f60bc2f;hb=0aab96d4c270758b72cb09606ce183b41588c746;hp=09337d13b9e12513d307e395dd9cd1bf8c4f42ae;hpb=9b7d691b4cc5db7dbfc18c82e86c1207fcac4722;p=nageru diff --git a/nageru/flags.h b/nageru/flags.h index 09337d1..a401dbf 100644 --- a/nageru/flags.h +++ b/nageru/flags.h @@ -18,7 +18,7 @@ struct Flags { bool uncompressed_video_to_http = false; bool x264_video_to_http = false; bool x264_video_to_disk = false; // Disables Quick Sync entirely. Implies x264_video_to_http == true. - std::vector theme_dirs { ".", "/usr/local/share/nageru" }; + std::vector theme_dirs { ".", PREFIX "/share/nageru" }; std::string recording_dir = "."; std::string theme_filename = "theme.lua"; bool locut_enabled = true; @@ -63,10 +63,12 @@ struct Flags { bool ten_bit_output = false; // Implies x264_video_to_disk == true and x264_bit_depth == 10. YCbCrInterpretation ycbcr_interpretation[MAX_VIDEO_CARDS]; bool transcode_audio = true; // Kaeru only. + bool enable_audio = true; // Kaeru only. If false, then transcode_audio is also false. int x264_bit_depth = 8; // Not user-settable. bool use_zerocopy = false; // Not user-settable. bool can_disable_srgb_decoder = false; // Not user-settable. bool fullscreen = false; + std::map card_to_mjpeg_stream_export; // If a card is not in the map, it is not exported. }; extern Flags global_flags;