summaryrefslogtreecommitdiffstats
path: root/libhb/work.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/work.c')
-rw-r--r--libhb/work.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/libhb/work.c b/libhb/work.c
index 4b09144b2..e3e41cdb2 100644
--- a/libhb/work.c
+++ b/libhb/work.c
@@ -359,13 +359,6 @@ void hb_display_job_info(hb_job_t *job)
}
else
#endif
-#ifdef USE_HWD
- if (hb_hwd_enabled(job->h))
- {
- hb_log(" + decoder: %s (dxva2)", title->video_codec_name);
- }
- else
-#endif
{
hb_log(" + decoder: %s", title->video_codec_name);
}
@@ -1421,23 +1414,6 @@ static void do_job(hb_job_t *job)
goto cleanup;
}
-#ifdef USE_HWD
- /*
- * Check support for and enable DXVA2-accelerated when applicable; we need:
- * - a compatible input bitstream (HB_DECODE_SUPPORT_DXVA2)
- * - DXVA2-accelerated decoding enabled (job->use_hwd)
- * - an AVFormatContext (title->opaque_priv) for now
- */
- if (title->video_decode_support & HB_DECODE_SUPPORT_DXVA2)
- {
- hb_hwd_set_enable(job->h, job->use_hwd && title->opaque_priv != NULL);
- }
- else
-#endif
- {
- hb_hwd_set_enable(job->h, 0);
- }
-
// Filters have an effect on settings.
// So initialize the filters and update the job.
if (job->list_filter && hb_list_count(job->list_filter))