mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 20:25:44 +00:00
Bug 1385748. P1 - remove MDSM::IsLogicallyPlaying() which has no callers at all. r=kaku
MozReview-Commit-ID: IfpzTMVtgf6 --HG-- extra : rebase_source : 3a70298f2175cba32dbc47ce4c7d087bff944d44
This commit is contained in:
parent
66d005a1e5
commit
3bb4ecdddc
@ -530,18 +530,6 @@ private:
|
||||
// increasing.
|
||||
Watchable<media::TimeUnit> mObservedDuration;
|
||||
|
||||
// Returns true if we're logically playing, that is, if the Play() has
|
||||
// been called and Pause() has not or we have not yet reached the end
|
||||
// of media. This is irrespective of the seeking state; if the owner
|
||||
// calls Play() and then Seek(), we still count as logically playing.
|
||||
// The decoder monitor must be held.
|
||||
bool IsLogicallyPlaying()
|
||||
{
|
||||
MOZ_ASSERT(OnTaskQueue());
|
||||
return mPlayState == MediaDecoder::PLAY_STATE_PLAYING
|
||||
|| mNextPlayState == MediaDecoder::PLAY_STATE_PLAYING;
|
||||
}
|
||||
|
||||
// Media Fragment end time.
|
||||
media::TimeUnit mFragmentEndTime = media::TimeUnit::Invalid();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user