diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-01-08 02:06:42 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-01-08 02:06:42 +0200 |
commit | 17eb7f2c4bb070d9477792fcbd4a5120ee1a789c (patch) | |
tree | 702cfe702169effb14fbabb3f50d289c1683147d /libmpcodecs/vf_screenshot.c | |
parent | ff3ef4e7827424db7444cdb7973faa499e054ac5 (diff) | |
parent | eb6fc7e99e07712b74c17c917aa33704ef6e410a (diff) | |
download | mpv-17eb7f2c4bb070d9477792fcbd4a5120ee1a789c.tar.bz2 mpv-17eb7f2c4bb070d9477792fcbd4a5120ee1a789c.tar.xz |
Merge svn changes up to r30195
Diffstat (limited to 'libmpcodecs/vf_screenshot.c')
-rw-r--r-- | libmpcodecs/vf_screenshot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/vf_screenshot.c b/libmpcodecs/vf_screenshot.c index 0176eddfbd..717f075bb4 100644 --- a/libmpcodecs/vf_screenshot.c +++ b/libmpcodecs/vf_screenshot.c @@ -116,7 +116,7 @@ static void scale_image(struct vf_priv_s* priv, mp_image_t *mpi) priv->buffer = memalign(16, dst_stride[0]*priv->dh); dst[0] = priv->buffer; - sws_scale_ordered(priv->ctx, mpi->planes, mpi->stride, 0, priv->dh, dst, dst_stride); + sws_scale(priv->ctx, mpi->planes, mpi->stride, 0, priv->dh, dst, dst_stride); } static void start_slice(struct vf_instance* vf, mp_image_t *mpi) @@ -139,7 +139,7 @@ static void draw_slice(struct vf_instance* vf, unsigned char** src, int dst_stride[MP_MAX_PLANES] = {0}; dst_stride[0] = vf->priv->stride; dst[0] = vf->priv->buffer; - sws_scale_ordered(vf->priv->ctx, src, stride, y, h, dst, dst_stride); + sws_scale(vf->priv->ctx, src, stride, y, h, dst, dst_stride); } vf_next_draw_slice(vf,src,stride,w,h,x,y); } |