diff options
Diffstat (limited to 'video/filter/vf_screenshot.c')
-rw-r--r-- | video/filter/vf_screenshot.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/filter/vf_screenshot.c b/video/filter/vf_screenshot.c index e4ba696f69..bb5ca517a0 100644 --- a/video/filter/vf_screenshot.c +++ b/video/filter/vf_screenshot.c @@ -139,6 +139,7 @@ static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts) image = *dmpi; else image = *vf->priv->image; + image.flags &= ~MP_IMGFLAG_ALLOCATED; image.w = vf->priv->image->w; image.h = vf->priv->image->h; vf_clone_mpi_attributes(&image, mpi); |