agnosticbin2: Use typefind instead of capturing sink pad events

Change-Id: I731eecb6ae55bcd3ccd8e443b0324266830fc4bb