summaryrefslogtreecommitdiffstats
path: root/test/test.c
diff options
context:
space:
mode:
authormaxd <[email protected]>2013-10-11 15:29:29 +0000
committermaxd <[email protected]>2013-10-11 15:29:29 +0000
commit66009cb19c3ba6b6a27fc4bcbf1373cb90307a80 (patch)
tree6c914e106dae4c81a0c70ccf821aadf07252ab9d /test/test.c
parente37de0578bba59362c27ad636d9bf20085a47388 (diff)
HW: fix for compile and runtime behavior and support of the features/RB601
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5833 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test/test.c')
-rw-r--r--test/test.c24
1 files changed, 16 insertions, 8 deletions
diff --git a/test/test.c b/test/test.c
index b64203937..fa67f6a95 100644
--- a/test/test.c
+++ b/test/test.c
@@ -477,14 +477,22 @@ 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] );
- if ( title->opencl_support )
- fprintf( stderr, " + support opencl: yes\n");
- else
- fprintf( stderr, " + support opencl: no\n");
- if ( title->hwd_support )
- fprintf( stderr, " + support hwd: yes\n");
- else
- fprintf( stderr, " + support hwd: no\n");
+
+ fprintf( stderr, " + support opencl: %s\n",
+#ifdef USE_OPENCL
+ title->opencl_support ? "yes" : "no"
+#else
+ "not built-in"
+#endif
+ );
+ fprintf( stderr, " + support hwd: %s\n",
+#ifdef USE_HWD
+ title->hwd_support ? "yes" : "no"
+#else
+ "not built-in"
+#endif
+ );
+
fprintf( stderr, " + chapters:\n" );
for( i = 0; i < hb_list_count( title->list_chapter ); i++ )
{