diff options
author | Arthur Taylor <theycallhimart@gmail.com> | 2008-09-09 20:28:20 -0700 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-09-10 12:18:36 +0300 |
commit | f6670a1f2e0407e22226713bdf6fc6db68383b68 (patch) | |
tree | 22170cab1686ae7d6a816f9096e8b2a10de61168 /src | |
parent | 636b520d745397841373bdf4112e24ff443c0359 (diff) |
stream_started_callback userdata bug
Hello
I came across a bug where the userdata parameter of the
stream_started_callback was always NULL in some cases. I couldn't seem
to make a ticket, so here's the one line patch:
Signed-off-by: Lennart Poettering <lennart@poettering.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/pulse/stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulse/stream.c b/src/pulse/stream.c index 5be60072..6890b7a1 100644 --- a/src/pulse/stream.c +++ b/src/pulse/stream.c @@ -557,7 +557,7 @@ void pa_command_stream_started(pa_pdispatch *pd, uint32_t command, uint32_t tag, request_auto_timing_update(s, TRUE); if (s->started_callback) - s->started_callback(s, s->suspended_userdata); + s->started_callback(s, s->started_userdata); finish: pa_context_unref(c); |