Workaround for QtMultimedia bug (QTMOBILITY-1090)
authorAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Mon, 14 Feb 2011 20:22:42 +0000 (17:22 -0300)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Mon, 14 Feb 2011 20:22:42 +0000 (17:22 -0300)
commit429bbaa92d60a22a2264e0a1d909dd3f070249a7
tree621ddfb7daa6753126a7078be28072ec0262b010
parent498023aa2b5bfdd15420c7ebf5d51db7ba5223b1
Workaround for QtMultimedia bug (QTMOBILITY-1090)

Patch from Yi Shen <yi.4.shen@nokia.com> to workaround a QtMobility bug
that affects webkit but is a WONTFIX on trunk:

    [Qt][Symbian] HTML5 audio/video can't play after click the play button
    https://bugs.webkit.org/show_bug.cgi?id=53682

    On symbian platform, it never gets BufferedMedia status if NOT calls
    QMediaPlayer::play(). So, we need to pre-roll to get the correct
    buffer-status.

    Covered by existing tests.

    * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
    (WebCore::MediaPlayerPrivateQt::commitLoad):
WebCore/ChangeLog
WebCore/platform/graphics/qt/MediaPlayerPrivateQt.cpp