added a global variable to check if layout surface should be refreshed
Merge pull request #1 from spaceinch/ios_8_video_fix

added a global variable to check if layout surface should be refreshed