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..c501c926e0c4142cdd4d8cad4dfd3bfe7d2b5167 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; |
Pawel Osciak
2016/01/13 07:53:25
We should NOTIFY_ERROR from here instead. Otherwis
emircan
2016/01/14 23:13:53
Changing to NOTIFY_ERROR and return. The logs woul
|
output_frame->AddDestructionObserver(media::BindToCurrentLoop( |
base::Bind(&V4L2ImageProcessor::ReuseOutputBuffer, |
device_weak_factory_.GetWeakPtr(), |