diff options
author | andreykproductengine <akleshchev@productengine.com> | 2016-12-09 18:49:48 +0200 |
---|---|---|
committer | andreykproductengine <akleshchev@productengine.com> | 2016-12-09 18:49:48 +0200 |
commit | 8d34a4f8c12d624deb72878d7a6682e306f71d1a (patch) | |
tree | 7d9fb26510c27951680fabc4a22acd7a19a62a57 /indra/newview/llviewermedia.cpp | |
parent | b6dc755786fb06ab109eb36f402a25edaf24ce14 (diff) |
MAINT-6840 start and pause doesn't wotk reliably and can get stuck
Diffstat (limited to 'indra/newview/llviewermedia.cpp')
-rw-r--r-- | indra/newview/llviewermedia.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp index ec06cc432f..bf98650afd 100644 --- a/indra/newview/llviewermedia.cpp +++ b/indra/newview/llviewermedia.cpp @@ -810,7 +810,7 @@ void LLViewerMedia::updateMedia(void *dummy_arg) sAnyMediaShowing = true; } - if (!pimpl->getUsedInUI() && pimpl->hasMedia() && (!pimpl->isMediaPaused() || !pimpl->isMediaTimeBased())) + if (!pimpl->getUsedInUI() && pimpl->hasMedia() && pimpl->isMediaPlaying()) { sAnyMediaPlaying = true; } @@ -949,7 +949,6 @@ void LLViewerMedia::setAllMediaPaused(bool val) if (pimpl->isMediaTimeBased() && pimpl->isMediaPaused()) { pimpl->play(); - return; } } else if (pimpl->isMediaTimeBased() && pimpl->mMediaSource) |