Skip to content

Commit

Permalink
hue filter bugfix by ("James Crowson" <jbcrowso at ncsu dot edu>)
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13233 b3059339-0415-0410-9bf9-f77b7e298cf2
  • Loading branch information
michael committed Sep 2, 2004
1 parent 8f3e1dc commit a8065c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmpcodecs/vf_hue.c
Expand Up @@ -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 {
Expand Down

0 comments on commit a8065c5

Please sign in to comment.