genxml: fix invalid end value for video fields