Merge "save codec info during codec construction"