Index: public/platform/WebMediaSource.h |
diff --git a/public/platform/WebMediaSource.h b/public/platform/WebMediaSource.h |
index 702ba4c145612fdcaeae0769d28ed6a088b58d71..3773323f1342e95859bb8bb678b0494072b3d477 100644 |
--- a/public/platform/WebMediaSource.h |
+++ b/public/platform/WebMediaSource.h |
@@ -58,7 +58,21 @@ public: |
}; |
virtual ~WebMediaSource() { } |
- virtual AddStatus addSourceBuffer(const WebString& type, const WebVector<WebString>& codecs, const FrameProcessorChoice, WebSourceBuffer**) = 0; |
+ |
acolwell GONE FROM CHROMIUM
2014/06/13 18:30:40
nit: Remove unnecessary whitespace on this line?
wolenetz
2014/06/16 20:00:24
Done.
|
+ // FIXME: Remove addSourceBuffer() that has FrameProcessorChoice, and remove |
+ // the default implementations for addSourceBuffer() once Chromium |
+ // implementation of the addSourceBuffer() with no FrameProcessorChoice has |
+ // landed. See http://crbug.com/249422. |
+ virtual AddStatus addSourceBuffer(const WebString& type, const WebVector<WebString>& codecs, const FrameProcessorChoice, WebSourceBuffer** webSourceBuffer) |
+ { |
+ // Ignore FrameProcessorChoice. |
+ return addSourceBuffer(type, codecs, webSourceBuffer); |
acolwell GONE FROM CHROMIUM
2014/06/13 18:30:40
I'm assuming you are doing this so you don't have
wolenetz
2014/06/16 20:00:24
That Chromium CL still needs this to land first an
|
+ } |
+ virtual AddStatus addSourceBuffer(const WebString& type, const WebVector<WebString>& codecs, WebSourceBuffer** webSourceBuffer) |
+ { |
+ return addSourceBuffer(type, codecs, WebMediaSource::UseNewFrameProcessor, webSourceBuffer); |
+ } |
+ |
virtual double duration() = 0; |
virtual void setDuration(double) = 0; |
virtual void markEndOfStream(EndOfStreamStatus) = 0; |