From d1a5dfdf162d1e1200e7ee1060435d76a028d4c4 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 7 Jul 2017 20:58:16 +0200 Subject: Add blind-chroma-key MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/blind-sinc-wave.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/blind-sinc-wave.c') diff --git a/src/blind-sinc-wave.c b/src/blind-sinc-wave.c index 02c053d..aa91a8b 100644 --- a/src/blind-sinc-wave.c +++ b/src/blind-sinc-wave.c @@ -16,7 +16,6 @@ static int equal = 0; TYPE y, theta0y = 0;\ TYPE z, theta0z = 0;\ TYPE a, theta0a = 0;\ - echeck_dimensions(grad, WIDTH | HEIGHT, NULL);\ do {\ if (!m) {\ m = grad->frame_size;\ @@ -107,6 +106,8 @@ main(int argc, char *argv[]) if (have_theta0 && strcmp(stream.pixfmt, theta0.pixfmt)) eprintf("videos use incompatible pixel formats\n"); + echeck_dimensions(&stream, WIDTH | HEIGHT, NULL); + fprint_stream_head(stdout, &stream); efflush(stdout, ""); process(&stream, have_theta0 ? &theta0 : NULL); -- cgit v1.2.3-70-g09d2