Changeset 168420 in webkit
- Timestamp:
- May 7, 2014 3:54:29 AM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r168418 r168420 1 2014-05-07 Xabier Rodriguez Calvar <calvaris@igalia.com> 2 3 [GStreamer] Corrected typo 4 https://bugs.webkit.org/show_bug.cgi?id=132609 5 6 Reviewed by Martin Robinson. 7 8 Corrected m_canFallBackToLastFinishedSeekPositon typo and 9 initialized in the constructor to prevent problems in the future. 10 11 No test needed. 12 13 * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: 14 (WebCore::MediaPlayerPrivateGStreamer::MediaPlayerPrivateGStreamer): 15 Initialized m_canFallBackToLastFinishedSeekPosition as false. 16 (WebCore::MediaPlayerPrivateGStreamer::playbackPosition): 17 (WebCore::MediaPlayerPrivateGStreamer::handleMessage): 18 (WebCore::MediaPlayerPrivateGStreamer::asyncStateChangeDone): 19 * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h: 20 m_canFallBackToLastFinishedSeekPositon -> 21 m_canFallBackToLastFinishedSeekPosition 22 1 23 2014-05-07 Gyuyoung Kim <gyuyoung.kim@samsung.com> 2 24 -
trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
r167193 r168420 205 205 , m_seekIsPending(false) 206 206 , m_timeOfOverlappingSeek(-1) 207 , m_canFallBackToLastFinishedSeekPosition(false) 207 208 , m_buffering(false) 208 209 , m_playbackRate(1) … … 360 361 if (static_cast<GstClockTime>(position) != GST_CLOCK_TIME_NONE) 361 362 result = static_cast<double>(position) / GST_SECOND; 362 else if (m_canFallBackToLastFinishedSeekPosit on)363 else if (m_canFallBackToLastFinishedSeekPosition) 363 364 result = m_seekTime; 364 365 … … 878 879 GstState requestedState, currentState; 879 880 880 m_canFallBackToLastFinishedSeekPosit on = false;881 m_canFallBackToLastFinishedSeekPosition = false; 881 882 882 883 if (structure) { … … 1305 1306 // The pipeline can still have a pending state. In this case a position query will fail. 1306 1307 // Right now we can use m_seekTime as a fallback. 1307 m_canFallBackToLastFinishedSeekPosit on = true;1308 m_canFallBackToLastFinishedSeekPosition = true; 1308 1309 timeChanged(); 1309 1310 } -
trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h
r167193 r168420 181 181 bool m_seekIsPending; 182 182 float m_timeOfOverlappingSeek; 183 bool m_canFallBackToLastFinishedSeekPosit on;183 bool m_canFallBackToLastFinishedSeekPosition; 184 184 bool m_buffering; 185 185 float m_playbackRate;
Note: See TracChangeset
for help on using the changeset viewer.