examples/ip_pipeline: check pipeline type