diff --git a/bmd-streamer.c b/bmd-streamer.c index a626b9a..4decc25 100644 --- a/bmd-streamer.c +++ b/bmd-streamer.c @@ -31,6 +31,8 @@ #include "blackmagic.h" +#define VERSION "1.0.1" + /* * TODO and ideas: * - Get VR_SET_AUDIO_DELAY for remaining modes from USB traces @@ -1301,6 +1303,8 @@ static int handle_hotplug(libusb_context *ctx, libusb_device *dev, libusb_hotplu static int usage(void) { fprintf(stderr, + "bmd-streamer " VERSION "\n" + "\n" "usage: bmd-streamer [OPTIONS]\n" "\n" " -v,--verbose Print more information\n" @@ -1453,7 +1457,7 @@ int main(int argc, char **argv) libusb_handle_events(ctx); error: - // wait child process to terminate + // wait child processes to terminate while (waitpid(-1, &status, 0) != -1 || errno != ECHILD); if (msg)