]> git.sesse.net Git - nageru/blobdiff - nageru/flags.h
Add a --disable-audio option to Kaeru, to transcode streams with no audio.
[nageru] / nageru / flags.h
index 4d990f8511d7a2fb7567fb2195a0e31c5c2a2e16..a401dbf53a3e875572d48a9dbf1862935f60bc2f 100644 (file)
@@ -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<std::string> theme_dirs { ".", "/usr/local/share/nageru" };
+       std::vector<std::string> theme_dirs { ".", PREFIX "/share/nageru" };
        std::string recording_dir = ".";
        std::string theme_filename = "theme.lua";
        bool locut_enabled = true;
@@ -63,6 +63,7 @@ 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.