diff options
author | Thomas White <taw@physics.org> | 2020-08-19 12:27:18 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-08-19 12:27:18 +0200 |
commit | d94e9bfa02bc1ee2f0e14132ea9f5f9d2689c757 (patch) | |
tree | d85d4eae0e89fd9e8759cc09efc63dbfa4f9f037 /src/indexamajig.c | |
parent | d2015e147044765de4a6ba4ae96c3e2699124a72 (diff) |
Make Stream responsible for its own DataTemplate
It makes no sense for a different DataTemplate to be used for every
frame in a stream. And this way makes everything much easier for users
ot the API.
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r-- | src/indexamajig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c index 2d0e53c8..15315952 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -993,7 +993,7 @@ int main(int argc, char *argv[]) free(rn); /* Open output stream */ - st = stream_open_for_write(args.outfile); + st = stream_open_for_write(args.outfile, args.iargs.dtempl); if ( st == NULL ) { ERROR("Failed to open stream '%s'\n", args.outfile); return 1; |