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

Unified Diff: media/gpu/dxva_video_decode_accelerator_win.cc

Issue 2935023003: Store information about stale output picture buffers on stack. (Closed)
Patch Set: Created 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/dxva_video_decode_accelerator_win.cc
diff --git a/media/gpu/dxva_video_decode_accelerator_win.cc b/media/gpu/dxva_video_decode_accelerator_win.cc
index 764a7c2549df61132eb7a9176f2183a30940b5c2..3122a9ba0cc77c714494bedb4384dd7b065f9079 100644
--- a/media/gpu/dxva_video_decode_accelerator_win.cc
+++ b/media/gpu/dxva_video_decode_accelerator_win.cc
@@ -2077,6 +2077,9 @@ void DXVAVideoDecodeAccelerator::StopDecoderThread() {
base::AutoLock lock(decoder_lock_);
sample_count = pending_output_samples_.size();
}
+ size_t stale_output_picture_buffers_size =
+ stale_output_picture_buffers_.size();
+ PictureBufferMechanism mechanism = GetPictureBufferMechanism();
base::debug::Alias(&last_exception_code);
base::debug::Alias(&last_unhandled_error);
@@ -2086,6 +2089,8 @@ void DXVAVideoDecodeAccelerator::StopDecoderThread() {
base::debug::Alias(&perf_frequency.QuadPart);
base::debug::Alias(&output_array_size);
base::debug::Alias(&sample_count);
+ base::debug::Alias(&stale_output_picture_buffers_size);
+ base::debug::Alias(&mechanism);
decoder_thread_.Stop();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698