fix input source width and height setting issue
Merge pull request #849 from ruil2/enc_size_v10

fix input source width and height setting issue