diff options
Diffstat (limited to 'video/filter')
-rw-r--r-- | video/filter/vf_vavpp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/filter/vf_vavpp.c b/video/filter/vf_vavpp.c index cb11e69cbb..a4a14e0dda 100644 --- a/video/filter/vf_vavpp.c +++ b/video/filter/vf_vavpp.c @@ -201,8 +201,8 @@ static struct mp_image *render(struct vf_instance *vf, struct mp_image *in, goto cleanup; param->surface = in_id; - param->surface_region = NULL; - param->output_region = NULL; + param->surface_region = &(VARectangle){0, 0, in->w, in->h}; + param->output_region = &(VARectangle){0, 0, img->w, img->h}; param->output_background_color = 0; param->filter_flags = flags; param->filters = p->pipe.filters; |