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

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

Issue 23125014: Run VDA::Decode on GPU IO thread if VDA supports it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 4 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 677df9c350470545a468614d8b3e08f8b7fe94bd..46fbae9fde07f524107f6a93e1ecff97bb06243c 100644
--- a/content/common/gpu/media/exynos_video_decode_accelerator.cc
+++ b/content/common/gpu/media/exynos_video_decode_accelerator.cc
@@ -415,7 +415,7 @@ void ExynosVideoDecodeAccelerator::Decode(
const media::BitstreamBuffer& bitstream_buffer) {
DVLOG(1) << "Decode(): input_id=" << bitstream_buffer.id()
<< ", size=" << bitstream_buffer.size();
- DCHECK(child_message_loop_proxy_->BelongsToCurrentThread());
+ DCHECK(!child_message_loop_proxy_->BelongsToCurrentThread());
Ami GONE FROM CHROMIUM 2013/08/22 14:52:03 Better to affirmatively check being on IO thread.
scoped_ptr<BitstreamBufferRef> bitstream_record(new BitstreamBufferRef(
client_, child_message_loop_proxy_,

Powered by Google App Engine
This is Rietveld 408576698