From d8aeda196a508952a230402787227b2640d4e884 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sun, 15 Jan 2017 20:16:51 +0000 Subject: cli: Adding hb_opencl_set_enable when --use-opencl is set. #496 --- test/test.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test') diff --git a/test/test.c b/test/test.c index d48e88a8b..2e9c115f9 100644 --- a/test/test.c +++ b/test/test.c @@ -448,6 +448,11 @@ int main( int argc, char ** argv ) hb_register_error_handler(&hb_cli_error_handler); hb_dvd_set_dvdnav( dvdnav ); + + if (use_opencl == 1) + { + hb_opencl_set_enable(h, use_opencl); + } /* Show version */ fprintf( stderr, "%s - %s - %s\n", -- cgit v1.2.3