diff options
author | agalin89 <[email protected]> | 2021-03-21 14:48:48 +0000 |
---|---|---|
committer | Scott <[email protected]> | 2021-03-21 22:21:36 +0000 |
commit | 126013c87d2069b36dce86a5a11996f92a6593a8 (patch) | |
tree | 532eefbaf01f6ae3128281c8ac27dfa717e3b547 /libhb/work.c | |
parent | 9f505305c87f758394c4813f4ee4a4ba5e44e73b (diff) |
qsv: fix adapter details info when multiple runs
Diffstat (limited to 'libhb/work.c')
-rw-r--r-- | libhb/work.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libhb/work.c b/libhb/work.c index 65532361f..a81700200 100644 --- a/libhb/work.c +++ b/libhb/work.c @@ -142,7 +142,10 @@ static void work_func( void * _work ) job = new_job; } #if HB_PROJECT_FEATURE_QSV - hb_qsv_setup_job(job); + if (hb_qsv_available()) + { + hb_qsv_setup_job(job); + } #endif hb_job_setup_passes(job->h, job, passes); hb_job_close(&job); |