summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/MediaPlayer.cpp
diff options
context:
space:
mode:
authorNicolas Roard <nicolas@android.com>2010-02-02 13:11:32 +0000
committerNicolas Roard <nicolas@android.com>2010-05-07 12:03:08 -0700
commit7f493d591dfd3492d5916ca301a4dbcd61554a06 (patch)
tree864427fa2b9161070fd7a9df626ad83ffadeec2b /WebCore/platform/graphics/MediaPlayer.cpp
parent8e37eff9e07e986e0314f08ed2e079fb8356e831 (diff)
downloadexternal_webkit-7f493d591dfd3492d5916ca301a4dbcd61554a06.zip
external_webkit-7f493d591dfd3492d5916ca301a4dbcd61554a06.tar.gz
external_webkit-7f493d591dfd3492d5916ca301a4dbcd61554a06.tar.bz2
Implement the audio tag in webkit -- the corresponding java CL is https://android-git.corp.google.com/g/#change,41406
Change-Id: Ief37a7d9879308f0749fcd569e82fddc3f989a8a
Diffstat (limited to 'WebCore/platform/graphics/MediaPlayer.cpp')
-rw-r--r--WebCore/platform/graphics/MediaPlayer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/MediaPlayer.cpp b/WebCore/platform/graphics/MediaPlayer.cpp
index 8a9a264..9a7f7b3 100644
--- a/WebCore/platform/graphics/MediaPlayer.cpp
+++ b/WebCore/platform/graphics/MediaPlayer.cpp
@@ -204,6 +204,9 @@ MediaPlayer::MediaPlayer(MediaPlayerClient* client)
, m_muted(false)
, m_preservesPitch(true)
, m_autobuffer(false)
+#if PLATFORM(ANDROID)
+ , m_mediaElementType(Video)
+#endif
#if ENABLE(PLUGIN_PROXY_FOR_VIDEO)
, m_playerProxy(0)
#endif