summaryrefslogtreecommitdiffstats
path: root/libhb/hb.c
diff options
context:
space:
mode:
authorRodeo <[email protected]>2013-10-11 12:00:04 +0000
committerRodeo <[email protected]>2013-10-11 12:00:04 +0000
commit54fde2698cac2a49a0ce786ec04a13fd7360e529 (patch)
treeb8ebbf6953df7779755cc62a374a675448e90d0b /libhb/hb.c
parent51497bc0ea176b4f60a4f1bdbd818c4f7c05cb6f (diff)
scan: print CPU info, GPU info, then QSV info.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5830 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/hb.c')
-rw-r--r--libhb/hb.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/libhb/hb.c b/libhb/hb.c
index 18859de95..4186fa65a 100644
--- a/libhb/hb.c
+++ b/libhb/hb.c
@@ -620,11 +620,6 @@ void hb_scan( hb_handle_t * h, const char * path, int title_index,
hb_title_close( &title );
}
-#ifdef USE_QSV
- /* Print QSV info here so that it's in all scan and encode logs */
- hb_qsv_info_print();
-#endif
-
/* Print CPU info here so that it's in all scan and encode logs */
const char *cpu_name = hb_get_cpu_name();
const char *cpu_type = hb_get_cpu_platform_name();
@@ -635,6 +630,16 @@ void hb_scan( hb_handle_t * h, const char * path, int title_index,
}
hb_log(" - logical processor count: %d", hb_get_cpu_count());
+#ifdef USE_OPENCL
+ /* Print OpenCL info here so that it's in all scan and encode logs */
+ hb_opencl_info_print();
+#endif
+
+#ifdef USE_QSV
+ /* Print QSV info here so that it's in all scan and encode logs */
+ hb_qsv_info_print();
+#endif
+
hb_log( "hb_scan: path=%s, title_index=%d", path, title_index );
h->scan_thread = hb_scan_init( h, &h->scan_die, path, title_index,
&h->title_set, preview_count,