Index: content/common/gpu/media/v4l2_image_processor.cc |
diff --git a/content/common/gpu/media/v4l2_image_processor.cc b/content/common/gpu/media/v4l2_image_processor.cc |
index 2e500146ab8310fd8f927daedfbfa81f4aefbc68..f0cf397777480b9453f5135a5cdc0f52f2d19bea 100644 |
--- a/content/common/gpu/media/v4l2_image_processor.cc |
+++ b/content/common/gpu/media/v4l2_image_processor.cc |
@@ -561,6 +561,10 @@ void V4L2ImageProcessor::Dequeue() { |
output_visible_size_, |
output_record.fds, |
job_record->frame->timestamp()); |
+ if (!output_frame) { |
+ NOTIFY_ERROR(); |
+ return; |
+ } |
output_frame->AddDestructionObserver(media::BindToCurrentLoop( |
base::Bind(&V4L2ImageProcessor::ReuseOutputBuffer, |
device_weak_factory_.GetWeakPtr(), |