From ac6632645966140f776839d5894cf79667a3b367 Mon Sep 17 00:00:00 2001 From: Rodeo Date: Fri, 26 Jul 2013 17:25:11 +0000 Subject: [PATCH] QSV: don't set the deinterlace setting via a string, it's read as an integer. git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5669 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- test/test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test.c b/test/test.c index c8aff4e2f..2bae606d3 100644 --- a/test/test.c +++ b/test/test.c @@ -1837,11 +1837,11 @@ static int HandleEvents( hb_handle_t * h ) int qsv_deinterlace = (deinterlace && (!deinterlace_opt || !strcmp(deinterlace_opt, "32"))); - filter_str = hb_strdup_printf("%d:%d:%d:%d:%d:%d_dei:%s", + filter_str = hb_strdup_printf("%d:%d:%d:%d:%d:%d_dei:%d", job->width, job->height, job->crop[0], job->crop[1], job->crop[2], job->crop[3], - qsv_deinterlace ? "1" : "0"); + qsv_deinterlace); filter = hb_filter_init(HB_FILTER_QSV); hb_add_filter(job, filter, filter_str); free(filter_str); -- 2.40.0