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 ff2c110845b95bd6e4bf329e51d4ba90101a3f40..08e8434c80ab9d0426243bc667dc524078e5f2cd 100644 |
--- a/content/common/gpu/media/v4l2_image_processor.cc |
+++ b/content/common/gpu/media/v4l2_image_processor.cc |
@@ -561,6 +561,8 @@ void V4L2ImageProcessor::Dequeue() { |
output_visible_size_, |
output_record.fds, |
job_record->frame->timestamp()); |
+ if (!output_frame) |
+ continue; |
output_frame->AddDestructionObserver(media::BindToCurrentLoop( |
base::Bind(&V4L2ImageProcessor::ReuseOutputBuffer, |
device_weak_factory_.GetWeakPtr(), |