| Index: content/common/gpu/media/exynos_video_decode_accelerator.cc
|
| diff --git a/content/common/gpu/media/exynos_video_decode_accelerator.cc b/content/common/gpu/media/exynos_video_decode_accelerator.cc
|
| index 5e7ba8bb176131bd25f429f6bb12726e1070b6c1..95d82df6473932d97edc301c0d51d1a1c4e13d84 100644
|
| --- a/content/common/gpu/media/exynos_video_decode_accelerator.cc
|
| +++ b/content/common/gpu/media/exynos_video_decode_accelerator.cc
|
| @@ -1290,14 +1290,9 @@ void ExynosVideoDecodeAccelerator::EnqueueGsc() {
|
| }
|
| }
|
|
|
| - // Enqueue a GSC output, only if we need one
|
| - // TODO(ihf): Revert to size > 0 once issue 225563 is fixed.
|
| - COMPILE_ASSERT(
|
| - kDpbOutputBufferExtraCount >= kGscOutputBufferExtraForSyncCount,
|
| - gsc_output_buffer_extra_for_sync_count_too_large);
|
| if (gsc_input_buffer_queued_count_ != 0 &&
|
| gsc_output_buffer_queued_count_ == 0 &&
|
| - gsc_free_output_buffers_.size() > kGscOutputBufferExtraForSyncCount) {
|
| + !gsc_free_output_buffers_.empty()) {
|
| const int old_gsc_outputs_queued = gsc_output_buffer_queued_count_;
|
| if (!EnqueueGscOutputRecord())
|
| return;
|
|
|