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

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: 27c368ed Copyright notice. 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
« no previous file with comments | « content/common/gpu/media/exynos_video_decode_accelerator.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « content/common/gpu/media/exynos_video_decode_accelerator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698