Commit Graph

8 Commits

Author SHA1 Message Date
trav90 42e40ccf4e Fix build bustage in MediaData.cpp 2018-07-25 01:31:21 +08:00
trav90 5feeb987d0 Don't use a FallibleTArray as backend for MediaRawData
MediaRawData is often kept to store small data that is unlikely to change over the lifetime of the MediaRawData. The use of nsTArray as memory backend comes at a cost of much greater memory allocated than required.
2018-07-25 01:31:19 +08:00
trav90 9a6b3eb6b1 Use getter to access MediaRawData mData and mSize member 2018-07-25 01:31:17 +08:00
trav90 e210003812 Use MediaRawDataWriter to access MediaRawData::mCrypto
This is to make it consistent with accessing mData.
2018-07-25 01:21:22 +08:00
trav90 d6335febb4 Rename LargeDataBuffer and DataBuffer objects
This prevents conflicts and crashes with WebRTC libs that use those names already. Some linkers appear to get it wrong and calls the destructor of the wrong class.
2018-07-25 01:19:09 +08:00
trav90 6603400118 Fix const-ness in MediaData 2018-07-25 01:18:33 +08:00
trav90 a09289133e Create new MediaRawData object type
This object extends MediaData and will be used to contain demuxed compressed data.
2018-07-25 01:18:25 +08:00
Moonchild baf46a6bf1 Merge pull request #1 from mozilla/esr38: Esr38 upstream pull 2018-07-24 23:04:07 +08:00