Set metadata before issuing video resize

When metadata is received from a client, make sure we
set the new meta data (which contains width and height data)
before issuing a resize.

Solves: #97