1) store successfully set codec into m_codec 2) don't try to re-set the codec when starting to record