diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2004-05-18 02:01:39 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2004-05-18 02:01:39 +0000 |
commit | 23f2c85267adc425a7b89b91fdc4b36729b87d68 (patch) | |
tree | 74216fdd6f42fd0efe5039f10c13c10261cfc719 /src | |
parent | 415877961f6e2574321971ed2311ae84ce0d6744 (diff) | |
download | xine-lib-23f2c85267adc425a7b89b91fdc4b36729b87d68.tar.gz xine-lib-23f2c85267adc425a7b89b91fdc4b36729b87d68.tar.bz2 |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/xine-engine/post.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |