diff options
author | wm4 <wm4@nowhere> | 2013-12-02 22:06:22 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-04 00:07:38 +0100 |
commit | 1176ca9465298d5626e7a793625ecab546eab3d6 (patch) | |
tree | e60b4e4ce2d7e2b13bc6d77cbcbd69e05a4f01fb /video/filter | |
parent | ca956af446387f409f51160c1d2c674f70788bda (diff) | |
download | mpv-1176ca9465298d5626e7a793625ecab546eab3d6.tar.bz2 mpv-1176ca9465298d5626e7a793625ecab546eab3d6.tar.xz |
vf_screenshot: remove unnecessary code
Diffstat (limited to 'video/filter')
-rw-r--r-- | video/filter/vf_screenshot.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/video/filter/vf_screenshot.c b/video/filter/vf_screenshot.c index 5941093429..d5846e20cc 100644 --- a/video/filter/vf_screenshot.c +++ b/video/filter/vf_screenshot.c @@ -33,7 +33,6 @@ #include "vf.h" struct vf_priv_s { - int display_w, display_h; struct mp_image *current; }; @@ -42,8 +41,6 @@ static int config(struct vf_instance *vf, unsigned int flags, unsigned int outfmt) { mp_image_unrefp(&vf->priv->current); - vf->priv->display_w = d_width; - vf->priv->display_h = d_height; return vf_next_config(vf,width,height,d_width,d_height,flags,outfmt); } @@ -51,8 +48,6 @@ static struct mp_image *filter(struct vf_instance *vf, struct mp_image *mpi) { mp_image_unrefp(&vf->priv->current); vf->priv->current = talloc_steal(vf, mp_image_new_ref(mpi)); - mp_image_set_display_size(vf->priv->current, vf->priv->display_w, - vf->priv->display_h); return mpi; } |