diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-04-19 02:48:53 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-04-19 02:48:53 +0000 |
commit | f0626e2f8d8579e9491e98ec67e4c283a914180b (patch) | |
tree | 0e48e8b5115b0e49ad30b404e9a14cda5908501d /libmpcodecs/vf_noise.c | |
parent | 4188ea6e9990520aa475dd37b69935a78769bfb9 (diff) | |
download | mpv-f0626e2f8d8579e9491e98ec67e4c283a914180b.tar.bz2 mpv-f0626e2f8d8579e9491e98ec67e4c283a914180b.tar.xz |
vf_clone_mpi_attributes()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9935 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vf_noise.c')
-rw-r--r-- | libmpcodecs/vf_noise.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libmpcodecs/vf_noise.c b/libmpcodecs/vf_noise.c index d11178a100..453b4ced05 100644 --- a/libmpcodecs/vf_noise.c +++ b/libmpcodecs/vf_noise.c @@ -351,8 +351,7 @@ static int put_image(struct vf_instance_s* vf, mp_image_t *mpi){ noise(dmpi->planes[1], mpi->planes[1], dmpi->stride[1], mpi->stride[1], mpi->w/2, mpi->h/2, &vf->priv->chromaParam); noise(dmpi->planes[2], mpi->planes[2], dmpi->stride[2], mpi->stride[2], mpi->w/2, mpi->h/2, &vf->priv->chromaParam); - dmpi->qscale=mpi->qscale; - dmpi->qstride=mpi->qstride; + vf_clone_mpi_attributes(dmpi, mpi); #ifdef HAVE_MMX if(gCpuCaps.hasMMX) asm volatile ("emms\n\t"); |