summaryrefslogtreecommitdiff
path: root/src/post/visualizations
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2003-02-22 14:21:37 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2003-02-22 14:21:37 +0000
commit4b49b0c2724a63724e909d00c98cc677bc525899 (patch)
tree03591d6827161b952bfcf1dc0222b55e7773ddab /src/post/visualizations
parent2dca6ea3906075a8675f4593f165aaea12f2cbe3 (diff)
downloadxine-lib-4b49b0c2724a63724e909d00c98cc677bc525899.tar.gz
xine-lib-4b49b0c2724a63724e909d00c98cc677bc525899.tar.bz2
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
Diffstat (limited to 'src/post/visualizations')
-rw-r--r--src/post/visualizations/fftscope.c3
-rw-r--r--src/post/visualizations/fooviz.c3
-rw-r--r--src/post/visualizations/oscope.c3
3 files changed, 6 insertions, 3 deletions
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;
diff --git a/src/post/visualizations/fooviz.c b/src/post/visualizations/fooviz.c
index 443c244cd..b88641f21 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.3 2003/01/14 21:00:36 miguelfreitas Exp $
+ * $Id: fooviz.c,v 1.4 2003/02/22 14:21:37 mroi Exp $
*
*/
@@ -225,6 +225,7 @@ static void fooviz_port_put_buffer (xine_audio_port_t *port_gen,
frame = this->vo_port->get_frame (this->vo_port, FOO_WIDTH, FOO_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;
diff --git a/src/post/visualizations/oscope.c b/src/post/visualizations/oscope.c
index 61bb33384..e805ddb26 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.4 2003/02/14 04:17:23 tmmm Exp $
+ * $Id: oscope.c,v 1.5 2003/02/22 14:21:37 mroi Exp $
*
*/
@@ -292,6 +292,7 @@ static void oscope_port_put_buffer (xine_audio_port_t *port_gen,
frame = this->vo_port->get_frame (this->vo_port, OSCOPE_WIDTH, OSCOPE_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;