Commit ddc95a4f authored by philn@webkit.org's avatar philn@webkit.org

2010-01-25 Philippe Normand <pnormand@igalia.com>

        Reviewed by Eric Seidel.

        autobuffer value not forwarded media element to MediaPlayer
        https://bugs.webkit.org/show_bug.cgi?id=33889

        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::loadResource): Forward autobuffer
        value to MediaPlayer instance.
        * platform/graphics/MediaPlayer.cpp:
        (WebCore::MediaPlayer::load): Forward autobuffer and
        preservesPitch values to newly created platform media player instance.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53910 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 10469aeb
2010-01-25 Philippe Normand <pnormand@igalia.com>
Reviewed by Eric Seidel.
autobuffer value not forwarded media element to MediaPlayer
https://bugs.webkit.org/show_bug.cgi?id=33889
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::loadResource): Forward autobuffer
value to MediaPlayer instance.
* platform/graphics/MediaPlayer.cpp:
(WebCore::MediaPlayer::load): Forward autobuffer and
preservesPitch values to newly created platform media player instance.
2010-01-25 Philippe Normand <pnormand@igalia.com>
Reviewed by Eric Seidel.
......@@ -586,6 +586,7 @@ void HTMLMediaElement::loadResource(const KURL& initialURL, ContentType& content
m_player = MediaPlayer::create(this);
#endif
m_player->setAutobuffer(autobuffer());
m_player->setPreservesPitch(m_webkitPreservesPitch);
updateVolume();
......
......@@ -245,7 +245,8 @@ void MediaPlayer::load(const String& url, const ContentType& contentType)
#if ENABLE(PLUGIN_PROXY_FOR_VIDEO)
m_private->setMediaPlayerProxy(m_playerProxy);
#endif
m_private->setAutobuffer(autobuffer());
m_private->setPreservesPitch(preservesPitch());
}
if (m_private)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment