When the resolution is changed to small, does not reset the va context.

So it's ok when vaimage's resolution is larger then video's resolution.