videoencoder: add proper format for gsize