summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaPePeR <MaPePeR@users.noreply.github.com>2017-11-23 18:25:13 +0100
committerGitHub <noreply@github.com>2017-11-23 18:25:13 +0100
commitd00f960d8d205d3517b2f0b0981068736f519890 (patch)
treedb0f1934825eeade33e766b29a17e12c9ead77da
parent0d9b67dd5ba2a9a8274ba16241f82a9e7159c51c (diff)
downloadODR-AudioEnc-d00f960d8d205d3517b2f0b0981068736f519890.tar.gz
ODR-AudioEnc-d00f960d8d205d3517b2f0b0981068736f519890.tar.bz2
ODR-AudioEnc-d00f960d8d205d3517b2f0b0981068736f519890.zip
Allow to specify an ipc:// zmq output.
-rw-r--r--src/odr-audioenc.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/odr-audioenc.cpp b/src/odr-audioenc.cpp
index e282d89..7538efb 100644
--- a/src/odr-audioenc.cpp
+++ b/src/odr-audioenc.cpp
@@ -221,7 +221,7 @@ void usage(const char* name)
" -R, --restart Automatically restart input on fault.\n"
"\n"
"Only the tcp:// zeromq transport has been tested until now,\n"
- " but epgm:// and pgm:// are also accepted\n"
+ " but epgm://, pgm:// and ipc:// are also accepted\n"
);
}
@@ -771,7 +771,8 @@ int main(int argc, char *argv[])
}
else if ((uri.compare(0, 6, "tcp://") == 0) ||
(uri.compare(0, 6, "pgm://") == 0) ||
- (uri.compare(0, 7, "epgm://") == 0)) {
+ (uri.compare(0, 7, "epgm://") == 0) ||
+ (uri.compare(0,6, "ipc://") == 0)) {
if (keyfile) {
fprintf(stderr, "Enabling encryption\n");