more robust webcam initialization handling

Signed-off-by: Nepetalactone <tobias.meusburger@gmx.net>