From 41f95c85f4e4259d50214956cc6abfd46263c736 Mon Sep 17 00:00:00 2001 From: James Courtier-Dutton Date: Mon, 17 May 2004 21:28:06 +0000 Subject: Fix noises appearing when seeking and using the upmix plugin. CVS patchset: 6561 CVS date: 2004/05/17 21:28:06 --- src/post/audio/upmix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/post') diff --git a/src/post/audio/upmix.c b/src/post/audio/upmix.c index 0a3dba3f1..1d17bbf63 100644 --- a/src/post/audio/upmix.c +++ b/src/post/audio/upmix.c @@ -23,7 +23,7 @@ * It simply creates output channels to match the speaker arrangement. * E.g. Converts Stereo into Surround 5.1 * - * $Id: upmix.c,v 1.9 2004/05/17 16:19:05 jcdutton Exp $ + * $Id: upmix.c,v 1.10 2004/05/17 21:28:06 jcdutton Exp $ * */ @@ -325,7 +325,7 @@ static void upmix_port_put_buffer (xine_audio_port_t *port_gen, int num_frames; int num_frames_done; int num_frames_processed=0; - + if ((this->channels==2) && (this->channels_out==6)) { while (num_frames_processed < buf->num_frames) { this->buf = port->original_port->get_buffer(port->original_port); -- cgit v1.2.3