Index: content/common/gpu/media/dxva_video_decode_accelerator_win.h |
diff --git a/content/common/gpu/media/dxva_video_decode_accelerator_win.h b/content/common/gpu/media/dxva_video_decode_accelerator_win.h |
index 5f37ddf9844b3fdecf6ca4f2bc50c448527fe5ee..7624202fa9115a394b5bd7643525dd6be02eb896 100644 |
--- a/content/common/gpu/media/dxva_video_decode_accelerator_win.h |
+++ b/content/common/gpu/media/dxva_video_decode_accelerator_win.h |
@@ -237,6 +237,10 @@ class CONTENT_EXPORT DXVAVideoDecodeAccelerator |
int picture_buffer_id, |
int input_buffer_id); |
+ // Polls to wait for GPU commands to be finished on the picture buffer |
+ // before reusing it. |
+ void WaitForOutputBuffer(int32_t picture_buffer_id, int count); |
+ |
// Initializes the DX11 Video format converter media types. |
// Returns true on success. |
bool InitializeDX11VideoFormatConverterMediaType(int width, int height); |