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

Unified Diff: chrome/renderer/webmediaplayer_delegate_impl.cc

Issue 48118: Uses FFmpeg in chrome/renderer (Closed)
Patch Set: cleanup Created 11 years, 9 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 | « chrome/app/chrome_binaries.vsprops ('k') | chrome/test/interactive_ui/interactive_ui.vcproj » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
« no previous file with comments | « chrome/app/chrome_binaries.vsprops ('k') | chrome/test/interactive_ui/interactive_ui.vcproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698