зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1397793 - Share SharedBuffer accross SourceMediaStream. r=pehrsons
MozReview-Commit-ID: 4PEjwiA6PR8 --HG-- extra : rebase_source : 8c3d3f15eaa926f35311b66026f4d3aa10ce3ffa extra : source : 81889a72ac45db0507c38423084f3cfce71d2ecd
This commit is contained in:
Родитель
469073f238
Коммит
68ba9be263
|
@ -904,7 +904,8 @@ MediaEngineWebRTCMicrophoneSource::PacketizeAndProcess(MediaStreamGraph* aGraph,
|
|||
// We already have planar audio data of the right format. Insert into the
|
||||
// MSG.
|
||||
MOZ_ASSERT(processedOutputChannelPointers.Length() == aChannels);
|
||||
segment.AppendFrames(buffer.forget(),
|
||||
RefPtr<SharedBuffer> other = buffer;
|
||||
segment.AppendFrames(other.forget(),
|
||||
processedOutputChannelPointersConst,
|
||||
mPacketizer->PacketSize(),
|
||||
mPrincipalHandles[i]);
|
||||
|
|
Загрузка…
Ссылка в новой задаче