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

Unified Diff: Source/modules/mediasource/MediaSource.cpp

Issue 310733002: MSE: Start removing Blink-side support for LegacyFrameProcessor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Explicitly fail unexpected calls to old default impl 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 | « no previous file | public/platform/WebMediaSource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediasource/MediaSource.cpp
diff --git a/Source/modules/mediasource/MediaSource.cpp b/Source/modules/mediasource/MediaSource.cpp
index 2185806ade015d07eedd1cf3e321640083658c9a..56f2bccecbc2969432e429ad9a3ff123e2ad1f8f 100644
--- a/Source/modules/mediasource/MediaSource.cpp
+++ b/Source/modules/mediasource/MediaSource.cpp
@@ -31,7 +31,6 @@
#include "config.h"
#include "modules/mediasource/MediaSource.h"
-#include "RuntimeEnabledFeatures.h"
#include "bindings/v8/ExceptionMessages.h"
#include "bindings/v8/ExceptionState.h"
#include "bindings/v8/ExceptionStatePlaceholder.h"
@@ -478,13 +477,7 @@ PassOwnPtr<WebSourceBuffer> MediaSource::createWebSourceBuffer(const String& typ
{
WebSourceBuffer* webSourceBuffer = 0;
- // FIXME: Always use the new frame processor once it has stabilized enough. See http://crbug.com/249422.
- WebMediaSource::FrameProcessorChoice frameProcessorChoice = RuntimeEnabledFeatures::mediaSourceExperimentalEnabled() ?
- WebMediaSource::UseNewFrameProcessor : WebMediaSource::UseLegacyFrameProcessor;
-
- WTF_LOG(Media, "MediaSource::createWebSourceBuffer() %p : frameProcessorChoice = %i", this, frameProcessorChoice);
-
- switch (m_webMediaSource->addSourceBuffer(type, codecs, frameProcessorChoice, &webSourceBuffer)) {
+ switch (m_webMediaSource->addSourceBuffer(type, codecs, &webSourceBuffer)) {
case WebMediaSource::AddStatusOk:
return adoptPtr(webSourceBuffer);
case WebMediaSource::AddStatusNotSupported:
« no previous file with comments | « no previous file | public/platform/WebMediaSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698