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

Unified Diff: content/common/gpu/media/gpu_video_decode_accelerator.h

Issue 1816203003: Add an additional VDA::Flush() mode to return all allocated buffers. (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
Index: content/common/gpu/media/gpu_video_decode_accelerator.h
diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.h b/content/common/gpu/media/gpu_video_decode_accelerator.h
index 541271f3451562180f9f9b45e92c96de68f46799..3f175e910a84ad1d17f089268560069b5a7f870d 100644
--- a/content/common/gpu/media/gpu_video_decode_accelerator.h
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.h
@@ -111,7 +111,7 @@ class GpuVideoDecodeAccelerator
void OnAssignPictureBuffers(const std::vector<int32_t>& buffer_ids,
const std::vector<uint32_t>& texture_ids);
void OnReusePictureBuffer(int32_t picture_buffer_id);
- void OnFlush();
+ void OnFlush(bool return_buffers);
void OnReset();
void OnDestroy();

Powered by Google App Engine
This is Rietveld 408576698