summaryrefslogtreecommitdiffstats
path: root/libhb/hb_json.c
diff options
context:
space:
mode:
authormaximd33 <[email protected]>2019-05-18 20:49:10 +0200
committerScott <[email protected]>2019-05-26 19:28:57 +0100
commitec37ce222d4baaf13b0c5f5efedf350d5f28fc8f (patch)
treef168442ca71caa5d99929bca4e0d5c838df2f3ca /libhb/hb_json.c
parentacbeba350a2067b716c5867296e4d9396be37657 (diff)
qsv: zero-copy re-implementation
Diffstat (limited to 'libhb/hb_json.c')
-rw-r--r--libhb/hb_json.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/libhb/hb_json.c b/libhb/hb_json.c
index 7433089f0..d3d190df4 100644
--- a/libhb/hb_json.c
+++ b/libhb/hb_json.c
@@ -1366,7 +1366,16 @@ 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);
- hb_add_filter_dict(job, filter, filter_settings);
+#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);
+ }
}
}
}