Commit graph

146 commits

Author SHA1 Message Date
Edward Hervey
8b1eeb5a6a Fix memory leaks.
Original commit message from CVS:
* ext/flac/gstflactag.c: (gst_flac_tag_init):
* gst/interleave/deinterleave.c: (deinterleave_init),
(deinterleave_sink_link):
* gst/interleave/interleave.c: (interleave_init):
* gst/median/gstmedian.c: (gst_median_init):
* gst/oldcore/gstmultifilesrc.c: (gst_multifilesrc_init):
Fix memory leaks.
* tests/check/elements/id3demux.c: (pad_added_cb):
Remove unused variable.
2007-06-22 10:12:15 +00:00
Stefan Kost
048a15698d gst/spectrum/gstspectrum.c: Fix leaking buffers.
Original commit message from CVS:
* gst/spectrum/gstspectrum.c: (gst_spectrum_event),
(gst_spectrum_transform_ip):
Fix leaking buffers.
* tests/check/Makefile.am:
* tests/check/elements/spectrum.c: (setup_spectrum),
(cleanup_spectrum), (GST_START_TEST), (spectrum_suite), (main):
Add simple test for spectrum element.
2007-06-20 08:56:17 +00:00
Tim-Philipp Müller
b753979d86 tests/check/: Add GST_OPTION_CFLAGS to CFLAGS when building unit tests, so the error flags are included and it errors...
Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/audiopanorama.c: (GST_START_TEST):
* tests/check/elements/videocrop.c: (GST_START_TEST):
* tests/check/elements/videofilter.c:
* tests/check/elements/wavpackdec.c: (GST_START_TEST):
* tests/check/elements/wavpackparse.c: (GST_START_TEST):
Add GST_OPTION_CFLAGS to CFLAGS when building unit tests, so the
error flags are included and it errors out on compiler warnings
for CVS builds; remove unused variables in various unit tests.
2007-06-19 16:40:40 +00:00
Jan Schmidt
2e1747f76d tests/: Hush the buildbots up
Original commit message from CVS:
* tests/check/elements/.cvsignore:
* tests/icles/.cvsignore:
Hush the buildbots up
2007-06-14 14:03:41 +00:00
Jan Schmidt
bbcc24410d Move videocrop and osxvideo from -bad.
Original commit message from CVS:
* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/inspect/plugin-videocrop.xml:
* gst-plugins-good.spec.in:
* sys/Makefile.am:
* tests/check/Makefile.am:
* tests/icles/Makefile.am:
* tests/icles/videocrop-test.c:
Move videocrop and osxvideo from -bad.
2007-06-12 20:15:29 +00:00
Thomas Vander Stichele
06d12027fa moap ignore
Original commit message from CVS:
moap ignore
2007-06-08 20:23:07 +00:00
Thomas Vander Stichele
4e78ffa15c move wavpack plugin. See #352605.
Original commit message from CVS:
* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/gst-plugins-good-plugins.args:
* docs/plugins/gst-plugins-good-plugins.hierarchy:
* docs/plugins/gst-plugins-good-plugins.signals:
* docs/plugins/inspect/plugin-autodetect.xml:
* docs/plugins/inspect/plugin-gconfelements.xml:
* docs/plugins/inspect/plugin-ladspa.xml:
* docs/plugins/inspect/plugin-rtp.xml:
* docs/plugins/inspect/plugin-wavpack.xml:
* ext/Makefile.am:
* tests/check/Makefile.am:
move wavpack plugin.  See #352605.
2007-06-08 20:19:55 +00:00
Tim-Philipp Müller
51e52ed2cf tests/icles/videocrop-test.c: Default to xvimagesink instead of autovideosink while autovideosink/ghostpads/whatever ...
Original commit message from CVS:
* tests/icles/videocrop-test.c: (main):
Default to xvimagesink instead of autovideosink while
autovideosink/ghostpads/whatever don't handle the way we use it in
the way we expect it to.
2007-06-08 08:12:43 +00:00
René Stadler
4e45e0a269 Add replaygain playback elements (#412710).
Original commit message from CVS:
Patch by: René Stadler <mail at renestadler de>
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/inspect/plugin-replaygain.xml:
* gst/replaygain/Makefile.am:
* gst/replaygain/gstrganalysis.c: (gst_rg_analysis_class_init),
(gst_rg_analysis_start), (gst_rg_analysis_set_caps),
(gst_rg_analysis_transform_ip), (gst_rg_analysis_event),
(gst_rg_analysis_stop), (gst_rg_analysis_handle_tags),
(gst_rg_analysis_handle_eos), (gst_rg_analysis_track_result),
(gst_rg_analysis_album_result):
* gst/replaygain/gstrganalysis.h:
* gst/replaygain/gstrglimiter.c: (gst_rg_limiter_base_init),
(gst_rg_limiter_class_init), (gst_rg_limiter_init),
(gst_rg_limiter_set_property), (gst_rg_limiter_get_property),
(gst_rg_limiter_transform_ip):
* gst/replaygain/gstrglimiter.h:
* gst/replaygain/gstrgvolume.c: (gst_rg_volume_base_init),
(gst_rg_volume_class_init), (gst_rg_volume_init),
(gst_rg_volume_set_property), (gst_rg_volume_get_property),
(gst_rg_volume_dispose), (gst_rg_volume_change_state),
(gst_rg_volume_sink_event), (gst_rg_volume_tag_event),
(gst_rg_volume_reset), (gst_rg_volume_update_gain),
(gst_rg_volume_determine_gain):
* gst/replaygain/gstrgvolume.h:
* gst/replaygain/replaygain.c: (plugin_init):
* gst/replaygain/replaygain.h:
* gst/replaygain/rganalysis.h:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/rganalysis.c: (send_eos_event),
(GST_START_TEST):
* tests/check/elements/rglimiter.c: (setup_rglimiter),
(cleanup_rglimiter), (set_playing_state), (create_test_buffer),
(verify_test_buffer), (GST_START_TEST), (rglimiter_suite), (main):
* tests/check/elements/rgvolume.c: (event_func), (setup_rgvolume),
(cleanup_rgvolume), (set_playing_state), (set_null_state),
(send_eos_event), (send_tag_event), (test_buffer_new),
(fail_unless_target_gain), (fail_unless_result_gain),
(fail_unless_gain), (GST_START_TEST), (rgvolume_suite), (main):
Add replaygain playback elements (#412710).
2007-05-19 10:01:45 +00:00
Tim-Philipp Müller
e53a24511b gst/alpha/gstalphacolor.c: Double-check that RGB input caps are really RGBA caps (apparently the core doesn't always ...
Original commit message from CVS:
* gst/alpha/gstalphacolor.c: (gst_alpha_color_base_init),
(gst_alpha_color_transform_caps), (gst_alpha_color_set_caps):
Double-check that RGB input caps are really RGBA caps (apparently
the core doesn't always catch it if those caps aren't a subset of
our template caps, also see #421543). Fixes #429319 in a way.
Also, don't leak the pad template in the transform_caps function.
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/alphacolor.c: (setup_alphacolor),
(cleanup_alphacolor), (create_caps_rgb24), (create_caps_rgba32),
(create_buffer_rgb24_3x4), (create_buffer_rgba32_3x4),
(GST_START_TEST), (alphacolor_suite):
Add some basic unit tests for alphacolor.
2007-04-25 15:31:53 +00:00
Sebastian Dröge
6d8e6c9bb0 ext/wavpack/: Don't play audioconvert. As wavpack wants/outputs all samples with width==32 and depth=[1,32] accept th...
Original commit message from CVS:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_reset),
(gst_wavpack_dec_init), (gst_wavpack_dec_sink_set_caps),
(gst_wavpack_dec_clip_outgoing_buffer),
(gst_wavpack_dec_post_tags), (gst_wavpack_dec_chain):
* ext/wavpack/gstwavpackdec.h:
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_reset),
(gst_wavpack_enc_sink_set_caps), (gst_wavpack_enc_set_wp_config),
(gst_wavpack_enc_chain):
* ext/wavpack/gstwavpackenc.h:
* ext/wavpack/gstwavpackparse.c:
Don't play audioconvert. As wavpack wants/outputs all samples with
width==32 and depth=[1,32] accept this and let audioconvert convert
to accepted formats instead of doing it in the element for n*8 depths.
This also adds support for non-n*8 depths and prevents some useless
memory allocations. Fixes #421598
Also add a workaround for bug #421542 in wavpackenc for now...
* tests/check/elements/wavpackdec.c: (GST_START_TEST):
* tests/check/elements/wavpackenc.c: (GST_START_TEST):
* tests/check/elements/wavpackparse.c: (GST_START_TEST):
Consider the change above in the unit tests and test if the correct
caps are accepted and set. Also check for GST_BUFFER_OFFSET_END in
the wavpackparse unit test.
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_init),
(gst_wavpack_dec_sink_set_caps):
Set caps on the src pad as soon as possible.
* ext/wavpack/gstwavpackdec.h:
* ext/wavpack/gstwavpackcommon.h:
* ext/wavpack/gstwavpackenc.h:
* ext/wavpack/gstwavpackparse.h:
Fix indention. gst-indent is now called by cicl.
2007-03-30 04:50:11 +00:00
Tim-Philipp Müller
c3e99dd86c sys/sunaudio/: Actually translate sunaudio mixer track labels instead of just marking the strings as translatable (#3...
Original commit message from CVS:
* sys/sunaudio/gstsunaudio.c: (plugin_init):
* sys/sunaudio/gstsunaudiomixertrack.c:
(gst_sunaudiomixer_track_new):
Actually translate sunaudio mixer track labels instead of just
marking the strings as translatable (#377306); clean up weird
label string mapping code that serves no apparent purpose. Also
set the 'untranslated-label' property when creating mixer tracks
if the GstMixerTrack base class supports this.
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/sunaudio.c: (GST_START_TEST),
(sunaudio_suite):
Very minimalistic unit test for sunaudiomixer element (compiles, but not
actually tested on a system where sunaudiomixer is available).
2007-03-09 19:44:30 +00:00
Jan Schmidt
d44570cfdd tests/check/Makefile.am: Re-enable the states test and see if it works on the buildbots.
Original commit message from CVS:
* tests/check/Makefile.am:
Re-enable the states test and see if it works on the buildbots.
2007-03-09 18:49:37 +00:00
Jan Schmidt
7a71c68fa8 tests/check/Makefile.am: Disable the states check until the remaining Valgrind errors are fixed or suppressed.
Original commit message from CVS:
* tests/check/Makefile.am:
Disable the states check until the remaining Valgrind errors
are fixed or suppressed.
2007-03-08 12:23:57 +00:00
Sebastian Dröge
4d7cae319e tests/check/elements/.cvsignore: Add audiodynamic check to .cvsignore
Original commit message from CVS:
* tests/check/elements/.cvsignore:
Add audiodynamic check to .cvsignore
2007-03-08 10:24:43 +00:00
Sebastian Dröge
dbd1b8490f gst/audiofx/: Add new audiodynamic element which can act as a compressor or expander. Supported are hard-knee and sof...
Original commit message from CVS:
reviewed by: Stefan Kost  <ensonic@users.sf.net>
* gst/audiofx/Makefile.am:
* gst/audiofx/audiodynamic.c:
(gst_audio_dynamic_characteristics_get_type),
(gst_audio_dynamic_mode_get_type),
(gst_audio_dynamic_set_process_function),
(gst_audio_dynamic_base_init), (gst_audio_dynamic_class_init),
(gst_audio_dynamic_init), (gst_audio_dynamic_set_property),
(gst_audio_dynamic_get_property), (gst_audio_dynamic_setup),
(gst_audio_dynamic_transform_hard_knee_compressor_int),
(gst_audio_dynamic_transform_hard_knee_compressor_float),
(gst_audio_dynamic_transform_soft_knee_compressor_int),
(gst_audio_dynamic_transform_soft_knee_compressor_float),
(gst_audio_dynamic_transform_hard_knee_expander_int),
(gst_audio_dynamic_transform_hard_knee_expander_float),
(gst_audio_dynamic_transform_soft_knee_expander_int),
(gst_audio_dynamic_transform_soft_knee_expander_float),
(gst_audio_dynamic_transform_ip):
* gst/audiofx/audiodynamic.h:
* gst/audiofx/audiofx.c: (plugin_init):
Add new audiodynamic element which can act as a compressor or
expander. Supported are hard-knee and soft-knee operation modes with
user-specified ratio and threshold.
Attack and release parameters are not yet implemented but will follow.
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/gst-plugins-good-plugins.args:
* docs/plugins/inspect/plugin-audiofx.xml:
Integrate audiodynamic into the docs.
* tests/check/Makefile.am:
* tests/check/elements/audiodynamic.c: (setup_dynamic),
(cleanup_dynamic), (GST_START_TEST), (dynamic_suite), (main):
Add unit test for audiodynamic.
2007-03-08 10:02:12 +00:00
Tim-Philipp Müller
009c9750ea gst/id3demux/gstid3demux.c: Don't leak caps: make gst_id3demux_add_srcpad() not take ownership of the caps passed to ...
Original commit message from CVS:
* gst/id3demux/gstid3demux.c: (gst_id3demux_add_srcpad),
(gst_id3demux_sink_activate):
Don't leak caps: make gst_id3demux_add_srcpad() not take ownership of the
caps passed to it (previouslly one code path assumes it takes ownership
while another one assumes it doesn't).
* configure.ac:
* tests/files/Makefile.am:
* tests/files/id3-407349-1.tag:
* tests/files/id3-407349-2.tag:
Add directory where data for unit tests can be stored.
* tests/Makefile.am:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/id3demux.c: (pad_added_cb), (error_cb),
(read_tags_from_file), (run_check_for_file),
(check_date_1977_06_23), (GST_START_TEST), (id3demux_suite):
Add unit test for id3demux, and in particular for bug #407349. Only
testing pull-mode for now; push mode doesn't work yet because the test
files are smaller than ID3_TYPE_FIND_MIN_SIZE.
2007-03-06 23:19:30 +00:00
Tim-Philipp Müller
cc09b81c01 tests/check/Makefile.am: Add missing backslash at end of line.
Original commit message from CVS:
* tests/check/Makefile.am:
Add missing backslash at end of line.
2007-03-06 22:14:59 +00:00
Stefan Kost
943584e0ff gst/spectrum/: Remove two obsolete and confusing comments.
Original commit message from CVS:
* gst/spectrum/demo-audiotest.c: (message_handler):
* gst/spectrum/demo-osssrc.c: (message_handler):
Remove two obsolete and confusing comments.
2007-03-05 08:30:52 +00:00
Jan Schmidt
121c201c7d tests/check/Makefile.am: Gah! Also disable gconfvideosink from the tests, otherwise it will instantiate autovideosink...
Original commit message from CVS:
* tests/check/Makefile.am:
Gah! Also disable gconfvideosink from the tests, otherwise
it will instantiate autovideosink, and dfbvideosink and
leak on the buildbots.
2007-03-04 17:33:34 +00:00
Jan Schmidt
5114bbb5c2 tests/check/Makefile.am: Disable autovideosink so the buildbots don't barf over memory leaked in the directfb sink.
Original commit message from CVS:
* tests/check/Makefile.am:
Disable autovideosink so the buildbots don't barf over memory
leaked in the directfb sink.
2007-03-04 17:05:58 +00:00
Stefan Kost
f36d948b34 tests/check/generic/.cvsignore: Ignore files to please buildbot.
Original commit message from CVS:
* tests/check/generic/.cvsignore:
Ignore files to please buildbot.
2007-03-02 21:35:11 +00:00
Jan Schmidt
d3963f7a06 tests/check/Makefile.am: Disable cacasink from the states check too - it also calls exit(1) on us when it can't find ...
Original commit message from CVS:
* tests/check/Makefile.am:
Disable cacasink from the states check too - it also calls exit(1)
on us when it can't find a terminal to talk to.
2007-03-02 13:19:57 +00:00
Jan Schmidt
520caf5f34 tests/check/Makefile.am: Disable aasink in the states test. I suspect this is the element that is calling exit(1) whe...
Original commit message from CVS:
* tests/check/Makefile.am:
Disable aasink in the states test. I suspect this is the element that
is calling exit(1) when it can't proceed.
2007-03-01 18:14:42 +00:00
Jan Schmidt
8ed6a4aca9 tests/check/Makefile.am: Draw plugins in from the build tree sys/ dir, rather than picking up the already installed v...
Original commit message from CVS:
* tests/check/Makefile.am:
Draw plugins in from the build tree sys/ dir, rather than picking
up the already installed versions.
2007-03-01 17:26:30 +00:00
Thomas Vander Stichele
736a60807f tests/check/: add test for states
Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/generic/states.c: (GST_START_TEST), (states_suite):
add test for states
2007-02-28 12:59:43 +00:00
Wim Taymans
85717ecbc5 tests/check/elements/.cvsignore: Add new videofilter check to .cvsignore.
Original commit message from CVS:
* tests/check/elements/.cvsignore:
Add new videofilter check to .cvsignore.
2007-02-28 10:58:10 +00:00
Mark Nauwelaerts
18f3209f29 gst/videofilter/: Port gamma filter to 0.10. Fixes #412704.
Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw at skynet be>
* gst/videofilter/Makefile.am:
* gst/videofilter/gstgamma.c: (gst_gamma_base_init),
(gst_gamma_class_init), (gst_gamma_init), (gst_gamma_set_property),
(gst_gamma_get_property), (gst_gamma_calculate_tables),
(oil_tablelookup_u8), (gst_gamma_set_caps),
(gst_gamma_planar411_ip), (gst_gamma_transform_ip), (plugin_init):
Port gamma filter to 0.10. Fixes #412704.
* tests/check/Makefile.am:
* tests/check/elements/videofilter.c: (setup_filter),
(cleanup_filter), (check_filter), (GST_START_TEST),
(videobalance_suite), (videoflip_suite), (gamma_suite), (main):
Add unit tests for videofilters.
2007-02-28 10:17:15 +00:00
Stefan Kost
5c1b116dc8 Fix level for multi-channel case.
Original commit message from CVS:
* gst/level/gstlevel.c: (gst_level_set_caps),
(gst_level_transform_ip):
* sys/v4l2/README:
* tests/check/elements/level.c: (GST_START_TEST):
Fix level for multi-channel case.
2007-02-22 14:35:28 +00:00
Wim Taymans
10294f3849 tests/check/elements/.cvsignore: Some more ignores.
Original commit message from CVS:
* tests/check/elements/.cvsignore:
Some more ignores.
2007-01-29 10:59:48 +00:00
Tim-Philipp Müller
726254bdde gst/videocrop/gstvideocrop.c: Fix cropping for packed 4:2:2 formats YUYV/YUY2 and UYVY.
Original commit message from CVS:
* gst/videocrop/gstvideocrop.c:
(gst_video_crop_get_image_details_from_caps),
(gst_video_crop_transform_packed_complex):
Fix cropping for packed 4:2:2 formats YUYV/YUY2 and UYVY.
* tests/icles/videocrop-test.c: (check_bus_for_errors),
(test_with_caps), (main):
Block streaming thread before changing filter caps while the
pipeline is running so that we don't get random not-negotiated
errors just because GStreamer can't handle that yet.
2007-01-28 18:28:33 +00:00
Tim-Philipp Müller
75ccb47468 tests/icles/videocrop-test.c: Catch errors while the test is running.
Original commit message from CVS:
* tests/icles/videocrop-test.c: (test_with_caps):
Catch errors while the test is running.
2007-01-27 16:08:15 +00:00
Sebastian Dröge
54b10ebf2a gst/audiofx/: Add new element "audioamplify". This allows scaling of raw audio samples, similar to the "volume" eleme...
Original commit message from CVS:
reviewed by: Stefan Kost  <ensonic@users.sf.net>
* gst/audiofx/Makefile.am:
* gst/audiofx/audioamplify.c:
(gst_audio_amplify_clipping_method_get_type),
(gst_audio_amplify_base_init), (gst_audio_amplify_class_init),
(gst_audio_amplify_init), (gst_audio_amplify_set_process_function),
(gst_audio_amplify_set_property), (gst_audio_amplify_get_property),
(gst_audio_amplify_set_caps),
(gst_audio_amplify_transform_int_clip),
(gst_audio_amplify_transform_int_wrap_negative),
(gst_audio_amplify_transform_int_wrap_positive),
(gst_audio_amplify_transform_float_clip),
(gst_audio_amplify_transform_float_wrap_negative),
(gst_audio_amplify_transform_float_wrap_positive),
(gst_audio_amplify_transform_ip):
* gst/audiofx/audioamplify.h:
* gst/audiofx/audiofx.c: (plugin_init):
Add new element "audioamplify". This allows scaling of raw audio
samples, similar to the "volume" element, but provides different modes
for clipping and allows unlimited amplification. It's mainly targeted
for creative sound design and not as a replacement of the "volume"
element. Fixes #397162
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/gst-plugins-good-plugins.args:
* docs/plugins/inspect/plugin-audiofx.xml:
Add docs for audioamplify and integrate them into the build system
* tests/check/Makefile.am:
* tests/check/elements/audioamplify.c: (setup_amplify),
(cleanup_amplify), (GST_START_TEST), (amplify_suite), (main):
Add fairly extensive unit test suite for audioamplify
2007-01-24 12:41:03 +00:00
Sebastian Dröge
447ae144c2 gst/audiofx/: Add new audiofx element "audioinvert". This element swaps the upper and lower half of samples and can b...
Original commit message from CVS:
reviewed by: Stefan Kost  <ensonic@users.sf.net>
* gst/audiofx/Makefile.am:
* gst/audiofx/audiofx.c: (plugin_init):
* gst/audiofx/audioinvert.c: (gst_audio_invert_base_init),
(gst_audio_invert_class_init), (gst_audio_invert_init),
(gst_audio_invert_set_property), (gst_audio_invert_get_property),
(gst_audio_invert_set_caps), (gst_audio_invert_transform_int),
(gst_audio_invert_transform_float),
(gst_audio_invert_transform_ip):
* gst/audiofx/audioinvert.h:
Add new audiofx element "audioinvert". This element swaps the upper
and lower half of samples and can be used for example for a
wide-stereo effect. Fixes #396057
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/gst-plugins-good-plugins.args:
* docs/plugins/inspect/plugin-audiofx.xml:
Add docs for the audioinvert element and add them to the build system.
* tests/check/Makefile.am:
* tests/check/elements/audioinvert.c: (setup_invert),
(cleanup_invert), (GST_START_TEST), (invert_suite), (main):
Add unit test suite for the audioinvert element.
2007-01-23 18:16:09 +00:00
Mark Nauwelaerts
36dfafcda9 Add support for more than one audio stream; write better AVIX header; refactor code a bit; don't announce vorbis caps...
Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw at skynet be>
* gst/avi/gstavimux.c: (gst_avi_mux_finalize),
(gst_avi_mux_pad_reset), (gst_avi_mux_reset), (gst_avi_mux_init),
(gst_avi_mux_vidsink_set_caps), (gst_avi_mux_audsink_set_caps),
(gst_avi_mux_request_new_pad), (gst_avi_mux_release_pad),
(gst_avi_mux_riff_get_avi_header),
(gst_avi_mux_riff_get_avix_header), (gst_avi_mux_riff_get_header),
(gst_avi_mux_write_avix_index), (gst_avi_mux_add_index),
(gst_avi_mux_bigfile), (gst_avi_mux_start_file),
(gst_avi_mux_stop_file), (gst_avi_mux_handle_event),
(gst_avi_mux_do_buffer), (gst_avi_mux_do_one_buffer),
(gst_avi_mux_change_state):
* gst/avi/gstavimux.h:
* tests/check/elements/avimux.c: (teardown_src_pad):
Add support for more than one audio stream; write better AVIX
header; refactor code a bit; don't announce vorbis caps on our audio
sink pads since we don't support it anyway. Closes #379298.
2007-01-14 17:55:33 +00:00
Sebastian Dröge
22ebbb6912 gst/audiofx/audiopanorama.*: Add 'method' property and provide a simple (non-psychoacustic) processing method (#394859).
Original commit message from CVS:
Patch by: Sebastian Dröge <slomo circular-chaos org>
* gst/audiofx/audiopanorama.c:
(gst_audio_panorama_method_get_type),
(gst_audio_panorama_class_init), (gst_audio_panorama_init),
(gst_audio_panorama_set_process_function),
(gst_audio_panorama_set_property),
(gst_audio_panorama_get_property), (gst_audio_panorama_set_caps),
(gst_audio_panorama_transform_m2s_int_simple),
(gst_audio_panorama_transform_s2s_int_simple),
(gst_audio_panorama_transform_m2s_float_simple),
(gst_audio_panorama_transform_s2s_float_simple):
* gst/audiofx/audiopanorama.h:
Add 'method' property and provide a simple (non-psychoacustic)
processing method (#394859).
* tests/check/elements/audiopanorama.c: (GST_START_TEST),
(panorama_suite):
Tests for new method.
2007-01-13 15:52:18 +00:00
Tim-Philipp Müller
62621b5e41 tests/icles/videocrop-test.c: Call g_thread_init() right at the beginning. Remove superfluous gst_init() - we've alre...
Original commit message from CVS:
* tests/icles/videocrop-test.c: (main):
Call g_thread_init() right at the beginning. Remove superfluous
gst_init() - we've already been inited via the GOption stuff.
2007-01-05 16:07:12 +00:00
Tim-Philipp Müller
096be28890 tests/check/elements/videocrop.c: When we can't create an element needed for the test, print a message detailing whic...
Original commit message from CVS:
* tests/check/elements/videocrop.c: (GST_START_TEST),
(videocrop_test_cropping_init_context):
When we can't create an element needed for the test, print a message
detailing which element it actually is that's missing (#390673).
2006-12-30 12:44:01 +00:00
Stefan Kost
2f003d73d5 tests/check/elements/: reapply consistent pad (de)activation
Original commit message from CVS:
* tests/check/elements/mpeg2enc.c: (setup_mpeg2enc),
(cleanup_mpeg2enc):
* tests/check/elements/rganalysis.c: (cleanup_rganalysis):
* tests/check/elements/wavpackdec.c: (setup_wavpackdec),
(cleanup_wavpackdec):
* tests/check/elements/wavpackenc.c: (setup_wavpackenc),
(cleanup_wavpackenc):
* tests/check/elements/y4menc.c: (setup_y4menc), (cleanup_y4menc):
reapply consistent pad (de)activation
2006-12-22 10:15:24 +00:00
Stefan Kost
351399aef6 tests/check/elements/: reapply consistent pad (de)activation
Original commit message from CVS:
* tests/check/elements/audiopanorama.c: (cleanup_panorama):
* tests/check/elements/avimux.c: (setup_avimux), (cleanup_avimux):
* tests/check/elements/cmmldec.c: (setup_cmmldec),
(teardown_cmmldec):
* tests/check/elements/cmmlenc.c: (setup_cmmlenc),
(teardown_cmmlenc):
* tests/check/elements/level.c: (setup_level), (cleanup_level):
reapply consistent pad (de)activation
2006-12-22 10:15:23 +00:00
Stefan Kost
5827843f2d tests/check/elements/mpeg2enc.c: (setup_mpeg2enc)
Original commit message from CVS:
* tests/check/elements/mpeg2enc.c: (setup_mpeg2enc)
(cleanup_mpeg2enc):
* tests/check/elements/rganalysis.c: (cleanup_rganalysis):
* tests/check/elements/wavpackdec.c: (setup_wavpackdec),
(cleanup_wavpackdec):
* tests/check/elements/wavpackenc.c: (setup_wavpackenc),
(cleanup_wavpackenc):
* tests/check/elements/y4menc.c: (setup_y4menc), (cleanup_y4menc):
revert my freeze breakage
2006-12-21 14:03:42 +00:00
Stefan Kost
72200b5b24 tests/check/elements/: revert my freeze breakage
Original commit message from CVS:
* tests/check/elements/audiopanorama.c: (cleanup_panorama):
* tests/check/elements/avimux.c: (setup_avimux), (cleanup_avimux):
* tests/check/elements/cmmldec.c: (setup_cmmldec),
(teardown_cmmldec):
* tests/check/elements/cmmlenc.c: (setup_cmmlenc),
(teardown_cmmlenc):
* tests/check/elements/level.c: (setup_level), (cleanup_level):
revert my freeze breakage
2006-12-21 12:48:32 +00:00
Stefan Kost
373296698c tests/check/elements/: consistent pad (de)activation
Original commit message from CVS:
* tests/check/elements/mpeg2enc.c: (setup_mpeg2enc),
(cleanup_mpeg2enc):
* tests/check/elements/rganalysis.c: (cleanup_rganalysis):
* tests/check/elements/wavpackdec.c: (setup_wavpackdec),
(cleanup_wavpackdec):
* tests/check/elements/wavpackenc.c: (setup_wavpackenc),
(cleanup_wavpackenc):
* tests/check/elements/y4menc.c: (setup_y4menc), (cleanup_y4menc):
consistent pad (de)activation
2006-12-21 08:20:10 +00:00
Stefan Kost
4b7d466ad9 tests/check/elements/: consistent pad (de)activation
Original commit message from CVS:
* tests/check/elements/audiopanorama.c: (cleanup_panorama):
* tests/check/elements/avimux.c: (setup_avimux), (cleanup_avimux):
* tests/check/elements/cmmldec.c: (setup_cmmldec),
(teardown_cmmldec):
* tests/check/elements/cmmlenc.c: (setup_cmmlenc),
(teardown_cmmlenc):
* tests/check/elements/level.c: (setup_level), (cleanup_level):
consistent pad (de)activation
2006-12-21 08:15:23 +00:00
Tim-Philipp Müller
f441440a43 gst/matroska/matroska-mux.c: Use GST_DEBUG_FUNCPTR; activate request pad before returning it.
Original commit message from CVS:
* gst/matroska/matroska-mux.c: (gst_matroska_mux_class_init),
(gst_matroska_mux_request_new_pad):
Use GST_DEBUG_FUNCPTR; activate request pad before returning it.
* tests/check/elements/matroskamux.c: (setup_src_pad),
(setup_sink_pad), (GST_START_TEST):
Activate pads before using them.
2006-11-16 15:36:48 +00:00
Tim-Philipp Müller
ad1f788ac1 Activate pads before adding them to running element.
Original commit message from CVS:
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_set_wp_config):
* ext/wavpack/gstwavpackparse.c:
(gst_wavpack_parse_create_src_pad):
* gst/nuvdemux/gstnuvdemux.c: (gst_nuv_demux_create_pads):
* tests/check/elements/wavpackparse.c: (wavpackparse_found_pad):
Activate pads before adding them to running element.
2006-10-17 15:16:47 +00:00
Tim-Philipp Müller
a91177414c gst/: Activate pad before adding it to the already-running element.
Original commit message from CVS:
* gst/apetag/gsttagdemux.c: (gst_tag_demux_add_srcpad):
* gst/icydemux/gsticydemux.c: (gst_icydemux_add_srcpad):
* gst/id3demux/gstid3demux.c: (gst_id3demux_add_srcpad):
Activate pad before adding it to the already-running element.
* tests/check/elements/icydemux.c: (icydemux_found_pad):
Activate newly-created pad too.
2006-10-11 13:24:42 +00:00
René Stadler
edc2785eeb Add ReplayGain analysis element (#357069).
Original commit message from CVS:
Patch by: René Stadler  <mail at renestadler de>
* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* gst/replaygain/Makefile.am:
* gst/replaygain/gstrganalysis.c: (gst_rg_analysis_base_init),
(gst_rg_analysis_class_init), (gst_rg_analysis_init),
(gst_rg_analysis_set_property), (gst_rg_analysis_get_property),
(gst_rg_analysis_start), (gst_rg_analysis_set_caps),
(gst_rg_analysis_transform_ip), (gst_rg_analysis_event),
(gst_rg_analysis_stop), (gst_rg_analysis_handle_tags),
(gst_rg_analysis_handle_eos), (gst_rg_analysis_track_result),
(gst_rg_analysis_album_result), (plugin_init):
* gst/replaygain/gstrganalysis.h:
* gst/replaygain/rganalysis.c: (yule_filter), (butter_filter),
(apply_filters), (reset_filters), (accumulator_add),
(accumulator_clear), (accumulator_result), (rg_analysis_new),
(rg_analysis_set_sample_rate), (rg_analysis_destroy),
(rg_analysis_analyze_mono_float),
(rg_analysis_analyze_stereo_float),
(rg_analysis_analyze_mono_int16),
(rg_analysis_analyze_stereo_int16), (rg_analysis_analyze),
(rg_analysis_track_result), (rg_analysis_album_result),
(rg_analysis_reset_album), (rg_analysis_reset):
* gst/replaygain/rganalysis.h:
Add ReplayGain analysis element (#357069).
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/rganalysis.c: (get_expected_gain),
(setup_rganalysis), (cleanup_rganalysis), (set_playing_state),
(send_eos_event), (send_tag_event), (poll_eos), (poll_tags),
(fail_unless_track_gain), (fail_unless_track_peak),
(fail_unless_album_gain), (fail_unless_album_peak),
(fail_if_track_tags), (fail_if_album_tags),
(fail_unless_num_tracks), (test_buffer_const_float_mono),
(test_buffer_const_float_stereo), (test_buffer_const_int16_mono),
(test_buffer_const_int16_stereo), (test_buffer_square_float_mono),
(test_buffer_square_float_stereo), (test_buffer_square_int16_mono),
(test_buffer_square_int16_stereo), (push_buffer), (GST_START_TEST),
(rganalysis_suite), (main):
Unit tests for the new replaygain element.
2006-10-06 15:56:01 +00:00
Tim-Philipp Müller
f9b92e2176 tests/icles/: Visual test for videocrop, shows that packed yuv doesn't work right yet. --with-ffmpegcolorspace option...
Original commit message from CVS:
* tests/icles/.cvsignore:
* tests/icles/Makefile.am:
* tests/icles/videocrop-test.c: (quit_mainloop), (tick_cb),
(test_with_caps), (video_crop_get_test_caps), (main):
Visual test for videocrop, shows that packed yuv doesn't work right
yet. --with-ffmpegcolorspace option doesn't work yet for unknown
reasons (another basetransform issue?)
2006-10-04 20:05:07 +00:00
Thomas Vander Stichele
dd50f5265b moap ignore
Original commit message from CVS:
moap ignore
2006-10-03 18:36:29 +00:00