OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights
reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 , m_playbackRate(1.0f) | 316 , m_playbackRate(1.0f) |
317 , m_defaultPlaybackRate(1.0f) | 317 , m_defaultPlaybackRate(1.0f) |
318 , m_networkState(NETWORK_EMPTY) | 318 , m_networkState(NETWORK_EMPTY) |
319 , m_readyState(HAVE_NOTHING) | 319 , m_readyState(HAVE_NOTHING) |
320 , m_readyStateMaximum(HAVE_NOTHING) | 320 , m_readyStateMaximum(HAVE_NOTHING) |
321 , m_volume(1.0f) | 321 , m_volume(1.0f) |
322 , m_lastSeekTime(0) | 322 , m_lastSeekTime(0) |
323 , m_previousProgressTime(std::numeric_limits<double>::max()) | 323 , m_previousProgressTime(std::numeric_limits<double>::max()) |
324 , m_duration(std::numeric_limits<double>::quiet_NaN()) | 324 , m_duration(std::numeric_limits<double>::quiet_NaN()) |
325 , m_lastTimeUpdateEventWallTime(0) | 325 , m_lastTimeUpdateEventWallTime(0) |
326 , m_lastTimeUpdateEventMovieTime(std::numeric_limits<double>::max()) | 326 , m_lastTimeUpdateEventMovieTime(0) |
327 , m_defaultPlaybackStartPosition(0) | 327 , m_defaultPlaybackStartPosition(0) |
328 , m_loadState(WaitingForSource) | 328 , m_loadState(WaitingForSource) |
329 , m_deferredLoadState(NotDeferred) | 329 , m_deferredLoadState(NotDeferred) |
330 , m_deferredLoadTimer(this, &HTMLMediaElement::deferredLoadTimerFired) | 330 , m_deferredLoadTimer(this, &HTMLMediaElement::deferredLoadTimerFired) |
331 , m_webLayer(0) | 331 , m_webLayer(0) |
332 , m_preload(MediaPlayer::Auto) | 332 , m_preload(MediaPlayer::Auto) |
333 , m_displayMode(Unknown) | 333 , m_displayMode(Unknown) |
334 , m_cachedTime(MediaPlayer::invalidTime()) | 334 , m_cachedTime(MediaPlayer::invalidTime()) |
335 , m_fragmentEndTime(MediaPlayer::invalidTime()) | 335 , m_fragmentEndTime(MediaPlayer::invalidTime()) |
336 , m_pendingActionFlags(0) | 336 , m_pendingActionFlags(0) |
(...skipping 3710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4047 | 4047 |
4048 #if ENABLE(WEB_AUDIO) | 4048 #if ENABLE(WEB_AUDIO) |
4049 void HTMLMediaElement::clearWeakMembers(Visitor* visitor) | 4049 void HTMLMediaElement::clearWeakMembers(Visitor* visitor) |
4050 { | 4050 { |
4051 if (!visitor->isAlive(m_audioSourceNode) && audioSourceProvider()) | 4051 if (!visitor->isAlive(m_audioSourceNode) && audioSourceProvider()) |
4052 audioSourceProvider()->setClient(0); | 4052 audioSourceProvider()->setClient(0); |
4053 } | 4053 } |
4054 #endif | 4054 #endif |
4055 | 4055 |
4056 } | 4056 } |
OLD | NEW |