summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/test.c5
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",