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

Unified Diff: media/blink/webmediaplayer_impl.cc

Issue 1822153002: Attempt at suspend fix (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/vt_video_decode_accelerator_mac.cc ('k') | ui/gl/gl_image_io_surface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webmediaplayer_impl.cc
diff --git a/media/blink/webmediaplayer_impl.cc b/media/blink/webmediaplayer_impl.cc
index bbab083d55dd21aa663bffe248390c0092b43b83..6aa487655f3d1a112b149d380ccc1df5dfc4868e 100644
--- a/media/blink/webmediaplayer_impl.cc
+++ b/media/blink/webmediaplayer_impl.cc
@@ -1121,7 +1121,8 @@ void WebMediaPlayerImpl::OnSuspendRequested(bool must_suspend) {
return;
#endif
-#if defined(OS_MACOSX)
+ printf("OnSuspendRequest\n");
+#if 0
// TODO(sandersd): Idle suspend is disabled on OSX since hardware decoded
// frames are owned by the video decoder in the GPU process. A mechanism for
// detaching ownership from the decoder is needed. http://crbug.com/595716.
« no previous file with comments | « content/common/gpu/media/vt_video_decode_accelerator_mac.cc ('k') | ui/gl/gl_image_io_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698