diff options
author | sr55 <[email protected]> | 2017-01-15 20:16:51 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2017-01-15 20:16:51 +0000 |
commit | d8aeda196a508952a230402787227b2640d4e884 (patch) | |
tree | 877e6026455da192435a8a3dd6fc184ef7451813 | |
parent | 790ee3501cffe1cdfdf13e427fb699ccdc2c0ada (diff) |
cli: Adding hb_opencl_set_enable when --use-opencl is set. #496
-rw-r--r-- | test/test.c | 5 |
1 files changed, 5 insertions, 0 deletions
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", |