mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 803086: Process NULL image chunks in NotifyQueuedTrackChanges() r=ekr
This commit is contained in:
parent
d04e8b7122
commit
80fe7b4291
@ -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