-
kov@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=115754 Patch by Gustavo Noronha Silva <gustavo.noronha@collabora.com> on 2013-05-08 Reviewed by Philippe Normand. Covered by existing tests. Revision 148840 fixed on-disk buffering being done when preload is set to none, but memory buffering is still being done. That is because setting the state to paused causes GStreamer to start loading the media, to gather information. Only doing that when committing the load avoids that while maintaining the tested behaviour unchanged. * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: (WebCore::MediaPlayerPrivateGStreamer::load): move setting pause state to commitLoad. (WebCore::MediaPlayerPrivateGStreamer::commitLoad): see above. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149735 268f45cc-cd09-0410-ab3c-d52691b4dbfc
90b020fe