diff options
| author | Lennart Poettering <lennart@poettering.net> | 2009-09-20 03:18:03 +0200 | 
|---|---|---|
| committer | Lennart Poettering <lennart@poettering.net> | 2009-09-20 03:18:03 +0200 | 
| commit | e7686a607d167a862a90751767df0c9a271d8c34 (patch) | |
| tree | b03bf8131c99b3ca85f12c76064e2315e9839660 /src/pulsecore/source-output.c | |
| parent | 88b777311d12502e36e2c74898015bcd55d92155 (diff) | |
core: dump proplist when creating stream similar to how we already to it for sinks/sources
Diffstat (limited to 'src/pulsecore/source-output.c')
| -rw-r--r-- | src/pulsecore/source-output.c | 8 | 
1 files changed, 6 insertions, 2 deletions
diff --git a/src/pulsecore/source-output.c b/src/pulsecore/source-output.c index 1509807b..57ccc067 100644 --- a/src/pulsecore/source-output.c +++ b/src/pulsecore/source-output.c @@ -107,6 +107,7 @@ int pa_source_output_new(      pa_resampler *resampler = NULL;      char st[PA_SAMPLE_SPEC_SNPRINT_MAX], cm[PA_CHANNEL_MAP_SNPRINT_MAX];      int r; +    char *pt;      pa_assert(_o);      pa_assert(core); @@ -247,12 +248,15 @@ int pa_source_output_new(      if (o->direct_on_input)          pa_assert_se(pa_idxset_put(o->direct_on_input->direct_outputs, o, NULL) == 0); -    pa_log_info("Created output %u \"%s\" on %s with sample spec %s and channel map %s", +    pt = pa_proplist_to_string_sep(o->proplist, "\n    "); +    pa_log_info("Created output %u \"%s\" on %s with sample spec %s and channel map %s\n    %s",                  o->index,                  pa_strnull(pa_proplist_gets(o->proplist, PA_PROP_MEDIA_NAME)),                  o->source->name,                  pa_sample_spec_snprint(st, sizeof(st), &o->sample_spec), -                pa_channel_map_snprint(cm, sizeof(cm), &o->channel_map)); +                pa_channel_map_snprint(cm, sizeof(cm), &o->channel_map), +                pt); +    pa_xfree(pt);      /* Don't forget to call pa_source_output_put! */  | 
