summaryrefslogtreecommitdiff
path: root/indra/media_plugins
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-02-23 13:11:38 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-02-23 13:11:38 +0000
commit43a9699de16c85d1c1a599fbe14512fbb6cbada1 (patch)
treeebda9a9a14e89c202ddef9fa98c78a358acca123 /indra/media_plugins
parent0cd1b3f776a25c8c99dc4256348b118e93c9cd2a (diff)
slightly reduce the overhead of 'EXT-5601: Linux: volume adjustment of web-based media / Flash'
Diffstat (limited to 'indra/media_plugins')
-rw-r--r--indra/media_plugins/webkit/linux_volume_catcher.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/media_plugins/webkit/linux_volume_catcher.cpp b/indra/media_plugins/webkit/linux_volume_catcher.cpp
index 2ba28bd4bf..52ab766f7f 100644
--- a/indra/media_plugins/webkit/linux_volume_catcher.cpp
+++ b/indra/media_plugins/webkit/linux_volume_catcher.cpp
@@ -398,7 +398,8 @@ void callback_subscription_alert(pa_context *context, pa_subscription_event_type
impl->mSinkInputIndices.erase(index);
impl->mSinkInputNumChannels.erase(index);
}
- else
+ else if ((t & PA_SUBSCRIPTION_EVENT_TYPE_MASK) ==
+ PA_SUBSCRIPTION_EVENT_NEW)
{
// ask for more info about this new sinkinput
pa_operation *op;
@@ -407,6 +408,10 @@ void callback_subscription_alert(pa_context *context, pa_subscription_event_type
llpa_operation_unref(op);
}
}
+ else
+ {
+ // property change on this sinkinput - we don't care.
+ }
break;
default:;