| Index: content/common/gpu/media/v4l2_slice_video_decode_accelerator.cc
|
| diff --git a/content/common/gpu/media/v4l2_slice_video_decode_accelerator.cc b/content/common/gpu/media/v4l2_slice_video_decode_accelerator.cc
|
| index e4f36c45df5057d6631da6e5dd78007f2fd7b9b5..11ef7a7d13b04a8c74fe297b9623a9a0be89c084 100644
|
| --- a/content/common/gpu/media/v4l2_slice_video_decode_accelerator.cc
|
| +++ b/content/common/gpu/media/v4l2_slice_video_decode_accelerator.cc
|
| @@ -1265,6 +1265,8 @@ void V4L2SliceVideoDecodeAccelerator::FinishSurfaceSetChangeIfNeeded() {
|
|
|
| DCHECK_EQ(state_, kIdle);
|
| DCHECK(decoder_display_queue_.empty());
|
| + // All output buffers should've been returned from decoder and device by now.
|
| + DCHECK_EQ(free_output_buffers_.size(), output_buffer_map_.size());
|
|
|
| // Keep input queue running while we switch outputs.
|
| if (!StopDevicePoll(true)) {
|
|
|