From d00f960d8d205d3517b2f0b0981068736f519890 Mon Sep 17 00:00:00 2001 From: MaPePeR Date: Thu, 23 Nov 2017 18:25:13 +0100 Subject: Allow to specify an ipc:// zmq output. --- src/odr-audioenc.cpp | 5 +++-- 1 file 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"); -- cgit v1.2.3