diff options
author | Juergen Keil <jkeil@users.sourceforge.net> | 2003-03-11 17:40:30 +0000 |
---|---|---|
committer | Juergen Keil <jkeil@users.sourceforge.net> | 2003-03-11 17:40:30 +0000 |
commit | 2bebd6d41a30ab3f3fd6bff2910c61f388f26066 (patch) | |
tree | 8aa9f9a581a7550d30de78b47e470d884feca733 | |
parent | 03d298ebbcbc8a097bd5e800ce32c75dd4365569 (diff) | |
download | xine-lib-2bebd6d41a30ab3f3fd6bff2910c61f388f26066.tar.gz xine-lib-2bebd6d41a30ab3f3fd6bff2910c61f388f26066.tar.bz2 |
Several post plugins were crashing with a failed assertion, due to
closing a bogus xine_video_port_t:
xine-lib/src/xine-engine/audio_out.c:fifo_append_int:225: assertion `!buf->next' failed.
Next audio buffer is not NULL.
CVS patchset: 4395
CVS date: 2003/03/11 17:40:30
-rw-r--r-- | src/post/goom/xine_goom.c | 4 | ||||
-rw-r--r-- | src/post/visualizations/fftscope.c | 4 | ||||
-rw-r--r-- | src/post/visualizations/fooviz.c | 4 | ||||
-rw-r--r-- | src/post/visualizations/oscope.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/src/post/goom/xine_goom.c b/src/post/goom/xine_goom.c index 537582371..b753cc847 100644 --- a/src/post/goom/xine_goom.c +++ b/src/post/goom/xine_goom.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: xine_goom.c,v 1.27 2003/03/06 22:59:35 hadess Exp $ + * $Id: xine_goom.c,v 1.28 2003/03/11 17:40:30 jkeil Exp $ * * GOOM post plugin. * @@ -352,7 +352,7 @@ static void goom_class_dispose(post_class_t *class_gen) static void goom_dispose(post_plugin_t *this_gen) { post_plugin_goom_t *this = (post_plugin_goom_t *)this_gen; - xine_post_out_t *output = (xine_post_out_t *)xine_list_first_content(this_gen->output); + xine_post_out_t *output = (xine_post_out_t *)xine_list_last_content(this_gen->output); xine_video_port_t *port = *(xine_video_port_t **)output->data; goom_close(); diff --git a/src/post/visualizations/fftscope.c b/src/post/visualizations/fftscope.c index 02be47ea2..6c1cb6901 100644 --- a/src/post/visualizations/fftscope.c +++ b/src/post/visualizations/fftscope.c @@ -22,7 +22,7 @@ * * FFT code by Steve Haehnichen, originally licensed under GPL v1 * - * $Id: fftscope.c,v 1.11 2003/02/22 14:21:37 mroi Exp $ + * $Id: fftscope.c,v 1.12 2003/03/11 17:40:31 jkeil Exp $ * */ @@ -610,7 +610,7 @@ static void fftscope_port_put_buffer (xine_audio_port_t *port_gen, static void fftscope_dispose(post_plugin_t *this_gen) { post_plugin_fftscope_t *this = (post_plugin_fftscope_t *)this_gen; - xine_post_out_t *output = (xine_post_out_t *)xine_list_first_content(this_gen->output); + xine_post_out_t *output = (xine_post_out_t *)xine_list_last_content(this_gen->output); xine_video_port_t *port = *(xine_video_port_t **)output->data; if (this->stream) diff --git a/src/post/visualizations/fooviz.c b/src/post/visualizations/fooviz.c index b88641f21..c8fd8391a 100644 --- a/src/post/visualizations/fooviz.c +++ b/src/post/visualizations/fooviz.c @@ -23,7 +23,7 @@ * process. It simply paints the screen a solid color and rotates through * colors on each iteration. * - * $Id: fooviz.c,v 1.4 2003/02/22 14:21:37 mroi Exp $ + * $Id: fooviz.c,v 1.5 2003/03/11 17:40:31 jkeil Exp $ * */ @@ -243,7 +243,7 @@ static void fooviz_port_put_buffer (xine_audio_port_t *port_gen, static void fooviz_dispose(post_plugin_t *this_gen) { post_plugin_fooviz_t *this = (post_plugin_fooviz_t *)this_gen; - xine_post_out_t *output = (xine_post_out_t *)xine_list_first_content(this_gen->output); + xine_post_out_t *output = (xine_post_out_t *)xine_list_last_content(this_gen->output); xine_video_port_t *port = *(xine_video_port_t **)output->data; if (this->stream) diff --git a/src/post/visualizations/oscope.c b/src/post/visualizations/oscope.c index e805ddb26..a55ff6c17 100644 --- a/src/post/visualizations/oscope.c +++ b/src/post/visualizations/oscope.c @@ -20,7 +20,7 @@ * Basic Oscilloscope Visualization Post Plugin For xine * by Mike Melanson (melanson@pcisys.net) * - * $Id: oscope.c,v 1.5 2003/02/22 14:21:37 mroi Exp $ + * $Id: oscope.c,v 1.6 2003/03/11 17:40:32 jkeil Exp $ * */ @@ -311,7 +311,7 @@ static void oscope_port_put_buffer (xine_audio_port_t *port_gen, static void oscope_dispose(post_plugin_t *this_gen) { post_plugin_oscope_t *this = (post_plugin_oscope_t *)this_gen; - xine_post_out_t *output = (xine_post_out_t *)xine_list_first_content(this_gen->output); + xine_post_out_t *output = (xine_post_out_t *)xine_list_last_content(this_gen->output); xine_video_port_t *port = *(xine_video_port_t **)output->data; if (this->stream) |