Rectangular version of the Hungarian flag at the battle of Baia (1467) according to the Chronica Hungarorum.
Own work, according to:

Tucrcoczy Janos Campania Iancu de hunedoara.jpg
Kingdom of Hungary against Moldavians flag in battle.jpg
Sir Iain