From 387589be2114ed2981dc8b48c66154da01302565 Mon Sep 17 00:00:00 2001 From: agalin89 Date: Wed, 16 Oct 2019 21:49:08 +0100 Subject: qsv: full mode only when needed Squashed: - qsv: check filter_count instead of variable - fix: remove unchanged files from review - qsv: simplified code --- libhb/hb_json.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'libhb/hb_json.c') diff --git a/libhb/hb_json.c b/libhb/hb_json.c index 8ad0a720d..64e953f5d 100644 --- a/libhb/hb_json.c +++ b/libhb/hb_json.c @@ -1394,16 +1394,7 @@ hb_job_t* hb_dict_to_job( hb_handle_t * h, hb_dict_t *dict ) { 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); } } } -- cgit v1.2.3