aboutsummaryrefslogtreecommitdiffstats
path: root/src/blind-stack.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-01-14 05:27:50 +0100
committerMattias Andrée <maandree@kth.se>2017-01-14 05:27:50 +0100
commit4125cc7cee7817ec5c7e2e0328011f3e234a4b46 (patch)
tree16f15834f48d69a4bc2deb95d274a48c1ec8e119 /src/blind-stack.c
parentFix blind-transpose (diff)
downloadblind-4125cc7cee7817ec5c7e2e0328011f3e234a4b46.tar.gz
blind-4125cc7cee7817ec5c7e2e0328011f3e234a4b46.tar.bz2
blind-4125cc7cee7817ec5c7e2e0328011f3e234a4b46.tar.xz
Fix blind-stack and blind-concate
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/blind-stack.c')
-rw-r--r--src/blind-stack.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/blind-stack.c b/src/blind-stack.c
index a03fd91..7093e93 100644
--- a/src/blind-stack.c
+++ b/src/blind-stack.c
@@ -66,6 +66,7 @@ main(int argc, char *argv[])
for (i = 0; i < n_streams; i++) {
streams[i].file = argv[i];
streams[i].fd = eopen(streams[i].file, O_RDONLY);
+ einit_stream(streams + i);
}
if (!strcmp(streams->pixfmt, "xyza"))
@@ -73,6 +74,8 @@ main(int argc, char *argv[])
else
eprintf("pixel format %s is not supported, try xyza\n", streams->pixfmt);
+ fprint_stream_head(stdout, streams);
+ efflush(stdout, "<stdout>");
process_multiple_streams(streams, n_streams, STDOUT_FILENO, "<stdout>", process);
free(streams);