Rewrite the OLC handling logic to be table driven, as we now have too many choices.
Rewrite the OLC handling logic to be table driven, as we now have too many choices.

gphoto/libgphoto2,gphoto/libgphoto2,gphoto/libgphoto2,gphoto/libgphoto2,gphoto/libgphoto2,gphoto/libgphoto2