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

Unified Diff: content/gpu/gpu_child_thread.cc

Issue 2508053002: media: Do a TimedWait() for video surface teardown in AVDA (Closed)
Patch Set: change timeout to 2 Created 4 years, 1 month 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 | « no previous file | media/gpu/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_child_thread.cc
diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
index 994caed88c3cc88072e544cbbac1564c6ba2b8c9..9455eb5375e3e8d93698e6c26ad72f8778be562e 100644
--- a/content/gpu/gpu_child_thread.cc
+++ b/content/gpu/gpu_child_thread.cc
@@ -50,7 +50,7 @@
#if defined(OS_ANDROID)
#include "media/base/android/media_client_android.h"
-#include "media/gpu/avda_surface_tracker.h"
+#include "media/gpu/avda_codec_allocator.h"
#endif
namespace content {
@@ -509,7 +509,7 @@ void GpuChildThread::OnWakeUpGpu() {
}
void GpuChildThread::OnDestroyingVideoSurface(int surface_id) {
- media::AVDASurfaceTracker::GetInstance()->NotifyDestroyingSurface(surface_id);
+ media::AVDACodecAllocator::Instance()->OnSurfaceDestroyed(surface_id);
Send(new GpuHostMsg_DestroyingVideoSurfaceAck(surface_id));
}
#endif
« no previous file with comments | « no previous file | media/gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698