diff options
Diffstat (limited to 'src/pulse/stream.c')
| -rw-r--r-- | src/pulse/stream.c | 9 | 
1 files changed, 4 insertions, 5 deletions
| diff --git a/src/pulse/stream.c b/src/pulse/stream.c index d60b864b..373bc346 100644 --- a/src/pulse/stream.c +++ b/src/pulse/stream.c @@ -790,11 +790,10 @@ void pa_command_stream_event(pa_pdispatch *pd, uint32_t command, uint32_t tag, p          goto finish;      if (pa_streq(event, PA_STREAM_EVENT_FORMAT_LOST)) { -        /* Let client know what the running time was when the stream had to be -         * killed  */ -        pa_usec_t time; -        if (pa_stream_get_time(s, &time) == 0) -            pa_proplist_setf(pl, "stream-time", "%llu", (unsigned long long) time); +        /* Let client know what the running time was when the stream had to be killed  */ +        pa_usec_t stream_time; +        if (pa_stream_get_time(s, &stream_time) == 0) +            pa_proplist_setf(pl, "stream-time", "%llu", (unsigned long long) stream_time);      }      if (s->event_callback) | 
