Index: third_party/WebKit/public/platform/WebSourceBuffer.h |
diff --git a/third_party/WebKit/public/platform/WebSourceBuffer.h b/third_party/WebKit/public/platform/WebSourceBuffer.h |
index 73955dce946dad0b294ad0759f85092ab5611fdb..a847ac67014685d9d2f74a88248dd4fed3b092cf 100644 |
--- a/third_party/WebKit/public/platform/WebSourceBuffer.h |
+++ b/third_party/WebKit/public/platform/WebSourceBuffer.h |
@@ -63,7 +63,9 @@ public: |
// Appends data and runs the segment parser loop algorithm. |
// The algorithm may update |*timestampOffset| if |timestampOffset| is not null. |
- virtual void append(const unsigned char* data, unsigned length, double* timestampOffset) = 0; |
+ // Returns true on success, otherwise the append error algorithm needs to |
+ // run with the decode error parameter set to true. |
+ virtual bool append(const unsigned char* data, unsigned length, double* timestampOffset) = 0; |
virtual void resetParserState() = 0; |
virtual void remove(double start, double end) = 0; |