diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-09-02 19:48:41 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-09-02 19:48:41 +0000 |
commit | 82acc8397f132e3133fcd8890a1ed793f7fa5818 (patch) | |
tree | cdd0f7f39b74ff97dc8a91713bf64e50fe2c1f9f /libmpcodecs | |
parent | 933f6982d73505070fb82e139e64699979b957a5 (diff) |
hue filter bugfix by ("James Crowson" <jbcrowso at ncsu dot edu>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13233 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/vf_hue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/vf_hue.c b/libmpcodecs/vf_hue.c index c1928ed456..b7952d9536 100644 --- a/libmpcodecs/vf_hue.c +++ b/libmpcodecs/vf_hue.c @@ -76,7 +76,7 @@ static int put_image(struct vf_instance_s* vf, mp_image_t *mpi) vf->priv->buf[1] = malloc(mpi->stride[2]*mpi->h >> mpi->chroma_y_shift); } - if (vf->priv->hue == 0){ + if (vf->priv->hue == 0 && vf->priv->saturation == 1){ dmpi->planes[1] = mpi->planes[1]; dmpi->planes[2] = mpi->planes[2]; }else { |