Improve reading of metadata and pass any contained NALs to decoder.