We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84f560b commit 6feb734Copy full SHA for 6feb734
src/video_capture/avfoundation.mm
@@ -267,7 +267,12 @@ +(NSArray *) devices
267
}
268
269
270
- col() << "device marked with an asterisk ('*') is default\n";
+ if (i == 0 && num_screens == 0) {
271
+ MSG(WARNING, "No devices found!\n");
272
+ } else {
273
+ color_printf("device marked with an asterisk ('*') is default\n");
274
+ }
275
+
276
if (!for_screen && verbose == VERB_NORMAL) {
277
col() << "(type '-t avfoundation:fullhelp' to see available framerates)\n";
278
col() << "(type '-t avfoundation:shorthelp' to hide modes)\n";
0 commit comments