From d94e9bfa02bc1ee2f0e14132ea9f5f9d2689c757 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 19 Aug 2020 12:27:18 +0200 Subject: 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. --- src/process_image.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/process_image.c') diff --git a/src/process_image.c b/src/process_image.c index a04e9468..60568ede 100644 --- a/src/process_image.c +++ b/src/process_image.c @@ -404,8 +404,7 @@ streamwrite: time_accounts_set(taccs, TACC_WRITESTREAM); set_last_task(last_task, "stream write"); sb_shared->pings[cookie]++; - ret = stream_write_chunk(st, image, iargs->dtempl, - iargs->stream_flags); + ret = stream_write_chunk(st, image, iargs->stream_flags); if ( ret != 0 ) { ERROR("Error writing stream file.\n"); } -- cgit v1.2.3