summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@gnome.org>2015-04-10 15:37:10 (GMT)
committerEmanuele Aina <emanuele.aina@collabora.com>2015-04-20 10:56:42 (GMT)
commit599ac9190877312b7b72de9b6513fc04973a3dd1 (patch)
tree8a120426bcfd91b4c832ed369362362d49d847fe
parentfbdde954851f112e4fa78a67ac388df75307f5b6 (diff)
downloadWebKit-599ac9190877312b7b72de9b6513fc04973a3dd1.tar.gz
WebKit-599ac9190877312b7b72de9b6513fc04973a3dd1.tar.xz
[GSteamer] Do not bring down the GStreamer pipeline to READY after EOS
Fix replay by working around a bug where we tear down the pipeline on EOS and replaying the video will end up outputting garbage frames.
-rw-r--r--Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp b/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
index a69f496..27a6632 100644
--- a/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
+++ b/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
@@ -1642,12 +1642,6 @@ void MediaPlayerPrivateGStreamer::didEnd()
m_isEndReached = true;
timeChanged();
-
- if (!m_player->mediaPlayerClient()->mediaPlayerIsLooping()) {
- m_paused = true;
- changePipelineState(GST_STATE_READY);
- m_downloadFinished = false;
- }
}
void MediaPlayerPrivateGStreamer::cacheDuration()