gecko-dev/dom/media/ogg
Andreas Pehrson 70f6748e8f Bug 1696794 - Drain all full pages in OggWriter::GetContainerData. r=bryce
With bug 1464268 and friends the ContainerWriters starting being called once per
second to get written data out. OggWriter was only able to handle getting one
page out per call, so if we had written N pages to OggWriter while processing a
second worth of data, it'd still have N-1 pages in a buffer. That led to
MediaRecorder writing much too short files when recording audio/ogg.

This patch fixes this properly in OggWriter by extracting all available pages in
GetContainerData().

Differential Revision: https://phabricator.services.mozilla.com/D109029
2021-03-19 19:16:58 +00:00
..
OggCodecState.cpp Bug 1691913 - Rename nsBaseHashtable::Put to InsertOrUpdate. r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika 2021-02-26 09:11:46 +00:00
OggCodecState.h Bug 1692880 - Make Put accept DataType instead of wrapping UserDataType. r=xpcom-reviewers,necko-reviewers,nika 2021-02-16 15:53:33 +00:00
OggCodecStore.cpp Bug 1691913 - Rename nsBaseHashtable::Put to InsertOrUpdate. r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika 2021-02-26 09:11:46 +00:00
OggCodecStore.h Bug 1692880 - Make Put accept DataType instead of wrapping UserDataType. r=xpcom-reviewers,necko-reviewers,nika 2021-02-16 15:53:33 +00:00
OggDecoder.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
OggDecoder.h
OggDemuxer.cpp Bug 1695162 - Use range-based for instead of custom hashtable iterators. r=xpcom-reviewers,kmag 2021-03-17 15:49:46 +00:00
OggDemuxer.h
OggRLBox.h
OggRLBoxTypes.h
OggWriter.cpp Bug 1696794 - Drain all full pages in OggWriter::GetContainerData. r=bryce 2021-03-19 19:16:58 +00:00
OggWriter.h
OpusParser.cpp
OpusParser.h
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00