diff options
author | James Courtier-Dutton <jcdutton@users.sourceforge.net> | 2004-05-17 21:28:06 +0000 |
---|---|---|
committer | James Courtier-Dutton <jcdutton@users.sourceforge.net> | 2004-05-17 21:28:06 +0000 |
commit | 41f95c85f4e4259d50214956cc6abfd46263c736 (patch) | |
tree | 4ae7d61aae2444d83bcc3d8705c6459124f44498 /src/post/audio/upmix.c | |
parent | a8d5b82eef699ff6c6aa745143b13a13d7201058 (diff) | |
download | xine-lib-41f95c85f4e4259d50214956cc6abfd46263c736.tar.gz xine-lib-41f95c85f4e4259d50214956cc6abfd46263c736.tar.bz2 |
Fix noises appearing when seeking and using the upmix plugin.
CVS patchset: 6561
CVS date: 2004/05/17 21:28:06
Diffstat (limited to 'src/post/audio/upmix.c')
-rw-r--r-- | src/post/audio/upmix.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |