Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1645)

Unified Diff: content/common/gpu/media/exynos_video_decode_accelerator.cc

Issue 16866016: Revert hotfix for EVDA tearing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@git-svn
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..b99a26005c8e1a53cff4b195e123e0d957fa8fd9 100644
--- a/content/common/gpu/media/exynos_video_decode_accelerator.cc
+++ b/content/common/gpu/media/exynos_video_decode_accelerator.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
Ami GONE FROM CHROMIUM 2013/06/13 20:56:47 lolwat2
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -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;

Powered by Google App Engine
This is Rietveld 408576698