diff --git a/src/video_capture/ndi.cpp b/src/video_capture/ndi.cpp index aeca6d471..b7dd0cb05 100644 --- a/src/video_capture/ndi.cpp +++ b/src/video_capture/ndi.cpp @@ -159,6 +159,9 @@ static void show_help(const NDIlib_find_create_t *find_create_settings) { for (int i = 0; i < static_cast(nr_sources); ++i) { cout << "\t\t" << p_sources[i].p_ndi_name << " - " << p_sources[i].p_url_address << "\n"; } + if (nr_sources == 0) { + LOG(LOG_LEVEL_ERROR) << MOD_NAME << "No sources found!\n"; + } cout << "\n"; NDIlib_find_destroy(pNDI_find); }