summaryrefslogtreecommitdiffstats
path: root/libhb/enc_qsv.c
diff options
context:
space:
mode:
authorTim Walker <[email protected]>2016-09-11 02:45:52 +0200
committerJohn Stebbins <[email protected]>2016-12-17 07:28:51 -0800
commitcf54e93d660a4f59b8a0bc3882b7726b8aebb84b (patch)
tree1bf0a0bd486f8dfecf74e9bf0e481af854a2017c /libhb/enc_qsv.c
parent4eff4e28b333d71495365741fe55b8db45b446a9 (diff)
decavcodec: enable QSV-accelerated H.264 decoding with libavcodec.
Videos get decoded to NV12 in system memory and converted to our internal colorspace via libswscale. It should be noted that QSV- accelerated decoding now works with all our videos encoders :-)
Diffstat (limited to 'libhb/enc_qsv.c')
-rw-r--r--libhb/enc_qsv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/enc_qsv.c b/libhb/enc_qsv.c
index 852efed15..c048f93be 100644
--- a/libhb/enc_qsv.c
+++ b/libhb/enc_qsv.c
@@ -669,8 +669,8 @@ int encqsvInit(hb_work_object_t *w, hb_job_t *job)
hb_work_private_t *pv = calloc(1, sizeof(hb_work_private_t));
w->private_data = pv;
+ pv->is_sys_mem = 1; // TODO: re-implement QSV VPP filtering support
pv->job = job;
- pv->is_sys_mem = hb_qsv_decode_is_enabled(job) == 0;
pv->qsv_info = hb_qsv_info_get(job->vcodec);
pv->delayed_processing = hb_list_init();
pv->last_start = INT64_MIN;