aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-02-26 21:21:51 -0700
committerMcCabe Maxsted2009-02-26 23:16:36 -0700
commit96e2aaf88f8b40122ad484605fbfbef292817ba4 (patch)
treed92e2978b6e523870e7866d09119a47c841ddc6c /linden/indra
parentmerged in last working media changes (diff)
downloadmeta-impy-96e2aaf88f8b40122ad484605fbfbef292817ba4.zip
meta-impy-96e2aaf88f8b40122ad484605fbfbef292817ba4.tar.gz
meta-impy-96e2aaf88f8b40122ad484605fbfbef292817ba4.tar.bz2
meta-impy-96e2aaf88f8b40122ad484605fbfbef292817ba4.tar.xz
Fixed bad LM patch side-effect
Diffstat (limited to 'linden/indra')
-rw-r--r--linden/indra/llaudio/audioengine.cpp1
-rw-r--r--linden/indra/llmedia/llmediaimplgstreamer.cpp2
-rw-r--r--linden/indra/newview/llpreviewlandmark.cpp12
3 files changed, 13 insertions, 2 deletions
diff --git a/linden/indra/llaudio/audioengine.cpp b/linden/indra/llaudio/audioengine.cpp
index 400e938..7bb65e9 100644
--- a/linden/indra/llaudio/audioengine.cpp
+++ b/linden/indra/llaudio/audioengine.cpp
@@ -201,6 +201,7 @@ void LLAudioEngine::startInternetStream(const std::string& url)
201 // Check for a dead stream, just in case 201 // Check for a dead stream, just in case
202 if(getStatus() == LLMediaBase::STATUS_DEAD) 202 if(getStatus() == LLMediaBase::STATUS_DEAD)
203 { 203 {
204 LL_INFOS("AudioEngine") << "don't play dead stream urls"<< llendl;
204 mInternetStreamURL.clear(); 205 mInternetStreamURL.clear();
205 mInternetStreamMedia->addCommand(LLMediaBase::COMMAND_STOP); 206 mInternetStreamMedia->addCommand(LLMediaBase::COMMAND_STOP);
206 mInternetStreamMedia->updateMedia(); 207 mInternetStreamMedia->updateMedia();
diff --git a/linden/indra/llmedia/llmediaimplgstreamer.cpp b/linden/indra/llmedia/llmediaimplgstreamer.cpp
index ece3fb0..af089bc 100644
--- a/linden/indra/llmedia/llmediaimplgstreamer.cpp
+++ b/linden/indra/llmedia/llmediaimplgstreamer.cpp
@@ -449,7 +449,7 @@ bool LLMediaImplGStreamer::unload()
449 449
450 mVideoSink = NULL; 450 mVideoSink = NULL;
451 mState = GST_STATE_NULL; 451 mState = GST_STATE_NULL;
452 setStatus(LLMediaBase::STATUS_DEAD); 452 setStatus(LLMediaBase::STATUS_UNKNOWN);
453 453
454 return true; 454 return true;
455} 455}
diff --git a/linden/indra/newview/llpreviewlandmark.cpp b/linden/indra/newview/llpreviewlandmark.cpp
index 01d77f6..20b0ee5 100644
--- a/linden/indra/newview/llpreviewlandmark.cpp
+++ b/linden/indra/newview/llpreviewlandmark.cpp
@@ -90,7 +90,17 @@ LLPreviewLandmark::LLPreviewLandmark(const std::string& name,
90{ 90{
91 91
92 mFactoryMap["place_details_panel"] = LLCallbackMap(LLPreviewLandmark::createPlaceDetail, this); 92 mFactoryMap["place_details_panel"] = LLCallbackMap(LLPreviewLandmark::createPlaceDetail, this);
93 LLUICtrlFactory::getInstance()->buildFloater(this, "floater_preview_existing_landmark.xml", &getFactoryMap()); 93 if (show_keep_discard)
94 {
95 // Decided against this, a text notification is a better fix for this -- McCabe
96 //LLUICtrlFactory::getInstance()->buildFloater(this, "floater_preview_new_landmark.xml", &getFactoryMap());
97 //childSetAction("Discard btn",onDiscardBtn,this);
98 }
99 else
100 {
101 LLUICtrlFactory::getInstance()->buildFloater(this, "floater_preview_existing_landmark.xml", &getFactoryMap());
102 }
103
94 104
95 /* 105 /*
96 childSetCommitCallback("desc_editor", LLPreview::onText, this); 106 childSetCommitCallback("desc_editor", LLPreview::onText, this);