Add a callback for codec format changed. am: 3b4b33f479

Change-Id: Iac5fce65df8db03b8dd714d72da07295b0e39636