Index: chrome/renderer/webmediaplayer_delegate_impl.cc |
diff --git a/chrome/renderer/webmediaplayer_delegate_impl.cc b/chrome/renderer/webmediaplayer_delegate_impl.cc |
index e860a0d919f8810c612a7969ac8bdcbd92dcd920..6e366ae2cd8ad969fd63aa171ce7c2c566eabb78 100644 |
--- a/chrome/renderer/webmediaplayer_delegate_impl.cc |
+++ b/chrome/renderer/webmediaplayer_delegate_impl.cc |
@@ -8,6 +8,7 @@ |
#include "chrome/renderer/render_view.h" |
#include "chrome/renderer/webmediaplayer_delegate_impl.h" |
#include "googleurl/src/gurl.h" |
+#include "media/filters/ffmpeg_demuxer.h" |
///////////////////////////////////////////////////////////////////////////// |
// Task to be posted on main thread that fire WebMediaPlayer methods. |
@@ -52,6 +53,7 @@ WebMediaPlayerDelegateImpl::WebMediaPlayerDelegateImpl(RenderView* view) |
view_(view), |
tasks_(kLastTaskIndex) { |
// TODO(hclam): Add filter factory for demuxer and decoders. |
+ filter_factory_->AddFactory(media::FFmpegDemuxer::CreateFilterFactory()); |
filter_factory_->AddFactory(AudioRendererImpl::CreateFactory(this)); |
filter_factory_->AddFactory(VideoRendererImpl::CreateFactory(this)); |
filter_factory_->AddFactory(DataSourceImpl::CreateFactory(this)); |