Change some logging in LLViewerMediaImpl::navigateTo() to be more explicit about what's happening.

meow-7.2.2
Monroe Linden 2009-10-27 15:06:03 -07:00
parent 1720e97cbc
commit cb9d4e5401
1 changed files with 7 additions and 3 deletions

View File

@ -1161,9 +1161,6 @@ void LLViewerMediaImpl::navigateHome()
//////////////////////////////////////////////////////////////////////////////////////////
void LLViewerMediaImpl::navigateTo(const std::string& url, const std::string& mime_type, bool rediscover_type, bool server_request)
{
// Helpful to have media urls in log file. Shouldn't be spammy.
llinfos << "url=" << url << " mime_type=" << mime_type << llendl;
if(server_request)
{
setNavState(MEDIANAVSTATE_SERVER_SENT);
@ -1188,11 +1185,18 @@ void LLViewerMediaImpl::navigateTo(const std::string& url, const std::string& mi
if(mPriority == LLPluginClassMedia::PRIORITY_UNLOADED)
{
// Helpful to have media urls in log file. Shouldn't be spammy.
llinfos << "UNLOADED media id= " << mTextureId << " url=" << url << " mime_type=" << mime_type << llendl;
// This impl should not be loaded at this time.
LL_DEBUGS("PluginPriority") << this << "Not loading (PRIORITY_UNLOADED)" << LL_ENDL;
return;
}
// Helpful to have media urls in log file. Shouldn't be spammy.
llinfos << "media id= " << mTextureId << " url=" << url << " mime_type=" << mime_type << llendl;
// If the caller has specified a non-empty MIME type, look that up in our MIME types list.
// If we have a plugin for that MIME type, use that instead of attempting auto-discovery.