From 94f5d52da8253fc3c0c101bfe0b9abcf40ddffc4 Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Mon, 9 Nov 2009 16:46:14 -0700 Subject: Updated streaming video callback in llviewerparcelmedia --- linden/indra/newview/llviewerparcelmedia.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'linden/indra/newview/llviewerparcelmedia.cpp') diff --git a/linden/indra/newview/llviewerparcelmedia.cpp b/linden/indra/newview/llviewerparcelmedia.cpp index f27a140..b98f418 100644 --- a/linden/indra/newview/llviewerparcelmedia.cpp +++ b/linden/indra/newview/llviewerparcelmedia.cpp @@ -388,9 +388,13 @@ bool callback_play_media(const LLSD& notification, const LLSD& response, LLParce S32 option = LLNotification::getSelectedOption(notification, response); if (option == 0) { - LLParcel* parcel = (LLParcel*)data; + gSavedSettings.setBOOL("AudioStreamingVideo", TRUE); LLViewerParcelMedia::play(parcel); } + else + { + gSavedSettings.setBOOL("AudioStreamingVideo", FALSE); + } gSavedSettings.setWarning("FirstStreamingVideo", FALSE); return false; } -- cgit v1.1