Skip to content

Commit

Permalink
Bug 1749046 - Even when the configuration of an encoder wouldn't chan…
Browse files Browse the repository at this point in the history
…ge because the config is identical, the decoder config must be emitted. r=chunmin

This fixes a test failure in audio encoder WPTs.

Differential Revision: https://phabricator.services.mozilla.com/D199542

UltraBlame original commit: 022e47d17ccaf4408863a4a51aded62a86f1bbf2
  • Loading branch information
marco-c committed Jun 6, 2024
1 parent 3c047cc commit a44593a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions dom/media/webcodecs/EncoderTemplate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5355,6 +5355,23 @@ to
do
return
now
but
per
spec
the
config
/
/
must
be
output
next
time
a
packet
is
output
.
if
(
configDiff
Expand All @@ -5365,6 +5382,10 @@ Empty
)
)
{
mOutputNewDecoderConfig
=
true
;
LOG
(
"
Expand Down

0 comments on commit a44593a

Please sign in to comment.