video:ColorBars: fix for hres not divisible by 8

This commit is contained in:
Franck Jullien 2022-02-25 09:26:01 +01:00
parent ced763e3d9
commit a916a1df24
1 changed files with 3 additions and 0 deletions

View File

@ -300,6 +300,9 @@ class ColorBarsPattern(Module):
NextValue(pix, 0), NextValue(pix, 0),
NextValue(bar, bar + 1) NextValue(bar, bar + 1)
) )
).Else(
NextValue(pix, 0),
NextValue(bar, 0)
) )
) )