add decide frame type for screen content
Merge pull request #728 from ruil2/enc_type2

 add decide frame type for screen content