X-Git-Url: http://rtime.felk.cvut.cz/gitweb/frescor/streamer.git/blobdiff_plain/a2118616fc80ea0f354f004d63e24ad521692374..903d5a038ad2dbaee9bc033601705a6fbecfb037:/streamer.c diff --git a/streamer.c b/streamer.c index 7ec7f8a..a91ee24 100644 --- a/streamer.c +++ b/streamer.c @@ -65,6 +65,7 @@ usage(void) printf(" -i input video device format [%s]\n", impform); printf(" -p destination port [%d]\n", dport); printf(" -b bitrate in b/s [%d]\n", bitrate); + printf(" -s name of output sdp file [%s]\n", sdp_file); #ifdef CONFIG_OC_ULUT printf(" -l |=,...\n"); #endif /*CONFIG_OC_ULUT*/ @@ -74,8 +75,11 @@ static int args_parse(int argc, char *argv[]) { int v; - while ((v = getopt(argc, argv, "w:h:r:d:m:i:l:b:p:")) >= 0) { + while ((v = getopt(argc, argv, "w:h:r:d:m:i:l:b:p:s:")) >= 0) { switch (v) { + case 's': + sdp_file = optarg; + break; case 'p': dport = atoi(optarg); break;