Changeset 50424 in webkit
- Timestamp:
- Nov 2, 2009 11:34:17 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r50423 r50424 1 2009-11-02 Philippe Normand <pnormand@igalia.com> 2 3 Reviewed by Jan Alonzo. 4 5 [GTK] Failing media/video-played-reset.html 6 https://bugs.webkit.org/show_bug.cgi?id=30589 7 8 new m_seekTime attribute to keep track of the seek position 9 10 * platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp: 11 (WebCore::MediaPlayerPrivate::currentTime): 12 (WebCore::MediaPlayerPrivate::seek): 13 * platform/graphics/gtk/MediaPlayerPrivateGStreamer.h: 14 1 15 2009-11-02 Xan Lopez <xlopez@igalia.com> 2 16 -
trunk/WebCore/platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp
r50385 r50424 137 137 , m_videoSink(0) 138 138 , m_source(0) 139 , m_seekTime(0) 139 140 , m_endTime(numeric_limits<float>::infinity()) 140 141 , m_networkState(MediaPlayer::Empty) … … 226 227 return 0; 227 228 229 if (m_seeking) 230 return m_seekTime; 231 228 232 float ret = 0.0; 229 233 … … 265 269 GST_SEEK_TYPE_NONE, GST_CLOCK_TIME_NONE)) 266 270 LOG_VERBOSE(Media, "Seek to %f failed", time); 267 else 271 else { 268 272 m_seeking = true; 273 m_seekTime = sec; 274 } 269 275 } 270 276 -
trunk/WebCore/platform/graphics/gtk/MediaPlayerPrivateGStreamer.h
r50122 r50424 30 30 #include <cairo.h> 31 31 #include <glib.h> 32 #include <gst/gst.h> 32 33 33 34 typedef struct _WebKitVideoSink WebKitVideoSink; … … 125 126 GstElement* m_videoSink; 126 127 GstElement* m_source; 128 GstClockTime m_seekTime; 127 129 float m_endTime; 128 130 bool m_isEndReached;
Note: See TracChangeset
for help on using the changeset viewer.