Skip to content

Commit 61c6243

Browse files
committed
vcap/delta: notice about deltacast-dv
HDMI/DP devices are listed in the card list (and vice versa - SDI in deltacast-dv) but are not handled so make at least a notice about that. Doesn't seem to be necessary for deltacast-dv (from the namw the specialization is more clear). + removed excess NL after card listings
1 parent 930c4c5 commit 61c6243

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/video_capture/deltacast.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ usage(bool full)
111111
color_printf("\t" TBOLD("codec") " - pixel format to capture (see list below)\n");
112112

113113
print_available_delta_boards(full);
114-
printf("\n");
115114

116115
if (full) {
117116
printf("Available modes:\n");
@@ -133,8 +132,9 @@ usage(bool full)
133132
printf("\tv210\n");
134133
printf("\traw\n");
135134

136-
printf("\nDefault board is 0. If mode is omitted, it will be autodetected "
137-
"(except of UHD modes). Default codec is UYVY.\n");
135+
printf("\nDefault board is 0, codec is UYVY.\n");
136+
printf("This module handles SDI devices, for DP/HDMI ones, use "
137+
"'deltacast-dv' capture device.\n");
138138
}
139139

140140
static void vidcap_deltacast_probe(device_info **available_cards, int *count, void (**deleter)(void *))
@@ -517,7 +517,7 @@ vidcap_deltacast_init(struct vidcap_params *params, void **state)
517517
if (!delta_chn_type_is_sdi(ChnType)) {
518518
MSG(ERROR, "ERROR : The selected channel is not a SDI one\n");
519519
if (delta_board_type_is_dv(BrdId)) {
520-
MSG(NOTICE, "Use 'deltacast_dv' capture device\n");
520+
MSG(NOTICE, "Use 'deltacast-dv' capture device\n");
521521
}
522522
HANDLE_ERROR
523523
}

src/video_display/deltacast.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ show_help(bool full)
111111

112112
print_available_delta_boards(full);
113113

114-
printf("\nDefault board is 0.\n");
114+
printf("Default board is 0.\n");
115115
}
116116

117117
static struct video_frame *

0 commit comments

Comments
 (0)