From 4b49b0c2724a63724e909d00c98cc677bc525899 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Sat, 22 Feb 2003 14:21:37 +0000 Subject: handle extra info properly; that is: the inverter should pass on the extra info, the vis plugins should invalidate the extra info of the frames they output to not interfere with the (correct) extra info which will be set by audio out CVS patchset: 4250 CVS date: 2003/02/22 14:21:37 --- src/post/visualizations/fftscope.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/post/visualizations/fftscope.c') diff --git a/src/post/visualizations/fftscope.c b/src/post/visualizations/fftscope.c index ad898ed16..02be47ea2 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.10 2003/02/17 00:02:52 tmattern Exp $ + * $Id: fftscope.c,v 1.11 2003/02/22 14:21:37 mroi Exp $ * */ @@ -593,6 +593,7 @@ static void fftscope_port_put_buffer (xine_audio_port_t *port_gen, frame = this->vo_port->get_frame (this->vo_port, FFT_WIDTH, FFT_HEIGHT, XINE_VO_ASPECT_SQUARE, XINE_IMGFMT_YUY2, VO_BOTH_FIELDS); + frame->extra_info->invalid = 1; frame->pts = vpts; vpts = 0; frame->duration = 90000 * this->samples_per_frame / this->sample_rate; -- cgit v1.2.3