Skip to content

Commit

Permalink
simplify errors
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankEnderman committed Oct 31, 2021
1 parent a23e3bd commit 0b7f548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion media/renderers/win/media_foundation_audio_stream.cc
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ HRESULT GetDefaultAudioType(const AudioDecoderConfig decoder_config,

GUID mf_subtype = AudioCodecToMediaFoundationSubtype(decoder_config.codec());
if (mf_subtype == GUID_NULL) {
DLOG(ERROR) << "Unsupported codec type: " << decoder_config.codec();
DLOG(ERROR) << "Unsupported format: " << decoder_config.codec();
return MF_E_TOPO_CODEC_NOT_FOUND;
}
RETURN_IF_FAILED(media_type->SetGUID(MF_MT_SUBTYPE, mf_subtype));
Expand Down

0 comments on commit 0b7f548

Please sign in to comment.