From 2c8aa18b1d95e7486fd2f2a337942795abf0cc37 Mon Sep 17 00:00:00 2001 From: Flavio Ceolin Date: Tue, 4 Sep 2012 11:28:38 -0300 Subject: [PATCH] sink-input: Remove redundant check in pa_sink_input_request_rewind(). This bug is part of the problems spotted by Tanu. BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=53923 --- src/pulsecore/sink-input.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pulsecore/sink-input.c b/src/pulsecore/sink-input.c index 93887881f..7a7575a98 100644 --- a/src/pulsecore/sink-input.c +++ b/src/pulsecore/sink-input.c @@ -1963,8 +1963,7 @@ void pa_sink_input_request_rewind( } i->thread_info.rewrite_flush = - i->thread_info.rewrite_flush || - (flush && i->thread_info.rewrite_nbytes != 0); + i->thread_info.rewrite_flush || flush; i->thread_info.dont_rewind_render = i->thread_info.dont_rewind_render ||