Index: media/filters/fake_video_decoder.h |
diff --git a/media/filters/fake_video_decoder.h b/media/filters/fake_video_decoder.h |
index bd0b28450a917ddd6a47b285a058fce364f41616..417c83e783d84efb41475c2a162d36f9f8e0e252 100644 |
--- a/media/filters/fake_video_decoder.h |
+++ b/media/filters/fake_video_decoder.h |
@@ -30,7 +30,8 @@ namespace media { |
class FakeVideoDecoder : public VideoDecoder { |
public: |
// Constructs an object with a decoding delay of |decoding_delay| frames. |
- explicit FakeVideoDecoder(int decoding_delay); |
+ explicit FakeVideoDecoder(int decoding_delay, |
+ bool supports_get_decode_output); |
virtual ~FakeVideoDecoder(); |
// VideoDecoder implementation. |
@@ -40,6 +41,7 @@ class FakeVideoDecoder : public VideoDecoder { |
const DecodeCB& decode_cb) OVERRIDE; |
virtual void Reset(const base::Closure& closure) OVERRIDE; |
virtual void Stop(const base::Closure& closure) OVERRIDE; |
+ virtual scoped_refptr<VideoFrame> GetDecodeOutput() OVERRIDE; |
// Holds the next init/read/reset/stop callback from firing. |
void HoldNextInit(); |
@@ -77,6 +79,8 @@ class FakeVideoDecoder : public VideoDecoder { |
const int decoding_delay_; |
+ bool supports_get_decode_output_; |
+ |
State state_; |
CallbackHolder<PipelineStatusCB> init_cb_; |