Added code for handling video param changes (resolution change)