From: <sl...@ke...> - 2008-01-08 14:58:29
|
CVS Root: /cvs/gstreamer Module: gst-plugins-good Changes by: slomo Date: Tue Jan 08 2008 14:58:32 UTC Log message: * configure.ac: * gst/audiofx/audioamplify.c: (gst_audio_amplify_clipping_method_get_type), (gst_audio_amplify_init), (gst_audio_amplify_transform_ip): * gst/audiofx/audiodynamic.c: (gst_audio_dynamic_init), (gst_audio_dynamic_transform_ip): * gst/audiofx/audioinvert.c: (gst_audio_invert_init), (gst_audio_invert_transform_ip): * gst/audiofx/audiopanorama.c: (gst_audio_panorama_init), (gst_audio_panorama_transform): * gst/level/gstlevel.c: (gst_level_init): Make elements GST_BUFFER_FLAG_GAP aware and call gst_base_transform_set_gap_aware for this. Bump core requirement to CVS. * gst/audiofx/audiochebyshevfreqband.c: (gst_audio_chebyshev_freq_band_transform_ip): * gst/audiofx/audiochebyshevfreqlimit.c: (gst_audio_chebyshev_freq_limit_transform_ip): Also sync GObject properties to the controller if operating in passthrough mode. Modified files: . : ChangeLog configure.ac gst/audiofx : audioamplify.c audiochebyshevfreqband.c audiochebyshevfreqlimit.c audiodynamic.c audioinvert.c audiopanorama.c gst/level : gstlevel.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/ChangeLog.diff?r1=1.3233&r2=1.3234 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/configure.ac.diff?r1=1.717&r2=1.718 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/gst/audiofx/audioamplify.c.diff?r1=1.5&r2=1.6 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/gst/audiofx/audiochebyshevfreqband.c.diff?r1=1.4&r2=1.5 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/gst/audiofx/audiochebyshevfreqlimit.c.diff?r1=1.4&r2=1.5 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/gst/audiofx/audiodynamic.c.diff?r1=1.5&r2=1.6 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/gst/audiofx/audioinvert.c.diff?r1=1.5&r2=1.6 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/gst/audiofx/audiopanorama.c.diff?r1=1.11&r2=1.12 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/gst/level/gstlevel.c.diff?r1=1.77&r2=1.78 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gst-plugins-good/ChangeLog,v retrieving revision 1.3233 retrieving revision 1.3234 diff -u -d -r1.3233 -r1.3234 --- ChangeLog 7 Jan 2008 16:40:59 -0000 1.3233 +++ ChangeLog 8 Jan 2008 14:58:16 -0000 1.3234 @@ -1,3 +1,27 @@ +2008-01-08 Sebastian Dröge <sl...@ci...> + + * configure.ac: + * gst/audiofx/audioamplify.c: + (gst_audio_amplify_clipping_method_get_type), + (gst_audio_amplify_init), (gst_audio_amplify_transform_ip): + * gst/audiofx/audiodynamic.c: (gst_audio_dynamic_init), + (gst_audio_dynamic_transform_ip): + * gst/audiofx/audioinvert.c: (gst_audio_invert_init), + (gst_audio_invert_transform_ip): + * gst/audiofx/audiopanorama.c: (gst_audio_panorama_init), + (gst_audio_panorama_transform): + * gst/level/gstlevel.c: (gst_level_init): + Make elements GST_BUFFER_FLAG_GAP aware and call + gst_base_transform_set_gap_aware for this. + Bump core requirement to CVS. + + * gst/audiofx/audiochebyshevfreqband.c: + (gst_audio_chebyshev_freq_band_transform_ip): + * gst/audiofx/audiochebyshevfreqlimit.c: + (gst_audio_chebyshev_freq_limit_transform_ip): + Also sync GObject properties to the controller if operating + in passthrough mode. 2008-01-07 Tim-Philipp Müller <tim at centricular dot net> * sys/directdraw/gstdirectdrawsink.c: Index: configure.ac RCS file: /cvs/gstreamer/gst-plugins-good/configure.ac,v retrieving revision 1.717 retrieving revision 1.718 diff -u -d -r1.717 -r1.718 --- configure.ac 11 Dec 2007 22:29:18 -0000 1.717 +++ configure.ac 8 Jan 2008 14:58:17 -0000 1.718 @@ -46,7 +46,7 @@ AM_PROG_LIBTOOL dnl *** required versions of GStreamer stuff *** -GST_REQ=0.10.15 +GST_REQ=0.10.15.1 GSTPB_REQ=0.10.15 dnl *** autotools stuff **** Index: audioamplify.c RCS file: /cvs/gstreamer/gst-plugins-good/gst/audiofx/audioamplify.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- audioamplify.c 6 Dec 2007 12:11:29 -0000 1.5 +++ audioamplify.c 8 Jan 2008 14:58:17 -0000 1.6 @@ -97,6 +97,7 @@ {0, NULL, NULL} }; + /* FIXME 0.11: rename to GstAudioAmplifyClippingMethod */ gtype = g_enum_register_static ("GstAudioPanoramaClippingMethod", values); } return gtype; @@ -218,6 +219,7 @@ filter->clipping_method = METHOD_CLIP; filter->format_index = 0; gst_base_transform_set_in_place (GST_BASE_TRANSFORM (filter), TRUE); + gst_base_transform_set_gap_aware (GST_BASE_TRANSFORM (filter), TRUE); } static gboolean @@ -414,12 +416,13 @@ guint num_samples = GST_BUFFER_SIZE (buf) / (GST_AUDIO_FILTER (filter)->format.width / 8); - if (gst_base_transform_is_passthrough (base)) - return GST_FLOW_OK; - if (GST_CLOCK_TIME_IS_VALID (GST_BUFFER_TIMESTAMP (buf))) gst_object_sync_values (G_OBJECT (filter), GST_BUFFER_TIMESTAMP (buf)); + if (gst_base_transform_is_passthrough (base) || + G_UNLIKELY (GST_BUFFER_FLAG_IS_SET (buf, GST_BUFFER_FLAG_GAP))) + return GST_FLOW_OK; filter->process (filter, GST_BUFFER_DATA (buf), num_samples); return GST_FLOW_OK; Index: audiochebyshevfreqband.c RCS file: /cvs/gstreamer/gst-plugins-good/gst/audiofx/audiochebyshevfreqband.c,v retrieving revision 1.4 diff -u -d -r1.4 -r1.5 --- audiochebyshevfreqband.c 6 Dec 2007 12:11:29 -0000 1.4 +++ audiochebyshevfreqband.c 8 Jan 2008 14:58:18 -0000 1.5 @@ -885,12 +885,12 @@ + if (gst_base_transform_is_passthrough (base)) if (!filter->have_coeffs) generate_coefficients (filter); Index: audiochebyshevfreqlimit.c RCS file: /cvs/gstreamer/gst-plugins-good/gst/audiofx/audiochebyshevfreqlimit.c,v --- audiochebyshevfreqlimit.c 6 Dec 2007 12:11:29 -0000 1.4 +++ audiochebyshevfreqlimit.c 8 Jan 2008 14:58:18 -0000 1.5 @@ -785,12 +785,12 @@ Index: audiodynamic.c RCS file: /cvs/gstreamer/gst-plugins-good/gst/audiofx/audiodynamic.c,v --- audiodynamic.c 6 Dec 2007 12:11:29 -0000 1.5 +++ audiodynamic.c 8 Jan 2008 14:58:18 -0000 1.6 @@ -280,6 +280,7 @@ filter->characteristics = CHARACTERISTICS_HARD_KNEE; filter->mode = MODE_COMPRESSOR; static void @@ -699,12 +700,13 @@ Index: audioinvert.c RCS file: /cvs/gstreamer/gst-plugins-good/gst/audiofx/audioinvert.c,v --- audioinvert.c 6 Dec 2007 12:11:29 -0000 1.5 +++ audioinvert.c 8 Jan 2008 14:58:18 -0000 1.6 @@ -148,6 +148,7 @@ { filter->degree = 0.0; @@ -240,12 +241,13 @@ Index: audiopanorama.c RCS file: /cvs/gstreamer/gst-plugins-good/gst/audiofx/audiopanorama.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- audiopanorama.c 6 Dec 2007 12:11:29 -0000 1.11 +++ audiopanorama.c 8 Jan 2008 14:58:18 -0000 1.12 @@ -242,12 +242,15 @@ gst_audio_panorama_init (GstAudioPanorama * filter, GstAudioPanoramaClass * klass) filter->panorama = 0; filter->method = METHOD_PSYCHOACOUSTIC; filter->width = 0; filter->channels = 0; filter->format_float = FALSE; filter->process = NULL; @@ -634,6 +637,12 @@ if (GST_CLOCK_TIME_IS_VALID (GST_BUFFER_TIMESTAMP (outbuf))) gst_object_sync_values (G_OBJECT (filter), GST_BUFFER_TIMESTAMP (outbuf)); + if (G_UNLIKELY (GST_BUFFER_FLAG_IS_SET (inbuf, GST_BUFFER_FLAG_GAP))) { + GST_BUFFER_FLAG_SET (outbuf, GST_BUFFER_FLAG_GAP); + memset (GST_BUFFER_DATA (outbuf), 0, GST_BUFFER_SIZE (outbuf)); + } filter->process (filter, GST_BUFFER_DATA (inbuf), GST_BUFFER_DATA (outbuf), num_samples); Index: gstlevel.c RCS file: /cvs/gstreamer/gst-plugins-good/gst/level/gstlevel.c,v retrieving revision 1.77 retrieving revision 1.78 diff -u -d -r1.77 -r1.78 --- gstlevel.c 26 Nov 2007 12:26:20 -0000 1.77 +++ gstlevel.c 8 Jan 2008 14:58:18 -0000 1.78 @@ -215,6 +215,8 @@ filter->message = TRUE; |