setting video-size before recording patch