File tree 1 file changed +10
-5
lines changed
1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 43
43
#include "lib_common.h"
44
44
#include "utils/color_out.h"
45
45
#include "utils/macros.h"
46
+ #include "utils/text.h"
46
47
#include "video.h"
47
48
#include "video_capture.h"
48
49
@@ -64,9 +65,14 @@ static void vidcap_switcher_done(void *state);
64
65
65
66
static void show_help ()
66
67
{
67
- color_printf (TBOLD ("switcher" ) " capture allow switching between given "
68
- "video devices optionally with audio "
69
- "(see below or wiki for syntax)\n\n" );
68
+ char desc [] =
69
+ TBOLD ("switcher" ) " capture allow switching between given "
70
+ "video devices optionally with audio "
71
+ "(see below or wiki for usage).\n\n"
72
+ "Switching can be done by using keys 1-N or "
73
+ "via a control socket.\n\n" ;
74
+ color_printf ("%s" , wrap_paragraph (desc ));
75
+
70
76
color_printf ("Usage:\n" );
71
77
color_printf ("\t" TBOLD (TRED ("-t switcher" )) "[opts] " TBOLD (
72
78
"-t <dev1> -t "
@@ -76,8 +82,7 @@ static void show_help()
76
82
color_printf ("\t" TBOLD (
77
83
"<devN>" ) " - a configuration of device to be switched\n" );
78
84
color_printf ("\t" TBOLD (
79
- "<port>" ) " - specifies port which should be used to control "
80
- "switching\n" );
85
+ "select=<N>" ) " - specifies initially selected device idx\n" );
81
86
color_printf ("\t" TBOLD (
82
87
"excl_init" ) " - devices will be initialized after switching to "
83
88
"and\n\t\tdeinitialized after switching to another\n" );
You can’t perform that action at this time.
0 commit comments