]> git.sesse.net Git - nageru/blobdiff - nageru/flags.cpp
IWYU-fix nageru/*.cpp.
[nageru] / nageru / flags.cpp
index 032d4fd9665bfdf7d7dadf1d1fd93b8355e850ae..3231318077053b048bfd0cc5be5ac5c5a500526a 100644 (file)
@@ -1,11 +1,19 @@
 #include "flags.h"
+#include "defs.h"
+#include "shared/shared_defs.h"
+#include "ycbcr_interpretation.h"
 
 #include <getopt.h>
+#include <math.h>
+#include <map>
+#include <movit/image_format.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
+#include <string>
 #include <utility>
+#include <vector>
 
 using namespace std;
 
@@ -494,7 +502,7 @@ void parse_flags(Program program, int argc, char * const argv[])
                        global_flags.srt_streamid = string("#!::u=") + optarg + ",copy=0,encoder=Nageru " NAGERU_VERSION;
                        break;
                case OPTION_SRT_LATENCY:
-                       global_flags.srt_output_latency = atoi(optarg);
+                       global_flags.srt_output_latency_ms = atoi(optarg);
                        break;
 #endif
                case OPTION_NO_TRANSCODE_VIDEO: