kmsmuxingpipeline: Set function to manipulate the state of the internal pipeline

Change-Id: Ibb457da0a3347ac225d5e0018999feed2295da89