summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorhandbrake <[email protected]>2013-01-15 07:35:19 +0000
committerhandbrake <[email protected]>2013-01-15 07:35:19 +0000
commit85b4cc450b4fbbd54d6355b91665657523200b10 (patch)
tree9f0a6393e3006f5ef3200ea323edf277f738342e /test
parentd7e6753cd7b8972ceeafcfe1b932e095a48a3f59 (diff)
modified some display information errors
modified GUI OpenCL/UVD checkbox enable errors modified compile without enable-opencl work errors git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5171 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test')
-rw-r--r--test/test.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/test/test.c b/test/test.c
index f54122918..8bca6bd66 100644
--- a/test/test.c
+++ b/test/test.c
@@ -424,10 +424,14 @@ static void PrintTitleInfo( hb_title_t * title, int feature )
(float) title->rate / title->rate_base );
fprintf( stderr, " + autocrop: %d/%d/%d/%d\n", title->crop[0],
title->crop[1], title->crop[2], title->crop[3] );
-
- fprintf( stderr, " + support opencl: %d \n", title->opencl_support);
- fprintf( stderr, " + support uvd: %d\n", title->uvd_support);
-
+ if (title->opencl_support)
+ fprintf( stderr, " + support opencl: yes\n");
+ else
+ fprintf( stderr, " + support opencl: no\n");
+ if (title->uvd_support)
+ fprintf( stderr, " + support uvd: yes\n");
+ else
+ fprintf( stderr, " + support uvd: no\n");
fprintf( stderr, " + chapters:\n" );
for( i = 0; i < hb_list_count( title->list_chapter ); i++ )
{