change the attribute of hw_codec_info so that it can be updated dynamically