Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Unified Diff: public/platform/WebMediaSource.h

Issue 310733002: MSE: Start removing Blink-side support for LegacyFrameProcessor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/mediasource/MediaSource.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/modules/mediasource/MediaSource.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698