diff options
Diffstat (limited to 'video/filter/vf_crop.c')
-rw-r--r-- | video/filter/vf_crop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/filter/vf_crop.c b/video/filter/vf_crop.c index 6ef0d8d0c1..49b4e7e55b 100644 --- a/video/filter/vf_crop.c +++ b/video/filter/vf_crop.c @@ -63,7 +63,7 @@ static int config(struct vf_instance *vf, mp_tmsg(MSGT_VFILTER, MSGL_WARN, "[CROP] Bad position/width/height - cropped area outside of the original!\n"); return 0; } - vf_rescale_dsize(vf, &d_width, &d_height, width, height, + vf_rescale_dsize(&d_width, &d_height, width, height, vf->priv->crop_w, vf->priv->crop_h); return vf_next_config(vf,vf->priv->crop_w,vf->priv->crop_h,d_width,d_height,flags,outfmt); } |