]> git.sesse.net Git - nageru/blobdiff - flags.cpp
Add red and green borders around channels to mark them as used for live and preview.
[nageru] / flags.cpp
index f8fea018ea89add3c754a604cfea5973eff1cc63..7b20995f12c9c2b94d00432f231698d4e6057759 100644 (file)
--- a/flags.cpp
+++ b/flags.cpp
@@ -13,6 +13,7 @@ void parse_flags(int argc, char * const argv[])
                { "theme", required_argument, 0, 't' },
                { "va-display", required_argument, 0, 1000 },
                { "http-uncompressed-video", no_argument, 0, 1001 },
+               { "flat-audio", no_argument, 0, 1002 },
                { 0, 0, 0, 0 }
        };
        for ( ;; ) {
@@ -35,6 +36,9 @@ void parse_flags(int argc, char * const argv[])
                case 1001:
                        global_flags.uncompressed_video_to_http = true;
                        break;
+               case 1002:
+                       global_flags.flat_audio = true;
+                       break;
                default:
                        fprintf(stderr, "Unknown option '%s'\n", argv[option_index]);
                        exit(1);