This `continue` here is looking very odd and looks to me it can be replaced with an `else`.

if (net::IsStrictMediaMimeType(mimetype)) {
  ...
} else {
  codecs_out->insert(it_codec);
}