From 79a0f7ec81339e44dc9df1856d458aa644ef0b3d Mon Sep 17 00:00:00 2001 From: James Courtier-Dutton Date: Sun, 16 May 2004 02:56:35 +0000 Subject: 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 --- src/post/audio/upmix.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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; -- cgit v1.2.3