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

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: 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 | « no previous file | public/platform/WebMediaSource.h » ('j') | public/platform/WebMediaSource.h » ('J')
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 424a6662caa1a66ecd53e0839cb0814c8b0eb034..acc4cb3e2c1572455f1bed3b9d8a67f96b1241d1 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"
@@ -477,13 +476,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') | public/platform/WebMediaSource.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698