mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 803086: Process NULL image chunks in NotifyQueuedTrackChanges() r=ekr
This commit is contained in:
parent
d27a7a3945
commit
76f9897831
@ -595,6 +595,10 @@ void MediaPipelineTransmit::ProcessVideoChunk(VideoSessionConduit *conduit,
|
||||
VideoChunk& chunk) {
|
||||
// We now need to send the video frame to the other side
|
||||
layers::Image *img = chunk.mFrame.GetImage();
|
||||
if (!img) {
|
||||
// segment.AppendFrame() allows null images, which show up here as null
|
||||
return;
|
||||
}
|
||||
|
||||
ImageFormat format = img->GetFormat();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user