Closed Bug 1869466 Opened 2 years ago Closed 2 years ago

Add MediaDataEncoder::Flush to reset the encoder state

Categories

(Core :: Audio/Video, task, P1)

task

Tracking

()

RESOLVED FIXED

People

(Reporter: chunmin, Unassigned)

References

(Blocks 1 open bug)

Details

MediaDataEncoder may not be able to continue encoding after draining. To keep encoding after draining, adding a ::Flush to reset the codec state as MediaDataDecoder did is good option which makes MediaDataEncoder behaves symmetrically with MediaDataDecoder.

That is known to work (this is how we implement reconfigure sometimes). Closing.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.