render: Fix the video codec settings saving

Fixes bug https://bugzilla.gnome.org/show_bug.cgi?id=709536