From f11b936f06a64b4de94c15aca47cda9ff28a3ca5 Mon Sep 17 00:00:00 2001 From: Richard Boulton Date: Sat, 2 Mar 2002 12:36:07 +0000 Subject: [PATCH] I'm too lazy to comment this Original commit message from CVS: *** empty log message *** --- configure.ac | 3 ++- gst/synaesthesia/gstsynaesthesia.c | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index f59aa32c28..4d08e4eea8 100644 --- a/configure.ac +++ b/configure.ac @@ -165,7 +165,7 @@ GST_PLUGINS_ALL="\ cutter deinterlace flx goom intfloat law level\ median mpeg1enc mpeg1sys mpeg1videoparse mpeg2enc mpeg2sub\ mpegaudio mpegaudioparse mpegstream mpegtypes modplug\ - passthrough playondemand rtjpeg silence sine\ + monoscope passthrough playondemand rtjpeg silence sine\ smooth spectrum speed stereo stereomono\ synaesthesia udp videoscale volenv volume vumeter wavparse y4m" @@ -734,6 +734,7 @@ gst/mpegstream/Makefile gst/mpegtypes/Makefile gst/modplug/Makefile gst/modplug/libmodplug/Makefile +gst/monoscope/Makefile gst/passthrough/Makefile gst/playondemand/Makefile gst/rtjpeg/Makefile diff --git a/gst/synaesthesia/gstsynaesthesia.c b/gst/synaesthesia/gstsynaesthesia.c index 3ed8002e77..708076d82f 100644 --- a/gst/synaesthesia/gstsynaesthesia.c +++ b/gst/synaesthesia/gstsynaesthesia.c @@ -236,7 +236,9 @@ gst_synaesthesia_chain (GstPad *pad, GstBuffer *bufin) GST_DEBUG (0, "input buffer has %d samples\n", samples_in); + /* FIXME: should really select the first 1024 samples after the timestamp. */ if (GST_BUFFER_TIMESTAMP (bufin) < synaesthesia->next_time || samples_in < 1024) { + GST_DEBUG (0, "timestamp is %llu: want >= %llu\n", GST_BUFFER_TIMESTAMP (bufin), synaesthesia->next_time); gst_buffer_unref (bufin); return; }