Fix FIRE-8419: Don't return on identical stream URIs. We might need to toggle off/on a closed stream. Identical streams are handled elsewhere anyways.

meow-7.2.2
Cinders 2012-12-23 15:05:35 -07:00
parent 0fddd0f4de
commit 25d2459d1e
1 changed files with 5 additions and 1 deletions

View File

@ -82,7 +82,11 @@ void LLViewerAudio::startInternetStreamWithAutoFade(std::string streamURI)
// Old and new stream are identical
if (mNextStreamURI == streamURI)
{
return;
/// <FS:CR> FIRE-8419 - Don't return here. It can keep the user from toggling audio streams off/on.
/// We handle identical stream URIs with FIRE-7093 anyways.
//return;
lldebugs << "Identical URI's: " << mNextStreamURI << " and " << streamURI << llendl;
// </FS:CR>
}
// Record the URI we are going to be switching to