Changeset 49624 in webkit


Ignore:
Timestamp:
Oct 15, 2009 7:31:52 AM (14 years ago)
Author:
eric@webkit.org
Message:

2009-10-15 Philippe Normand <pnormand@igalia.com>

Reviewed by Gustavo Noronha.

https://bugs.webkit.org/show_bug.cgi?id=30002

implement cancelLoad

  • platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp: (WebCore::MediaPlayerPrivate::cancelLoad):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r49623 r49624  
     12009-10-15  Philippe Normand  <pnormand@igalia.com>
     2
     3        Reviewed by Gustavo Noronha.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=30002
     6
     7        implement cancelLoad
     8
     9        * platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp:
     10        (WebCore::MediaPlayerPrivate::cancelLoad):
     11
    1122009-10-15  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
    213
  • trunk/WebCore/platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp

    r49622 r49624  
    478478void MediaPlayerPrivate::cancelLoad()
    479479{
    480     notImplemented();
     480    if (m_networkState < MediaPlayer::Loading || m_networkState == MediaPlayer::Loaded)
     481        return;
     482
     483    if (m_playBin)
     484        gst_element_set_state(m_playBin, GST_STATE_NULL);
    481485}
    482486
Note: See TracChangeset for help on using the changeset viewer.