summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2006-07-28gst/audioresample/gstaudioresample.c: Don't leak references to the incoming ↵Jan Schmidt2-3/+3
caps. Clean them up when stopping. Original commit message from CVS: * gst/audioresample/gstaudioresample.c: (audioresample_stop), (audioresample_set_caps): Don't leak references to the incoming caps. Clean them up when stopping. * gst/videoscale/gstvideoscale.c: (gst_video_scale_class_init), (gst_video_scale_finalize): Don't leak our temporary pixel buffer. * tests/check/Makefile.am: * tests/check/pipelines/simple-launch-lines.c: (run_pipeline), (GST_START_TEST), (simple_launch_lines_suite): Fix leaks and re-enable the test for valgrind checking.
2006-07-28ext/xvid/gstxviddec.*: Clean-ups and code reflows. Pass return value from ↵Tim-Philipp Müller3-226/+181
gst_pad_alloc_buffer() upstream among other... Original commit message from CVS: * ext/xvid/gstxviddec.c: (gst_xviddec_init), (gst_xviddec_reset), (gst_xviddec_unset), (gst_xviddec_handle_sink_event), (gst_xviddec_setup), (gst_xviddec_negotiate), (gst_xviddec_chain), (gst_xviddec_flush_buffers), (gst_xviddec_src_getcaps), (gst_xviddec_setcaps), (gst_xviddec_change_state): * ext/xvid/gstxviddec.h: Clean-ups and code reflows. Pass return value from gst_pad_alloc_buffer() upstream among other things. Also check for NULL GValue before using GST_VALUE_TYPE macro (#348976). Mass rename of xviddec -> dec variable for better code readability.
2006-07-28ext/xvid/gstxvid.c: Fix size calculation for I420/YV12. Fixes #348976.Tim-Philipp Müller2-1/+6
Original commit message from CVS: * ext/xvid/gstxvid.c: (gst_xvid_image_fill): Fix size calculation for I420/YV12. Fixes #348976.
2006-07-27ext/gsm/: Fix negotiation.Wim Taymans3-6/+52
Original commit message from CVS: * ext/gsm/gstgsmdec.c: (gst_gsmdec_init), (gst_gsmdec_sink_setcaps), (gst_gsmdec_sink_event): * ext/gsm/gstgsmenc.c: (gst_gsmenc_init), (gst_gsmenc_setcaps): Fix negotiation.
2006-07-26gst/gdp/gstgdpdepay.c: proxying get/set caps is the wrong thing to do, since ↵Thomas Vander Stichele4-6/+9
we really do change caps quite fundament... Original commit message from CVS: * gst/gdp/gstgdpdepay.c: (gst_gdp_depay_init): proxying get/set caps is the wrong thing to do, since we really do change caps quite fundamentally * tests/check/elements/gdpdepay.c: * tests/check/elements/gdppay.c: remove declaration of buffers, it's already done in gstcheck.h
2006-07-24sys/directsound/gstdirectsoundsink.*: Add an attenuation property that will ↵Sébastien Moutte9-126/+330
directly attenuate the directsound buffer. Original commit message from CVS: * sys/directsound/gstdirectsoundsink.h: * sys/directsound/gstdirectsoundsink.c: Add an attenuation property that will directly attenuate the directsound buffer. Change the size of the directsound secondary buffer to a half second. Add more debug logs. Add a lock to protect dsound buffer write access. Fix a bad implementation of reset. * sys/directsound/gstdirectdrawsink.c: * sys/directsound/gstdirectdrawsink.h: Add a keep_aspect_ratio property. Do not use overlay if not supported. Add more debug logs. Remove overwrite of WM_ERASEBKGND message handling. It was not redrawing border when keep_aspect_ratio was enabled. * win32/common/config.h: update version waiting an auto-generated config.h
2006-07-23Add libopenspc-based SPC decoder element (#348220).Chris Lee7-1/+458
Original commit message from CVS: Patch by: Chris Lee <clee at kde org> * configure.ac: * ext/Makefile.am: * ext/spc/Makefile.am: * ext/spc/gstspc.c: (spc_negotiate), (gst_spc_dec_base_init), (gst_spc_dec_class_init), (gst_spc_dec_init), (gst_spc_dec_chain), (gst_spc_dec_sink_event), (gst_spc_dec_src_event), (gst_spc_dec_src_query), (spc_play), (spc_setup), (gst_spc_dec_change_state), (plugin_init): * ext/spc/gstspc.h: Add libopenspc-based SPC decoder element (#348220).
2006-07-19sys/v4l2/gstv4l2object.c: If "device-name" is requested and the device is ↵Martin Szulecki2-1/+14
not open, try to temporarily open it to obt... Original commit message from CVS: Patch by: Martin Szulecki * sys/v4l2/gstv4l2object.c: (gst_v4l2_object_get_property_helper): If "device-name" is requested and the device is not open, try to temporarily open it to obtain this information (#342494).
2006-07-19update spec fileChristian Schaller1-2/+3
Original commit message from CVS: update spec file
2006-07-19gst/nsf/nsf.c: Really fix compilation. Apparently it's not enough to just ↵Tim-Philipp Müller2-1/+16
check the return value for errors, but we n... Original commit message from CVS: * gst/nsf/nsf.c: (nsf_load): Really fix compilation. Apparently it's not enough to just check the return value for errors, but we need to check for short reads as well (now if only we handled them too ...). Fixes #347935.
2006-07-18ext/wavpack/gstwavpackdec.c: Fix caps after previous change to byte order ↵Tim-Philipp Müller4-2/+55
endianness. Original commit message from CVS: * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_chain): Fix caps after previous change to byte order endianness. * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_reset), (gst_wavpack_parse_sink_event), (gst_wavpack_parse_init), (gst_wavpack_parse_loop): * ext/wavpack/gstwavpackparse.h: Queue incoming events if there's no source pad yet and send them downstream later when the pad is there.
2006-07-18ext/wavpack/gstwavpackdec.*: Output audio in native byte order (which is ↵Tim-Philipp Müller3-32/+49
also how we get samples from wavpack); outpu... Original commit message from CVS: * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_init), (gst_wavpack_dec_format_samples), (gst_wavpack_dec_clip_outgoing_buffer), (gst_wavpack_dec_chain), (gst_wavpack_dec_change_state): * ext/wavpack/gstwavpackdec.h: Output audio in native byte order (which is also how we get samples from wavpack); output samples with 21-24 bit depth with 32 bit width (makes things easier for us).
2006-07-18ext/wavpack/gstwavpackdec.*: More clean-ups: remove most of the ↵Tim-Philipp Müller3-278/+166
disfunctional correction pad stuff for now, if it eve... Original commit message from CVS: * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_base_init), (gst_wavpack_dec_class_init), (gst_wavpack_dec_init), (gst_wavpack_dec_finalize), (gst_wavpack_dec_format_samples), (gst_wavpack_dec_clip_outgoing_buffer), (gst_wavpack_dec_chain), (gst_wavpack_dec_sink_event), (gst_wavpack_dec_change_state): * ext/wavpack/gstwavpackdec.h: More clean-ups: remove most of the disfunctional correction pad stuff for now, if it ever gets implemented a lot of stuff will have to be rewritten anyway; redo chain function, move errors to end, error out instead of g_assert()ing. Also rename overly long variable 'wavpackdec' to just 'dec'; miscellaneous other small stuff.
2006-07-18configure.ac: Check for wavpack version and define WAVPACK_OLD_API if necessary.Sebastian Dröge11-267/+803
Original commit message from CVS: Patch by: Sebastian Dröge <slomo at circular-chaos.org> * configure.ac: Check for wavpack version and define WAVPACK_OLD_API if necessary. * ext/wavpack/Makefile.am: * ext/wavpack/gstwavpackcommon.c: (gst_wavpack_read_header), (gst_wavpack_read_metadata): * ext/wavpack/gstwavpackcommon.h: * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_base_init), (gst_wavpack_dec_class_init), (gst_wavpack_dec_init), (gst_wavpack_dec_finalize), (gst_wavpack_dec_format_samples), (gst_wavpack_dec_clip_outgoing_buffer), (gst_wavpack_dec_chain), (gst_wavpack_dec_sink_event), (gst_wavpack_dec_change_state), (gst_wavpack_dec_request_new_pad), (gst_wavpack_dec_plugin_init): * ext/wavpack/gstwavpackdec.h: * ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_class_init), (gst_wavpack_enc_init), (gst_wavpack_enc_finalize), (gst_wavpack_enc_set_wp_config): * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init), (gst_wavpack_parse_finalize), (gst_wavpack_parse_class_init), (gst_wavpack_parse_index_get_entry_from_sample), (gst_wavpack_parse_scan_to_find_sample), (gst_wavpack_parse_handle_seek_event), (gst_wavpack_parse_create_src_pad): * ext/wavpack/gstwavpackstreamreader.c: * ext/wavpack/gstwavpackstreamreader.h: Port to new/official wavpack API, don't use API that was exported in wavpack header files and in the lib but meant to be private, at least not for recent wavpack versions; misc. 'cleanups' (#347443).
2006-07-18gst/nsf/nsf.c: Fix compilation by not ignoring return values of fread.Wim Taymans2-4/+18
Original commit message from CVS: * gst/nsf/nsf.c: (nsf_load): Fix compilation by not ignoring return values of fread.
2006-07-17docs/plugins/inspect/: adding more inspect docsThomas Vander Stichele8-1/+147
Original commit message from CVS: * docs/plugins/inspect/plugin-alsaspdif.xml: * docs/plugins/inspect/plugin-filter.xml: * docs/plugins/inspect/plugin-h264parse.xml: * docs/plugins/inspect/plugin-musepack.xml: * docs/plugins/inspect/plugin-nsfdec.xml: * docs/plugins/inspect/plugin-sdl.xml: * docs/plugins/inspect/plugin-spectrum.xml: adding more inspect docs
2006-07-17docs/plugins/inspect/plugin-gdp.xml: actually commit inspectation of gdp elementThomas Vander Stichele2-0/+32
Original commit message from CVS: * docs/plugins/inspect/plugin-gdp.xml: actually commit inspectation of gdp element
2006-07-17gst/gdp/: remove parent_class setting, BOILERPLATE does this fix typo in commentThomas Vander Stichele3-5/+9
Original commit message from CVS: 2006-07-17 Thomas Vander Stichele <thomas at apestaart dot org> * gst/gdp/gstgdpdepay.c: (gst_gdp_depay_class_init): * gst/gdp/gstgdppay.c: (gst_gdp_pay_class_init), remove parent_class setting, BOILERPLATE does this (gst_gdp_pay_reset_streamheader): fix typo in comment
2006-07-17gst/qtdemux/qtdemux.c: Store duration in uint64 too instead of clipping.Wim Taymans2-27/+46
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_perform_seek), (gst_qtdemux_prepare_current_sample), (gst_qtdemux_loop_state_movie): Store duration in uint64 too instead of clipping. When we do a keyframe seek and the requested time is at the keyframe, don't seek back to the beginning of the keyframe. Fixes #347439.
2006-07-16ext/faad/gstfaad.c: Don't crash on small buffers.Wim Taymans2-4/+18
Original commit message from CVS: * ext/faad/gstfaad.c: (gst_faad_setcaps), (gst_faad_sync): Don't crash on small buffers.
2006-07-15ext/ivorbis/vorbisfile.c: Reset adapter.Stefan Kost2-0/+10
Original commit message from CVS: * ext/ivorbis/vorbisfile.c: (gst_ivorbisfile_sink_activate): Reset adapter.
2006-07-15gst/spectrum/: Do not use deprecated gtk functions.Stefan Kost3-2/+8
Original commit message from CVS: * gst/spectrum/demo-audiotest.c: (main): * gst/spectrum/demo-osssrc.c: (main): Do not use deprecated gtk functions.
2006-07-14build as a plugin, not a libThomas Vander Stichele1-0/+1
Original commit message from CVS: build as a plugin, not a lib
2006-07-14gst/nsf/: Remove crack malloc/free replacement.Wim Taymans5-497/+16
Original commit message from CVS: * gst/nsf/Makefile.am: * gst/nsf/memguard.c: * gst/nsf/memguard.h: * gst/nsf/types.h: Remove crack malloc/free replacement.
2006-07-13docs/plugins/: add more plugins and elements to docsThomas Vander Stichele6-2/+56
Original commit message from CVS: * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-bad-plugins-docs.sgml: * docs/plugins/gst-plugins-bad-plugins-sections.txt: add more plugins and elements to docs * gst/gdp/gstgdpdepay.c: (gst_gdp_depay_chain): fix segfaults due to wrong g_free add example * gst/gdp/gstgdppay.c: add example
2006-07-13gst/nsf/Makefile.am: Fix build.Wim Taymans2-0/+6
Original commit message from CVS: * gst/nsf/Makefile.am: Fix build.
2006-07-13remove sdlvideosink plugin and update the restThomas Vander Stichele20-56/+43
Original commit message from CVS: remove sdlvideosink plugin and update the rest
2006-07-13Added NSF decoder plugin. Fixes 151192.Wim Taymans29-0/+9933
Original commit message from CVS: Based on patches by: Johan Dahlin <johan at gnome dot org> Ronald Bultje <rbultje at ronald dot bitfreak dot net> * configure.ac: * gst/nsf/Makefile.am: * gst/nsf/dis6502.h: * gst/nsf/fds_snd.c: * gst/nsf/fds_snd.h: * gst/nsf/fmopl.c: * gst/nsf/fmopl.h: * gst/nsf/gstnsf.c: * gst/nsf/gstnsf.h: * gst/nsf/log.c: * gst/nsf/log.h: * gst/nsf/memguard.c: * gst/nsf/memguard.h: * gst/nsf/mmc5_snd.c: * gst/nsf/mmc5_snd.h: * gst/nsf/nes6502.c: * gst/nsf/nes6502.h: * gst/nsf/nes_apu.c: * gst/nsf/nes_apu.h: * gst/nsf/nsf.c: * gst/nsf/nsf.h: * gst/nsf/osd.h: * gst/nsf/types.h: * gst/nsf/vrc7_snd.c: * gst/nsf/vrc7_snd.h: * gst/nsf/vrcvisnd.c: * gst/nsf/vrcvisnd.h: Added NSF decoder plugin. Fixes 151192.
2006-07-13tests/check/Makefile.am: Only run mpeg2enc unit test if we built the ↵Tim-Philipp Müller2-1/+12
mpeg2enc plugin. Original commit message from CVS: * tests/check/Makefile.am: Only run mpeg2enc unit test if we built the mpeg2enc plugin.
2006-07-13configure.ac: Don't error out in configure if mjpegtools dev is not there.Tim-Philipp Müller2-2/+9
Original commit message from CVS: * configure.ac: Don't error out in configure if mjpegtools dev is not there.
2006-07-13Port mpeg2enc to 0.10 (#343184).Mark Nauwelaerts17-301/+1167
Original commit message from CVS: Patch by: Mark Nauwelaerts <manauw at skynet be> * configure.ac: * ext/Makefile.am: * ext/mpeg2enc/Makefile.am: * ext/mpeg2enc/gstmpeg2enc.cc: * ext/mpeg2enc/gstmpeg2enc.hh: * ext/mpeg2enc/gstmpeg2encoder.cc: * ext/mpeg2enc/gstmpeg2encoder.hh: * ext/mpeg2enc/gstmpeg2encoptions.cc: * ext/mpeg2enc/gstmpeg2encpicturereader.cc: * ext/mpeg2enc/gstmpeg2encpicturereader.hh: * ext/mpeg2enc/gstmpeg2encstreamwriter.cc: * ext/mpeg2enc/gstmpeg2encstreamwriter.hh: Port mpeg2enc to 0.10 (#343184). * tests/check/Makefile.am: * tests/check/elements/.cvsignore: * tests/check/elements/mpeg2enc.c: Add unit test for mpeg2enc. * tests/icles/.cvsignore: Ignore pitch-test.
2006-07-12gst/spectrum/gstspectrum.c: Fix typo in property nick.Tim-Philipp Müller2-1/+6
Original commit message from CVS: * gst/spectrum/gstspectrum.c: (gst_spectrum_class_init): Fix typo in property nick.
2006-07-10gst/filter/: Don't forget new files.Wim Taymans4-0/+235
Original commit message from CVS: * gst/filter/gstbpwsinc.h: * gst/filter/gstiir.h: * gst/filter/gstlpwsinc.h: Don't forget new files.
2006-07-10I'm too lazy to comment thisWim Taymans1-0/+1
Original commit message from CVS: *** empty log message ***
2006-07-10Ported the gstfilter plugin to GStreamer 0.10.Mathis Hofer8-603/+535
Original commit message from CVS: Patch by: Mathis Hofer <mathis dot hofer at dreamlab dot net> * configure.ac: * gst/filter/Makefile.am: * gst/filter/gstbpwsinc.c: (gst_bpwsinc_dispose), (gst_bpwsinc_base_init), (gst_bpwsinc_class_init), (gst_bpwsinc_init), (bpwsinc_set_caps), (bpwsinc_transform_ip), (bpwsinc_set_property), (bpwsinc_get_property): * gst/filter/gstfilter.c: (plugin_init): * gst/filter/gstfilter.h: * gst/filter/gstiir.c: (gst_iir_dispose), (gst_iir_base_init), (gst_iir_class_init), (gst_iir_init), (iir_set_caps), (iir_transform_ip), (iir_set_property), (iir_get_property): * gst/filter/gstlpwsinc.c: (gst_lpwsinc_dispose), (gst_lpwsinc_base_init), (gst_lpwsinc_class_init), (gst_lpwsinc_init), (lpwsinc_set_caps), (lpwsinc_transform_ip), (lpwsinc_set_property), (lpwsinc_get_property): Ported the gstfilter plugin to GStreamer 0.10.
2006-07-10gst/qtdemux/qtdemux.c: Extract comment information!!Wim Taymans2-0/+10
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_parse_udta): Extract comment information!!
2006-07-10gst/qtdemux/qtdemux.c: Extract year/date information (fixes #347079).Tim-Philipp Müller2-0/+49
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_parse_udta), (qtdemux_tag_add_date): Extract year/date information (fixes #347079).
2006-07-07gst/qtdemux/qtdemux.c: Don't crash on twos/sowt/raw audio. #345830.Wim Taymans2-4/+13
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_parse_trak): Don't crash on twos/sowt/raw audio. #345830.
2006-07-07ext/neon/gstneonhttpsrc.*: Remove unlock function. start/stop will do ↵Lutz Mueller3-212/+144
everything needed Original commit message from CVS: Patch by: Lutz Mueller <lutz at topfrose dot de> * ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_class_init), (gst_neonhttp_src_init), (gst_neonhttp_src_finalize), (request_dispatch), (gst_neonhttp_src_create), (gst_neonhttp_src_start), (gst_neonhttp_src_get_size), (gst_neonhttp_src_stop), (set_proxy), (set_uri), (gst_neonhttp_src_set_property), (gst_neonhttp_src_get_property), (gst_neonhttp_src_uri_set_uri), (size_header_handler): * ext/neon/gstneonhttpsrc.h: Remove unlock function. start/stop will do everything needed Removed code that was never called. Use gst_pad_alloc_buffer. Don't send EOS - parent class does that for us. Do not escape path. Fixes #346723. Additional code cleanups.
2006-07-03gst/qtdemux/qtdemux.c: Fix silly crasher in state change function; addTim-Philipp Müller3-15/+25
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_change_state), (gst_qtdemux_loop_state_header), (qtdemux_video_caps): Fix silly crasher in state change function; add IV41 fourcc (see bug #171111); don't output confusing debug message when skipping atoms.
2006-06-23Use GST_DEBUG_CATEGORY_STATIC where possible (#342503) and fix one GObject ↵Tim-Philipp Müller12-11/+26
boilerplate macro. Original commit message from CVS: * ext/directfb/dfbvideosink.c: * ext/gsm/gstgsmdec.c: * ext/gsm/gstgsmenc.c: * ext/libmms/gstmms.c: * ext/neon/gstneonhttpsrc.c: * ext/theora/theoradec.c: * gst/freeze/gstfreeze.c: * gst/gdp/gstgdpdepay.c: * gst/gdp/gstgdppay.c: * sys/glsink/glimagesink.c: Use GST_DEBUG_CATEGORY_STATIC where possible (#342503) and fix one GObject boilerplate macro.
2006-06-22gst/: Avoid unnecessary class cast check in class_init functions (#337747).Cody Russell1-1/+1
Original commit message from CVS: Patch by: Cody Russell <bratsche at gnome org> * gst/audioresample/gstaudioresample.c: (gst_audioresample_class_init): * gst/playback/gststreamselector.c: (gst_stream_selector_class_init): * gst/subparse/gstsubparse.c: (gst_sub_parse_class_init): * gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_class_init): * gst/tcp/gsttcpclientsink.c: (gst_tcp_client_sink_class_init): * gst/tcp/gsttcpclientsrc.c: (gst_tcp_client_src_class_init): * gst/tcp/gsttcpserversink.c: (gst_tcp_server_sink_class_init): * gst/tcp/gsttcpserversrc.c: (gst_tcp_server_src_class_init): * gst/videoscale/gstvideoscale.c: (gst_video_scale_class_init): * gst/videotestsrc/gstvideotestsrc.c: (gst_video_test_src_class_init): * gst/volume/gstvolume.c: (gst_volume_class_init): Avoid unnecessary class cast check in class_init functions (#337747).
2006-06-20gst/modplug/libmodplug/stdafx.h: Fix modplug on AMD64. Fixes #345336.Wim Taymans2-4/+18
Original commit message from CVS: * gst/modplug/libmodplug/stdafx.h: Fix modplug on AMD64. Fixes #345336.
2006-06-19configure.ac: Fix check so that future libneon API changes won't break the ↵Tim-Philipp Müller3-4/+19
build. Original commit message from CVS: * configure.ac: Fix check so that future libneon API changes won't break the build. * ext/neon/gstneonhttpsrc.c: Fix build with libneon-0.26.x (#345182).
2006-06-19add latest pluginsChristian Schaller1-0/+6
Original commit message from CVS: add latest plugins
2006-06-17configure.ac: Fix --disable-external (can't set conditionals conditionally, ↵Tim-Philipp Müller2-0/+35
#343602). Original commit message from CVS: * configure.ac: Fix --disable-external (can't set conditionals conditionally, #343602).
2006-06-16tests/check/elements/audioresample.c: Add test case for bug #342789 fixed below.Tim-Philipp Müller1-0/+65
Original commit message from CVS: * tests/check/elements/audioresample.c: (test_reuse), (audioresample_suite): Add test case for bug #342789 fixed below.
2006-06-16gst/audioresample/gstaudioresample.c: Implement GstBaseTransform::start and ↵Tim-Philipp Müller2-25/+35
::stop so that audioresample can clear it... Original commit message from CVS: * gst/audioresample/gstaudioresample.c: (gst_audioresample_class_init), (gst_audioresample_init), (audioresample_start), (audioresample_stop), (gst_audioresample_set_property), (gst_audioresample_get_property): Implement GstBaseTransform::start and ::stop so that audioresample can clear its internal state properly and be reused insted of causing non-negotiated errors with playbin under some circumstances (#342789). * tests/check/elements/audioresample.c: (setup_audioresample), (cleanup_audioresample): Need to set element state here so that ::start and ::stop are called.
2006-06-16gst/spectrum/Makefile.am: Fix build.Zaheer Abbas Merali2-2/+8
Original commit message from CVS: 2006-06-16 Zaheer Abbas Merali <zaheerabbas at merali dot org> * gst/spectrum/Makefile.am: Fix build.
2006-06-16gst/spectrum/: port to use message to get results, cleanly exit when closing ↵Stefan Kost6-107/+419
the window Original commit message from CVS: * gst/spectrum/demo-audiotest.c: (on_window_destroy), (draw_spectrum), (message_handler), (main): * gst/spectrum/demo-osssrc.c: (on_window_destroy), (draw_spectrum), (message_handler), (main): port to use message to get results, cleanly exit when closing the window * gst/spectrum/gstspectrum.c: (gst_spectrum_class_init), (gst_spectrum_init), (gst_spectrum_dispose), (gst_spectrum_set_property), (gst_spectrum_get_property), (gst_spectrum_set_caps), (gst_spectrum_start), (gst_spectrum_message_new), (gst_spectrum_transform_ip): * gst/spectrum/gstspectrum.h: port to derive from basetransform and send results via messages (like level element)