summaryrefslogtreecommitdiffstats
path: root/libhb/rendersub.c
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2016-11-07 11:46:40 +0100
committerDamiano Galassi <[email protected]>2016-11-08 10:06:48 +0100
commitdfd46b588bfe5bbb668376ede16ef7337e510213 (patch)
tree9671917b3708233d9bd9851e14404e851525ef3d /libhb/rendersub.c
parent844c4c85da94733967ba6a795fe881f62768d50b (diff)
Select the appropriate coefficients for yuv<->rgb conversions.
Diffstat (limited to 'libhb/rendersub.c')
-rw-r--r--libhb/rendersub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/rendersub.c b/libhb/rendersub.c
index 4ecb726d8..6ebfffcb5 100644
--- a/libhb/rendersub.c
+++ b/libhb/rendersub.c
@@ -240,7 +240,7 @@ static hb_buffer_t * ScaleSubtitle(hb_filter_private_t *pv,
pv->sws = hb_sws_get_context(
sub->f.width, sub->f.height, sub->f.fmt,
scaled->f.width, scaled->f.height, sub->f.fmt,
- SWS_LANCZOS|SWS_ACCURATE_RND);
+ SWS_LANCZOS|SWS_ACCURATE_RND, SWS_CS_DEFAULT);
pv->sws_width = width;
pv->sws_height = height;
}