make sure we send a started messages when we are uncorking

This commit is contained in:
Lennart Poettering 2008-10-06 02:26:08 +02:00
parent 5996f59dd5
commit aa4373962c
2 changed files with 7 additions and 0 deletions

View file

@ -1030,6 +1030,9 @@ void pa_sink_input_set_state_within_thread(pa_sink_input *i, pa_sink_input_state
} else if (uncorking) {
i->thread_info.underrun_for = (uint64_t) -1;
i->thread_info.playing_for = 0;
pa_log_debug("Requesting rewind due to uncorking");
/* OK, we're being uncorked. Make sure we're not rewound when