Index: media/filters/video_decode_engine.h |
diff --git a/media/filters/video_decode_engine.h b/media/filters/video_decode_engine.h |
index 8dc9d252d16c0d611706f52d9da4916002f550ea..3efe647f4f18c025f6c2df65e71a44e44fcf46aa 100644 |
--- a/media/filters/video_decode_engine.h |
+++ b/media/filters/video_decode_engine.h |
@@ -26,6 +26,7 @@ class VideoDecodeEngine { |
kCreated, |
kNormal, |
kStopped, |
+ kFlushing, |
kError, |
}; |
@@ -65,6 +66,7 @@ class VideoDecodeEngine { |
virtual void Stop(Task* done_cb) = 0; |
virtual void Pause(Task* done_cb) = 0; |
+ virtual void Seek(Task* done_cb) = 0; |
// Flushes the decode engine of any buffered input packets. |
virtual void Flush(Task* done_cb) = 0; |
@@ -73,6 +75,8 @@ class VideoDecodeEngine { |
// DecodeFrame(). |
virtual VideoFrame::Format GetSurfaceFormat() const = 0; |
+ virtual bool ProvidesBuffer() const = 0; |
+ |
// Returns the current state of the decode engine. |
virtual State state() const = 0; |
}; |