fixed crash if no keyframe sequence set

Signed-off-by: luka8088 <luka8088@owave.net>