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>
This commit is contained in:
Arthur Taylor 2008-09-09 20:28:20 -07:00 committed by Lennart Poettering
parent 636b520d74
commit f6670a1f2e

View file

@ -557,7 +557,7 @@ void pa_command_stream_started(pa_pdispatch *pd, uint32_t command, uint32_t tag,
request_auto_timing_update(s, TRUE); request_auto_timing_update(s, TRUE);
if (s->started_callback) if (s->started_callback)
s->started_callback(s, s->suspended_userdata); s->started_callback(s, s->started_userdata);
finish: finish:
pa_context_unref(c); pa_context_unref(c);