summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermedia.cpp
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2016-12-13 18:23:38 +0200
committerAndreyL ProductEngine <alihatskiy@productengine.com>2016-12-13 18:23:38 +0200
commit7fbb3f69b1b166954eed0a3be24f7ecb021f0b5a (patch)
treed0dfd2f64945cd50a253c97cb33ac9360ed81223 /indra/newview/llviewermedia.cpp
parentbde862084d76eb4b9d773e10fdde6bfd3df57f7a (diff)
parent8d34a4f8c12d624deb72878d7a6682e306f71d1a (diff)
Merged in lindenlab/viewer-lynx
Diffstat (limited to 'indra/newview/llviewermedia.cpp')
-rw-r--r--indra/newview/llviewermedia.cpp3
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)