source-output: Fix copy-pasto
authorArun Raghavan <arun@arunraghavan.net>
Wed, 10 Aug 2016 16:07:12 +0000 (21:37 +0530)
committerArun Raghavan <arun@arunraghavan.net>
Wed, 10 Aug 2016 16:48:13 +0000 (22:18 +0530)
CID: 1352047

src/pulsecore/source-output.c

index 6c48bbc18b8d393007f665bdf27783cf61582436..c70af7ae4adaca39f113b2d1861ee28634884f18 100644 (file)
@@ -1108,7 +1108,7 @@ void pa_source_output_set_property(pa_source_output *o, const char *key, const c
         new_value = "(unset)";
     }
 
-    if (PA_SINK_INPUT_IS_LINKED(o->state)) {
+    if (PA_SOURCE_OUTPUT_IS_LINKED(o->state)) {
         pa_log_debug("Source output %u: proplist[%s]: %s -> %s", o->index, key, old_value, new_value);
         pa_hook_fire(&o->core->hooks[PA_CORE_HOOK_SOURCE_OUTPUT_PROPLIST_CHANGED], o);
         pa_subscription_post(o->core, PA_SUBSCRIPTION_EVENT_SOURCE_OUTPUT | PA_SUBSCRIPTION_EVENT_CHANGE, o->index);