Chromium Code Reviews| Index: components/arc/common/video_accelerator.mojom |
| diff --git a/components/arc/common/video_accelerator.mojom b/components/arc/common/video_accelerator.mojom |
| index d20a2360b17f10ecb74acac23d5b47be888f16dd..d6b0bd589faf455997390ad84c1207729e85ae3f 100644 |
| --- a/components/arc/common/video_accelerator.mojom |
| +++ b/components/arc/common/video_accelerator.mojom |
| @@ -19,11 +19,6 @@ enum PortType { |
| PORT_OUTPUT = 1, |
| }; |
| -[Extensible] |
| -enum BufferFlag { |
| - BUFFER_FLAG_EOS = 1, |
| -}; |
| - |
| struct BufferMetadata { |
| int64 timestamp; // in microseconds |
| uint32 flags; |
| @@ -68,6 +63,8 @@ interface VideoAcceleratorService { |
| SetNumberOfOutputBuffers@4(uint32 number); |
| Reset@5(); |
| + |
| + Flush@6(); |
|
dcheng
2016/05/07 06:18:11
Out of curiosity, how come we don't do something l
Owen Lin
2016/05/09 07:04:41
Just make it similar to the VDA interface:
https:
dcheng
2016/05/09 21:22:00
Wouldn't the code be simpler though if we just use
Owen Lin
2016/05/10 08:26:33
I think you're right that we can use mojo primitiv
|
| }; |
| interface VideoAcceleratorServiceClient { |
| @@ -88,4 +85,6 @@ interface VideoAcceleratorServiceClient { |
| OnResetDone@3(); |
| OnOutputFormatChanged@4(VideoFormat format); |
| + |
| + OnFlushDone@5(); |
| }; |