summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libhb/cropscale.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/cropscale.c b/libhb/cropscale.c
index 426f84634..d217393d1 100644
--- a/libhb/cropscale.c
+++ b/libhb/cropscale.c
@@ -56,8 +56,8 @@ static int hb_crop_scale_init( hb_filter_object_t * filter,
pv->pix_fmt_out = init->pix_fmt;
pv->width_in = init->width;
pv->height_in = init->height;
- pv->width_out = init->width;
- pv->height_out = init->height;
+ pv->width_out = init->width - (init->crop[2] + init->crop[3]);
+ pv->height_out = init->height - (init->crop[0] + init->crop[1]);
memcpy( pv->crop, init->crop, sizeof( int[4] ) );
if( filter->settings )
{