summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlavio Ceolin <flavio.ceolin@profusion.mobi>2012-09-04 11:28:38 -0300
committerTanu Kaskinen <tanuk@iki.fi>2012-09-16 09:47:43 +0300
commit2c8aa18b1d95e7486fd2f2a337942795abf0cc37 (patch)
tree32457d7637f7b983b5b10c38f6cfda2d456a6112 /src
parent3e3c9ef67be16d0cb8a615b85449654865d19bf3 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/pulsecore/sink-input.c3
1 files changed, 1 insertions, 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 ||