diff options
author | Thibaut Mattern <tmattern@users.sourceforge.net> | 2003-04-30 06:58:50 +0000 |
---|---|---|
committer | Thibaut Mattern <tmattern@users.sourceforge.net> | 2003-04-30 06:58:50 +0000 |
commit | 4f1dc4c3cebf7ba10aa9b59866c4e2f7a0bfd852 (patch) | |
tree | d93b1346c31e5de6edf3e73ddbf9480c22e20025 /src/post/visualizations/oscope.c | |
parent | 5f38710fc2e566f572d53bb9a96debf8006d0f7e (diff) | |
download | xine-lib-4f1dc4c3cebf7ba10aa9b59866c4e2f7a0bfd852.tar.gz xine-lib-4f1dc4c3cebf7ba10aa9b59866c4e2f7a0bfd852.tar.bz2 |
Don't forget to reset frame->bad_frame to 0 !
Fix strange problems with viz plugins.
CVS patchset: 4716
CVS date: 2003/04/30 06:58:50
Diffstat (limited to 'src/post/visualizations/oscope.c')
-rw-r--r-- | src/post/visualizations/oscope.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/post/visualizations/oscope.c b/src/post/visualizations/oscope.c index a55ff6c17..b11e282bd 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.6 2003/03/11 17:40:32 jkeil Exp $ + * $Id: oscope.c,v 1.7 2003/04/30 06:58:51 tmattern Exp $ * */ @@ -293,6 +293,7 @@ static void oscope_port_put_buffer (xine_audio_port_t *port_gen, XINE_VO_ASPECT_SQUARE, XINE_IMGFMT_YUY2, VO_BOTH_FIELDS); frame->extra_info->invalid = 1; + frame->bad_frame = 0; frame->pts = vpts; vpts = 0; frame->duration = 90000 * this->samples_per_frame / this->sample_rate; @@ -395,7 +396,7 @@ static post_plugin_t *oscope_open_plugin(post_class_t *class_gen, int inputs, static char *oscope_get_identifier(post_class_t *class_gen) { - return "Oscilliscope"; + return "Oscilloscope"; } static char *oscope_get_description(post_class_t *class_gen) |