X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fmain.cpp;h=cbf66e6fbcccbf029e1a1153c8ce7d54f629e3d5;hb=b22b0f8e945c5a0b9e738eb982b61aa70b88ed1d;hp=37034edd2c823fbb36eb7d3dc262be86f258c7e2;hpb=dc78f9a5b3936fe7cdcc61368c7a5e21ba473608;p=nageru diff --git a/nageru/main.cpp b/nageru/main.cpp index 37034ed..cbf66e6 100644 --- a/nageru/main.cpp +++ b/nageru/main.cpp @@ -30,7 +30,6 @@ extern "C" { #endif #include "shared/context.h" #include "flags.h" -#include "image_input.h" #include "mainwindow.h" #include "mixer.h" #include "quicksync_encoder.h" @@ -82,7 +81,7 @@ int main(int argc, char *argv[]) #endif #ifdef HAVE_SRT - if (global_flags.srt_port >= 0) { + if (global_flags.srt_port >= 0 || !global_flags.srt_destination_host.empty()) { srt_startup(); } #endif