add new dont_rewind_render flag to allow quick starts of newly created streams

This commit is contained in:
Lennart Poettering 2009-01-15 00:40:06 +01:00
parent 06de6393d1
commit 75119e91cd
12 changed files with 32 additions and 22 deletions

View file

@ -313,7 +313,7 @@ static int rtpoll_work_cb(pa_rtpoll_item *i) {
if (pa_memblockq_is_readable(s->memblockq) &&
s->sink_input->thread_info.underrun_for > 0) {
pa_log_debug("Requesting rewind due to end of underrun");
pa_sink_input_request_rewind(s->sink_input, 0, FALSE, TRUE);
pa_sink_input_request_rewind(s->sink_input, 0, FALSE, TRUE, FALSE);
}
return 1;