From 342de4ff3d9d96871c57334768cd9ee25b9b2026 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Sat, 16 May 2009 16:53:53 +0200 Subject: [PATCH] Streamer updated to allow specify destination host (option -m). The default changed to local (127.0.0.1). Signed-off-by: Pavel Pisa --- streamer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/streamer.c b/streamer.c index b110212..1a708cd 100644 --- a/streamer.c +++ b/streamer.c @@ -17,7 +17,7 @@ static const char *sdp_file = "sdp.txt"; static const char *vdev = "/dev/video0"; -static const char *dst = "224.10.20.30"; +static const char *dst = "127.0.0.1"; static int dport = 20000; static int width = 352; static int height = 288; @@ -38,7 +38,7 @@ static int args_parse(int argc, char *argv[]) { int v; - while ((v = getopt(argc, argv, "w:h:r:d:")) >= 0) { + while ((v = getopt(argc, argv, "w:h:r:d:m:")) >= 0) { switch (v) { case 'w': width = atoi(optarg); -- 2.39.2