From 1474a35cac24f52efe4270b475e0ce315e6edaa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Wed, 21 Feb 2018 15:54:10 +0200 Subject: [PATCH] bmd-streamer 1.0.1 --- bmd-streamer.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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)