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/fftscope.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/post/visualizations/fftscope.c') 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; -- cgit v1.2.3