diff options
author | Thibaut Mattern <tmattern@users.sourceforge.net> | 2003-11-20 00:42:14 +0000 |
---|---|---|
committer | Thibaut Mattern <tmattern@users.sourceforge.net> | 2003-11-20 00:42:14 +0000 |
commit | 86d39c4ef501d1f975a2e6bc1a71472102d6f167 (patch) | |
tree | 9d5c51f283a45fba1dc55b0d36c93fb1ccf37916 /src/post/visualizations/fftgraph.c | |
parent | c0c8ad9dfc5f4bf261c20ddc93d60f87666290da (diff) | |
download | xine-lib-86d39c4ef501d1f975a2e6bc1a71472102d6f167.tar.gz xine-lib-86d39c4ef501d1f975a2e6bc1a71472102d6f167.tar.bz2 |
"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
Diffstat (limited to 'src/post/visualizations/fftgraph.c')
-rw-r--r-- | src/post/visualizations/fftgraph.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |