Browse Source

Text fixes.

Georgi Chorbadzhiyski 9 years ago
parent
commit
e65ffebd59
2 changed files with 14 additions and 16 deletions
  1. 11
    13
      README
  2. 3
    3
      videohubctrl.c

+ 11
- 13
README View File

@@ -1,11 +1,9 @@
1 1
 videohubctrl - Blackmagic Videohub control application
2 2
 ======================================================
3 3
 
4
-Blackmagic Design Videohub is SDI router device which can be controlled
5
-over the network using very simple text based protocol which
6
-videohubctrl implements.
7
-
8
-videohubctrl is tested with Blackmagic Design Micro Videohub 16x16
4
+videohubctrl implements the simple text based network protocol for
5
+controlling Blackmagic Design Videohub SDI router devices. The
6
+program is tested with Blackmagic Design Micro Videohub 16x16
9 7
 router and probably will work with other Videohub models.
10 8
 
11 9
 videohubctrl currently displays and can configure:
@@ -15,8 +13,8 @@ videohubctrl currently displays and can configure:
15 13
   - Video output routing
16 14
   - Video output locking
17 15
 
18
-The following features found in bigger Videohub models are currently not
19
-supported (I don't have the hardware):
16
+The following features found in bigger Videohub models are currently
17
+not supported (I don't have the hardware):
20 18
 
21 19
   - Configuration of video processing units
22 20
   - Configuration of Video monitoring outputs
@@ -44,12 +42,12 @@ videohubctrl Version: 0.3 Git: 0.3-dirty
44 42
  Usage: videohubctrl --host <host> [..commands..]
45 43
 
46 44
 Main options:
47
- -h --host <hostname>       | Set device hostname.
45
+ -h --host <host>           | Set device host name.
48 46
  -p --port <port_number>    | Set device port (default: 9990).
49 47
 
50 48
 Commands:
51 49
  -i --info                  | Show full device info (default command).
52
-                            . This command is shows the equivallent of
50
+                            . This command is shows the equivalent of
53 51
                             .  running all --list-XXX commands.
54 52
  -m --monitor               | Display real-time config changes monitor.
55 53
  -b --backup                | Show the command line that will restore
@@ -68,7 +66,7 @@ Video input/output configuration:
68 66
  --vo-lock <out_X>          | Lock output port X.
69 67
  --vo-unlock <out_X>        | Unlock output port X.
70 68
 
71
-  NOTE: For <in_X/out_X/in_Y> you may use port number or port name.
69
+   For <in_X/out_X/in_Y> you may use port number or port name.
72 70
 
73 71
 Misc options:
74 72
  -d --debug                 | Increase logging verbosity.
@@ -84,11 +82,11 @@ The following environment variables are checked and used by the program
84 82
 if they are set:
85 83
 
86 84
  VIDEOHUB_HOST
87
-    Sets the device host name. It is equivallent to using -h / --host
85
+    Sets the device host name. It is equivalent to using -h / --host
88 86
     command line parameter.
89 87
 
90 88
  VIDEOHUB_PORT
91
-    Sets the device port. It is equivallent to using -p / --port command
89
+    Sets the device port. It is equivalent to using -p / --port command
92 90
     line parameter.
93 91
 
94 92
 
@@ -108,7 +106,7 @@ Example usage
108 106
 
109 107
 
110 108
  # Lock and then unlock output 16 (unlock assumes that the port is
111
- # named Output 16). The hostname is set via env variable.
109
+ # named Output 16). The host name is set via env variable.
112 110
 
113 111
    export VIDEOHUB_HOST=sdi
114 112
    videohubctrl --vo-lock 16

+ 3
- 3
videohubctrl.c View File

@@ -69,12 +69,12 @@ static void show_help(struct videohub_data *data) {
69 69
 	printf(" Usage: " PROGRAM_NAME " --host <host> [..commands..]\n");
70 70
 	printf("\n");
71 71
 	printf("Main options:\n");
72
-	printf(" -h --host <hostname>       | Set device hostname.\n");
72
+	printf(" -h --host <host>           | Set device host name.\n");
73 73
 	printf(" -p --port <port_number>    | Set device port (default: 9990).\n");
74 74
 	printf("\n");
75 75
 	printf("Commands:\n");
76 76
 	printf(" -i --info                  | Show full device info (default command).\n");
77
-	printf("                            . This command is shows the equivallent of\n");
77
+	printf("                            . This command is shows the equivalent of\n");
78 78
 	printf("                            .  running all --list-XXX commands.\n");
79 79
 	printf(" -m --monitor               | Display real-time config changes monitor.\n");
80 80
 	printf(" -b --backup                | Show the command line that will restore\n");
@@ -93,7 +93,7 @@ static void show_help(struct videohub_data *data) {
93 93
 	printf(" --vo-lock <out_X>          | Lock output port X.\n");
94 94
 	printf(" --vo-unlock <out_X>        | Unlock output port X.\n");
95 95
 	printf("\n");
96
-	printf("  NOTE: For <in_X/out_X/in_Y> you may use port number or port name.\n");
96
+	printf("   For <in_X/out_X/in_Y> you may use port number or port name.\n");
97 97
 	printf("\n");
98 98
 	printf("Misc options:\n");
99 99
 	printf(" -d --debug                 | Increase logging verbosity.\n");

Loading…
Cancel
Save