{
hb_filter_object_t *filter;
filter = hb_filter_init(filter_id);
-#if HB_PROJECT_FEATURE_QSV
- if(hb_qsv_full_path_is_enabled(job))
- {
- hb_log("Filter with ID=%d is disabled", filter_id);
- }
- else
-#endif
- {
- hb_add_filter_dict(job, filter, filter_settings);
- }
+ hb_add_filter_dict(job, filter, filter_settings);
}
}
}
{
static int device_check_completed = 0;
static int device_check_succeded = 0;
+ int filter_count = hb_list_count(job->list_filter);
+
if(!device_check_completed)
{
device_check_succeded = ((hb_d3d11va_device_check() >= 0)
|| (hb_dxva2_device_check() == 0)) ? 1 : 0;
device_check_completed = 1;
}
- return (hb_qsv_decode_is_enabled(job) && hb_qsv_info_get(job->vcodec) && device_check_succeded);
+ return (hb_qsv_decode_is_enabled(job) &&
+ hb_qsv_info_get(job->vcodec) &&
+ device_check_succeded &&
+ (filter_count == 0));
}
int hb_qsv_copyframe_is_slow(int encoder)