summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2016-11-12 22:11:05 +0100
committerDamiano Galassi <[email protected]>2016-11-12 22:11:05 +0100
commit7611df7b083d672abb94537c888ad5c189d3c504 (patch)
treec545a48920f629a77a20ed957c6c78bee1b4223e
parent17a0f5b08907134ee9fcc1c86ce3f900c30db8c2 (diff)
libhb: add a missing argument to a hb_sws_get_context.
-rw-r--r--libhb/enc_qsv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libhb/enc_qsv.c b/libhb/enc_qsv.c
index 6871e0c76..852efed15 100644
--- a/libhb/enc_qsv.c
+++ b/libhb/enc_qsv.c
@@ -527,7 +527,8 @@ int qsv_enc_init(hb_work_private_t *pv)
AV_PIX_FMT_YUV420P,
job->width, job->height,
AV_PIX_FMT_NV12,
- SWS_LANCZOS|SWS_ACCURATE_RND);
+ SWS_LANCZOS|SWS_ACCURATE_RND,
+ SWS_CS_DEFAULT);
}
// allocate tasks