fix input source width and height setting issue
Merge pull request #816 from ruil2/enc_scale

fix input source width and height setting issue