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

Unified Diff: content/common/gpu/media/v4l2_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/v4l2_video_decode_accelerator.h
diff --git a/content/common/gpu/media/v4l2_video_decode_accelerator.h b/content/common/gpu/media/v4l2_video_decode_accelerator.h
index 3d06665e344a27f0d490c34ed0dd7ae359b8529e..1c78293d351880b9bc3e83d3b88b0e323000b0f5 100644
--- a/content/common/gpu/media/v4l2_video_decode_accelerator.h
+++ b/content/common/gpu/media/v4l2_video_decode_accelerator.h
@@ -92,7 +92,7 @@ class CONTENT_EXPORT V4L2VideoDecodeAccelerator
void AssignPictureBuffers(
const std::vector<media::PictureBuffer>& buffers) override;
void ReusePictureBuffer(int32_t picture_buffer_id) override;
- void Flush() override;
+ void Flush(bool return_buffers) override;
void Reset() override;
void Destroy() override;
bool CanDecodeOnIOThread() override;

Powered by Google App Engine
This is Rietveld 408576698