aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview
diff options
context:
space:
mode:
authorJacek Antonelli2009-04-02 03:25:31 -0500
committerJacek Antonelli2009-04-02 03:27:26 -0500
commitbfde51e169465842e18231fef56f02f06c1b0620 (patch)
tree1bd31fa78c9cdda8926985a2a5d2263697de3568 /linden/indra/newview
parentPlugged in LLMediaImplGStreamer::gstreamer_log(). (diff)
downloadmeta-impy-bfde51e169465842e18231fef56f02f06c1b0620.zip
meta-impy-bfde51e169465842e18231fef56f02f06c1b0620.tar.gz
meta-impy-bfde51e169465842e18231fef56f02f06c1b0620.tar.bz2
meta-impy-bfde51e169465842e18231fef56f02f06c1b0620.tar.xz
Apply saved MediaDebugLevel at media init time.
Diffstat (limited to 'linden/indra/newview')
-rw-r--r--linden/indra/newview/llviewermedia.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/linden/indra/newview/llviewermedia.cpp b/linden/indra/newview/llviewermedia.cpp
index e99c838..d8fcdcb 100644
--- a/linden/indra/newview/llviewermedia.cpp
+++ b/linden/indra/newview/llviewermedia.cpp
@@ -496,6 +496,13 @@ void LLViewerMedia::initClass()
496 const LLMIMETypes::LLMIMEInfo& info = it->second; 496 const LLMIMETypes::LLMIMEInfo& info = it->second;
497 mm->addMimeTypeImplNameMap( mime_type, info.mImpl ); 497 mm->addMimeTypeImplNameMap( mime_type, info.mImpl );
498 } 498 }
499
500 LLMediaBase *impl = mm->createSourceFromMimeType("http", "audio/mpeg");
501 if (impl)
502 {
503 U32 level = gSavedSettings.getU32("MediaDebugLevel");
504 impl->setDebugLevel( (LLMediaBase::EDebugLevel)level );
505 }
499} 506}
500 507
501////////////////////////////////////////////////////////////////////////////////////////// 508//////////////////////////////////////////////////////////////////////////////////////////