Skip to content

Commit 3dea7f9

Browse files
committed
Bug 1891082 - Correct log for audio rate r=media-playback-reviewers,alwu,padenot
Differential Revision: https://phabricator.services.mozilla.com/D219146 UltraBlame original commit: 173ac1b6ad6e6692b739820538c5ad82e9001b8b
1 parent 3ebfbcd commit 3dea7f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dom/media/webcodecs/AudioDecoder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ Result<UniquePtr<TrackInfo>, nsresult> AudioDecoderTraits::CreateTrackInfo(
261261

262262
LOG("Created AudioInfo %s (%" PRIu32 "ch %" PRIu32
263263
"Hz - with extra-data: %s)",
264-
NS_ConvertUTF16toUTF8(aConfig.mCodec).get(), ai->mChannels, ai->mChannels,
264+
NS_ConvertUTF16toUTF8(aConfig.mCodec).get(), ai->mChannels, ai->mRate,
265265
aConfig.mDescription && !aConfig.mDescription->IsEmpty() ? "yes" : "no");
266266

267267
return track;

0 commit comments

Comments
 (0)