[pulseaudio-discuss] [PATCH] source-output: Fix copy-pasto

Tanu Kaskinen tanuk at iki.fi
Wed Aug 10 16:48:01 UTC 2016


On Wed, 2016-08-10 at 21:37 +0530, Arun Raghavan wrote:
> CID: 1352047
> ---
>  src/pulsecore/source-output.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/pulsecore/source-output.c b/src/pulsecore/source-output.c
> index 6c48bbc..c70af7a 100644
> --- a/src/pulsecore/source-output.c
> +++ b/src/pulsecore/source-output.c
> @@ -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);

Looks good to me.

-- 
Tanu


More information about the pulseaudio-discuss mailing list