Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 3ac8e42c0897ab1d9c2ea8527dcf7cfe24708608)