From 86d39c4ef501d1f975a2e6bc1a71472102d6f167 Mon Sep 17 00:00:00 2001 From: Thibaut Mattern Date: Thu, 20 Nov 2003 00:42:14 +0000 Subject: "Anti audio fifo null" patch ;) Makes things a bit more symetric: - the audio fifo (demuxer->decoder) can't be NULL - the video driver can be NULL A dummy fifo (5 buffers) is used if the audio driver or video driver is NULL. Audio frontends (rhythmbox, seedeexeen, quark) do not need to instanciate a video driver anymore. CVS patchset: 5767 CVS date: 2003/11/20 00:42:14 --- src/post/visualizations/fftgraph.c | 4 ++-- src/post/visualizations/fftscope.c | 4 ++-- src/post/visualizations/fooviz.c | 4 ++-- src/post/visualizations/oscope.c | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/post/visualizations') diff --git a/src/post/visualizations/fftgraph.c b/src/post/visualizations/fftgraph.c index 11cd0c180..50d4293e4 100644 --- a/src/post/visualizations/fftgraph.c +++ b/src/post/visualizations/fftgraph.c @@ -20,7 +20,7 @@ * FftGraph Visualization Post Plugin For xine * by Thibaut Mattern (tmattern@noos.fr) * - * $Id: fftgraph.c,v 1.5 2003/11/16 12:18:59 mroi Exp $ + * $Id: fftgraph.c,v 1.6 2003/11/20 00:42:14 tmattern Exp $ * */ @@ -467,7 +467,7 @@ static post_plugin_t *fftgraph_open_plugin(post_class_t *class_gen, int inputs, return NULL; } - this->metronom = _x_metronom_init(0, class->xine); + this->metronom = _x_metronom_init(0, 1,class->xine); this->sample_counter = 0; this->stream = NULL; diff --git a/src/post/visualizations/fftscope.c b/src/post/visualizations/fftscope.c index 607f70a29..58e9c5e1f 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.19 2003/11/16 12:18:59 mroi Exp $ + * $Id: fftscope.c,v 1.20 2003/11/20 00:42:14 tmattern Exp $ * */ @@ -506,7 +506,7 @@ static post_plugin_t *fftscope_open_plugin(post_class_t *class_gen, int inputs, return NULL; } - this->metronom = _x_metronom_init(0, class->xine); + this->metronom = _x_metronom_init(0, 1, class->xine); this->sample_counter = 0; this->stream = NULL; diff --git a/src/post/visualizations/fooviz.c b/src/post/visualizations/fooviz.c index fccb6d72f..f9485a6d9 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.14 2003/11/16 12:18:59 mroi Exp $ + * $Id: fooviz.c,v 1.15 2003/11/20 00:42:14 tmattern Exp $ * */ @@ -303,7 +303,7 @@ static post_plugin_t *fooviz_open_plugin(post_class_t *class_gen, int inputs, return NULL; } - this->metronom = _x_metronom_init(0, class->xine); + this->metronom = _x_metronom_init(0, 1, class->xine); this->sample_counter = 0; this->stream = NULL; diff --git a/src/post/visualizations/oscope.c b/src/post/visualizations/oscope.c index 553ea5519..2c28e7de3 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.12 2003/11/16 12:18:59 mroi Exp $ + * $Id: oscope.c,v 1.13 2003/11/20 00:42:14 tmattern Exp $ * */ @@ -373,7 +373,7 @@ static post_plugin_t *oscope_open_plugin(post_class_t *class_gen, int inputs, return NULL; } - this->metronom = _x_metronom_init(0, class->xine); + this->metronom = _x_metronom_init(0, 1, class->xine); this->sample_counter = 0; this->stream = NULL; -- cgit v1.2.3