fix grey picture when resolution is the same
Merge pull request #1592 from dongzha/FixGreyPic

fix grey picture when resolution is the same