[MSE][GStreamer] Seek on youtube.com/tv fails after r217185
authoreocanha@igalia.com <eocanha@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Oct 2017 07:44:11 +0000 (07:44 +0000)
committereocanha@igalia.com <eocanha@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Oct 2017 07:44:11 +0000 (07:44 +0000)
commit59050aa46be8d166d26234ce5ef8e84e4ba9c444
treee986b4a88e07fe21509a845f71674320290caedb
parent82550ebf39f4c8a75e6d9b4e1c1b9e3dc6a5b225
[MSE][GStreamer] Seek on youtube.com/tv fails after r217185
https://bugs.webkit.org/show_bug.cgi?id=177976

Reviewed by Jer Noble.

Covered by existing tests.

* Modules/mediasource/MediaSource.cpp:
(WebCore::MediaSource::seekToTime): Only call waitForSeekCompleted()
when the time is not buffered when using GStreamer.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@222966 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/Modules/mediasource/MediaSource.cpp