Add support for audio playback with HTML5 video (issue #121).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@104 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
f542076162
commit
fb50d145b4
|
@ -24,6 +24,7 @@
|
|||
#include "gfx/gdi_util.h"
|
||||
#include "gfx/native_widget_types.h"
|
||||
#include "gfx/point.h"
|
||||
#include "media/filters/audio_renderer_impl.h"
|
||||
#include "net/base/net_errors.h"
|
||||
#include "third_party/WebKit/WebKit/chromium/public/WebConsoleMessage.h"
|
||||
#include "third_party/WebKit/WebKit/chromium/public/WebContextMenuData.h"
|
||||
|
@ -529,6 +530,9 @@ WebMediaPlayer* BrowserWebViewDelegate::createMediaPlayer(
|
|||
scoped_refptr<media::FilterFactoryCollection> factory =
|
||||
new media::FilterFactoryCollection();
|
||||
|
||||
// Add the audio renderer factory.
|
||||
factory->AddFactory(media::AudioRendererImpl::CreateFilterFactory());
|
||||
|
||||
appcache::WebApplicationCacheHostImpl* appcache_host =
|
||||
appcache::WebApplicationCacheHostImpl::FromFrame(frame);
|
||||
|
||||
|
|
Loading…
Reference in New Issue