Skip to content

Commit a44593a

Browse files
committed
Bug 1749046 - Even when the configuration of an encoder wouldn't change 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
1 parent 3c047cc commit a44593a

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

dom/media/webcodecs/EncoderTemplate.cpp

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5355,6 +5355,23 @@ to
53555355
do
53565356
return
53575357
now
5358+
but
5359+
per
5360+
spec
5361+
the
5362+
config
5363+
/
5364+
/
5365+
must
5366+
be
5367+
output
5368+
next
5369+
time
5370+
a
5371+
packet
5372+
is
5373+
output
5374+
.
53585375
if
53595376
(
53605377
configDiff
@@ -5365,6 +5382,10 @@ Empty
53655382
)
53665383
)
53675384
{
5385+
mOutputNewDecoderConfig
5386+
=
5387+
true
5388+
;
53685389
LOG
53695390
(
53705391
"

0 commit comments

Comments
 (0)