diff options
author | McCabe Maxsted | 2009-02-26 21:21:51 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-02-26 23:16:36 -0700 |
commit | 96e2aaf88f8b40122ad484605fbfbef292817ba4 (patch) | |
tree | d92e2978b6e523870e7866d09119a47c841ddc6c | |
parent | merged in last working media changes (diff) | |
download | meta-impy-96e2aaf88f8b40122ad484605fbfbef292817ba4.zip meta-impy-96e2aaf88f8b40122ad484605fbfbef292817ba4.tar.gz meta-impy-96e2aaf88f8b40122ad484605fbfbef292817ba4.tar.bz2 meta-impy-96e2aaf88f8b40122ad484605fbfbef292817ba4.tar.xz |
Fixed bad LM patch side-effect
-rw-r--r-- | ChangeLog.txt | 6 | ||||
-rw-r--r-- | linden/indra/llaudio/audioengine.cpp | 1 | ||||
-rw-r--r-- | linden/indra/llmedia/llmediaimplgstreamer.cpp | 2 | ||||
-rw-r--r-- | linden/indra/newview/llpreviewlandmark.cpp | 12 |
4 files changed, 19 insertions, 2 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index 2e3dab5..6218f34 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt | |||
@@ -1,3 +1,9 @@ | |||
1 | 2009-02-26 McCabe Maxsted <hakushakukun@gmail.com> | ||
2 | |||
3 | * linden/indra/newview/llpreviewlandmark.cpp: | ||
4 | Fixed bad LM patch side-effect. | ||
5 | |||
6 | |||
1 | 2009-02-25 McCabe Maxsted <hakushakukun@gmail.com> | 7 | 2009-02-25 McCabe Maxsted <hakushakukun@gmail.com> |
2 | 8 | ||
3 | * linden/indra/newview/skins/default/xui/en-us/menu_pie_hud.xml: | 9 | * linden/indra/newview/skins/default/xui/en-us/menu_pie_hud.xml: |
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); |