Changeset 249332 in webkit
- Timestamp:
- Aug 30, 2019 10:17:20 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/imported/w3c/ChangeLog
r249320 r249332 1 2019-08-30 Alicia Boya García <aboya@igalia.com> 2 3 [MSE][GStreamer] Replaying the video should update currentTime 4 https://bugs.webkit.org/show_bug.cgi?id=201307 5 6 Reviewed by Xabier Rodriguez-Calvar. 7 8 * web-platform-tests/media-source/mediasource-replay-expected.txt: Added. 9 * web-platform-tests/media-source/mediasource-replay.html: Added. 10 1 11 2019-08-30 Joonghun Park <jh718.park@samsung.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r249331 r249332 1 2019-08-30 Alicia Boya García <aboya@igalia.com> 2 3 [MSE][GStreamer] Replaying the video should update currentTime 4 https://bugs.webkit.org/show_bug.cgi?id=201307 5 6 Reviewed by Xabier Rodriguez-Calvar. 7 8 While writing a test to confirm that https://bugs.webkit.org/show_bug.cgi?id=190050 9 has indeed been fixed I noticed a non-conformity: when the video has 10 ended, right after calling .play() for a second playback currentTime 11 did not return zero, but the video duration. 12 13 This turned to be due to the m_isEndReached flag not being reseted on 14 seeks (replaying a video incurs in a seek done from multi-platform 15 code). 16 17 Test: imported/w3c/web-platform-tests/media-source/mediasource-replay.html 18 19 * platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp: 20 (WebCore::MediaPlayerPrivateGStreamerMSE::seek): 21 1 22 2019-08-30 Zalan Bujtas <zalan@apple.com> 2 23 -
trunk/Source/WebCore/platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp
r249205 r249332 145 145 void MediaPlayerPrivateGStreamerMSE::seek(const MediaTime& time) 146 146 { 147 GST_DEBUG_OBJECT(pipeline(), "Seeking to %s", time.toString().utf8().data()); 147 148 m_seekTime = time; 148 149 m_seeking = true; 150 m_isEndReached = false; 149 151 150 152 webKitMediaSrcSeek(WEBKIT_MEDIA_SRC(m_source.get()), toGstClockTime(m_seekTime), m_playbackRate);
Note: See TracChangeset
for help on using the changeset viewer.