summaryrefslogtreecommitdiff
path: root/src/post/visualizations/oscope.c
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/oscope.c
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/oscope.c')
-rw-r--r--src/post/visualizations/oscope.c3
1 files changed, 2 insertions, 1 deletions
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;