[pulseaudio-commits] src/pulsecore

Tanu Kaskinen tanuk at kemper.freedesktop.org
Sat Sep 15 23:49:08 PDT 2012


 src/pulsecore/sink-input.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 2c8aa18b1d95e7486fd2f2a337942795abf0cc37
Author: Flavio Ceolin <flavio.ceolin at profusion.mobi>
Date:   Tue Sep 4 11:28:38 2012 -0300

    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

diff --git a/src/pulsecore/sink-input.c b/src/pulsecore/sink-input.c
index 9388788..7a7575a 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 ||



More information about the pulseaudio-commits mailing list