From 23f2c85267adc425a7b89b91fdc4b36729b87d68 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Tue, 18 May 2004 02:01:39 +0000 Subject: bits, rate and mode were not set when audio post plugin was first created (intercepting the audio_out port). calling xine_post_wire_audio_port( post output, audio_out ) would close the audio_out and then reopen it with rate=0, bits=0, mode=0. (see post_audio_rewire() in post.c) CVS patchset: 6563 CVS date: 2004/05/18 02:01:39 --- src/xine-engine/post.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/xine-engine/post.c b/src/xine-engine/post.c index e891691eb..88dc4bdc3 100644 --- a/src/xine-engine/post.c +++ b/src/xine-engine/post.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: post.c,v 1.23 2004/04/17 19:54:31 mroi Exp $ + * $Id: post.c,v 1.24 2004/05/18 02:01:39 miguelfreitas Exp $ */ /* @@ -763,6 +763,8 @@ post_audio_port_t *_x_post_intercept_audio_port(post_plugin_t *post, xine_audio_ (*output)->user_data = port; xine_list_append_content(post->output, *output); } + + original->status(original, port->stream, &port->bits, &port->rate, &port->mode); return port; } -- cgit v1.2.3