X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=main.cpp;h=25f82eb291a5ed3893b8f4516c3bacc816cc9d94;hp=03ef0d7aaa5ef587cd2547be0b07b38abe0f7183;hb=f583e4d329222d8ce2a11524e924c02139b4f28d;hpb=d60b2c17baf9b71e4a70a499fa1d34753821c822 diff --git a/main.cpp b/main.cpp index 03ef0d7..25f82eb 100644 --- a/main.cpp +++ b/main.cpp @@ -269,6 +269,11 @@ vector create_inputs(const vector &config, } if (input == NULL) { input = create_input(stream_id, src); + if (input == NULL) { + fprintf(stderr, "ERROR: did not understand URL '%s', clients will not get any data.\n", + src.c_str()); + continue; + } } input->run(); inputs.push_back(input);