summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJames Courtier-Dutton <jcdutton@users.sourceforge.net>2004-05-16 02:56:35 +0000
committerJames Courtier-Dutton <jcdutton@users.sourceforge.net>2004-05-16 02:56:35 +0000
commit79a0f7ec81339e44dc9df1856d458aa644ef0b3d (patch)
tree531d00ff49c07e8cdaa90f637e9aa6b23528731e /src
parenta33a56f9ec2d1b317280f38324b17e1a085e6ca3 (diff)
downloadxine-lib-79a0f7ec81339e44dc9df1856d458aa644ef0b3d.tar.gz
xine-lib-79a0f7ec81339e44dc9df1856d458aa644ef0b3d.tar.bz2
Make the upmix plugin act as a passthru if it cannot handle the upmix format.
CVS patchset: 6546 CVS date: 2004/05/16 02:56:35
Diffstat (limited to 'src')
-rw-r--r--src/post/audio/upmix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/post/audio/upmix.c b/src/post/audio/upmix.c
index 58c0ec55e..f0e40c83a 100644
--- a/src/post/audio/upmix.c
+++ b/src/post/audio/upmix.c
@@ -23,7 +23,7 @@
* process. It simply paints the screen a solid color and rotates through
* colors on each iteration.
*
- * $Id: upmix.c,v 1.2 2004/05/15 18:22:26 jcdutton Exp $
+ * $Id: upmix.c,v 1.3 2004/05/16 02:56:35 jcdutton Exp $
*
*/
@@ -291,9 +291,9 @@ static void upmix_port_put_buffer (xine_audio_port_t *port_gen,
/* pass data to original port */
port->original_port->put_buffer(port->original_port, this->buf, stream );
}
+ /* free data from origial buffer */
+ buf->num_frames=0; /* UNDOCUMENTED, but hey, it works! Force old audio_out buffer free. */
}
- /* free data from origial buffer */
- buf->num_frames=0; /* UNDOCUMENTED, but hey, it works! Force old audio_out buffer free. */
port->original_port->put_buffer(port->original_port, buf, stream );
return;