Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 9a9557d

Browse files
committed
Bug 1891082 - Correct log for audio rate r=media-playback-reviewers,alwu,padenot
Differential Revision: https://phabricator.services.mozilla.com/D219146
1 parent c4cf618 commit 9a9557d

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)