summaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2006-10-06Add ReplayGain analysis element (#357069).René Stadler3-0/+1873
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-04tests/icles/: Visual test for videocrop, shows that packed yuv doesn't work ↵Tim-Philipp Müller3-1/+323
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-03removing icle for v4l2Thomas Vander Stichele2-526/+1
Original commit message from CVS: removing icle for v4l2
2006-09-27Removed set-undef-fps.Edgard Lima1-11/+1
Original commit message from CVS: Removed set-undef-fps.
2006-09-27Small cleanups.Wim Taymans1-8/+29
Original commit message from CVS: * sys/v4l2/gstv4l2object.c: (gst_v4l2_object_set_property_helper), (gst_v4l2_set_defaults): * sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_read), (gst_v4l2src_create): * sys/v4l2/gstv4l2xoverlay.c: (gst_v4l2_xoverlay_open): * sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities), (gst_v4l2_fill_lists), (gst_v4l2_open), (gst_v4l2_set_norm), (gst_v4l2_get_frequency), (gst_v4l2_set_frequency), (gst_v4l2_signal_strength), (gst_v4l2_get_attribute), (gst_v4l2_set_attribute), (gst_v4l2_get_input), (gst_v4l2_set_input): * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_fill_format_list), (gst_v4l2src_grab_frame), (gst_v4l2src_get_capture), (gst_v4l2src_set_capture), (gst_v4l2src_capture_init), (gst_v4l2src_capture_start), (gst_v4l2src_capture_stop), (gst_v4l2src_buffer_new): * tests/icles/v4l2src-test.c: (my_bus_callback), (main): Small cleanups. Fix error messages. Use locks when getting timestamps. Fix leaks in test. Add licensing header to tests.
2006-09-27Some cleanups and comments.Edgard Lima1-6/+6
Original commit message from CVS: Some cleanups and comments.
2006-09-19Just a small fix to the app options.Edgard Lima1-1/+1
Original commit message from CVS: Just a small fix to the app options.
2006-09-19Add Video Orientation interface support to v4l2src.Edgard Lima1-2/+91
Original commit message from CVS: Add Video Orientation interface support to v4l2src.
2006-09-16tests/check/: Fix big batch of compiler warnings.Stefan Kost1-2/+0
Original commit message from CVS: * tests/check/elements/audioresample.c: (GST_START_TEST): * tests/check/elements/videotestsrc.c: (check_rgb_buf): * tests/check/elements/volume.c: (GST_START_TEST): * tests/check/elements/vorbisdec.c: (GST_START_TEST): * tests/check/pipelines/oggmux.c: (validate_ogg_page), (eos_watch), (test_pipeline), (GST_START_TEST): * tests/check/pipelines/theoraenc.c: (GST_START_TEST): * tests/check/pipelines/vorbisenc.c: (GST_START_TEST): Fix big batch of compiler warnings.
2006-09-15The test application and the plgind error messages has been improved.Edgard Lima1-24/+193
Original commit message from CVS: The test application and the plgind error messages has been improved.
2006-09-08configure.ac: Bump requirements of -base (videocrop test case needs this).Tim-Philipp Müller1-45/+213
Original commit message from CVS: * configure.ac: Bump requirements of -base (videocrop test case needs this). * gst/videocrop/gstvideocrop.c: Document sloppy handling of subsampled chroma planes if left/top cropping is an odd number. * tests/check/elements/videocrop.c: (handoff_cb), (videocrop_test_cropping_init_context), (videocrop_test_cropping_deinit_context), (videocrop_test_cropping), (check_1x1_buffer), (GST_START_TEST), (videocrop_suite), (main): Add another unit test that crops the input to 1x1 (and checks that that pixel has the expected values in a number of formats).
2006-09-03tests/check/elements/videocrop.c: More tests: check passthrough mode and ↵Tim-Philipp Müller1-0/+319
caps transform in both directions with fixed... Original commit message from CVS: * tests/check/elements/videocrop.c: (handoff_cb), (buffer_probe_cb), (test_caps_transform), (test_passthrough), (notgst_value_list_get_nth_int), (videocrop_suite): More tests: check passthrough mode and caps transform in both directions with fixed values, ranges and lists.
2006-09-02docs/plugins/: Add videocrop to docs.Tim-Philipp Müller3-2/+326
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: * docs/plugins/gst-plugins-bad-plugins.hierarchy: Add videocrop to docs. * gst/videocrop/Makefile.am: * gst/videocrop/gstvideocrop.c: * gst/videocrop/gstvideocrop.h: Move boilerplate stuff and structures into a header file. * tests/check/Makefile.am: * tests/check/elements/.cvsignore: * tests/check/elements/videocrop.c: (video_crop_get_test_caps), (test_unit_sizes), (videocrop_test_cropping_init_context), (videocrop_test_cropping_deinit_context), (videocrop_test_cropping), (test_cropping), (videocrop_suite): Add unit tests for videocrop.
2006-08-23ext/wavpack/gstwavpackenc.c: Fix mem leak, send newsegment event on ↵Tim-Philipp Müller2-3/+2
correction pad as well (#352476). Original commit message from CVS: * ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_push_block): Fix mem leak, send newsegment event on correction pad as well (#352476). * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init): Restore original author (on Sebastian's request). * tests/check/Makefile.am: * tests/check/gst-plugins-bad.supp: Add (so far empty) suppression file for -bad. Remove wavpackenc test from VALGRIND_TO_FIX now that the leak is fixed.
2006-08-23tests/check/: Add unit tests for wavpack elements (#352476).Sebastian Dröge5-1/+737
Original commit message from CVS: Patch by: Sebastian Dröge <slomo at circular-chaos.org> * tests/check/Makefile.am: * tests/check/elements/.cvsignore: * tests/check/elements/wavpackdec.c: (setup_wavpackdec), (cleanup_wavpackdec), (GST_START_TEST), (wavpackdec_suite), (main): * tests/check/elements/wavpackenc.c: (setup_wavpackenc), (cleanup_wavpackenc), (GST_START_TEST), (wavpackenc_suite), (main): * tests/check/elements/wavpackparse.c: (wavpackparse_found_pad), (setup_wavpackparse), (cleanup_wavpackparse), (GST_START_TEST), (wavpackparse_suite), (main): Add unit tests for wavpack elements (#352476).
2006-08-21move gdp plugin to good.Thomas Vander Stichele3-989/+0
Original commit message from CVS: * configure.ac: * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-bad-plugins-docs.sgml: * docs/plugins/gst-plugins-bad-plugins-sections.txt: * gst/gdp/Makefile.am: * gst/gdp/gstgdp.c: * gst/gdp/gstgdpdepay.c: * gst/gdp/gstgdpdepay.h: * gst/gdp/gstgdppay.c: * gst/gdp/gstgdppay.h: * tests/check/Makefile.am: * tests/check/elements/gdpdepay.c: * tests/check/elements/gdppay.c: move gdp plugin to good.
2006-08-08tests/check/elements/gdpdepay.c: I forgot to include the file containing the ↵Edward Hervey1-0/+1
#define :) Original commit message from CVS: * tests/check/elements/gdpdepay.c: (gdpdepay_suite): I forgot to include the file containing the #define :) Now includes "config.h"
2006-08-08tests/check/elements/gdpdepay.c: Ignore test known to fail on PPC64. See ↵Edward Hervey1-1/+5
#348114. Original commit message from CVS: * tests/check/elements/gdpdepay.c: (gdpdepay_suite): Ignore test known to fail on PPC64. See #348114.
2006-07-26gst/gdp/gstgdpdepay.c: proxying get/set caps is the wrong thing to do, since ↵Thomas Vander Stichele2-2/+0
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-13tests/check/Makefile.am: Only run mpeg2enc unit test if we built the ↵Tim-Philipp Müller1-1/+7
mpeg2enc plugin. Original commit message from CVS: * tests/check/Makefile.am: Only run mpeg2enc unit test if we built the mpeg2enc plugin.
2006-07-13Port mpeg2enc to 0.10 (#343184).Mark Nauwelaerts4-2/+207
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-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üller1-0/+7
::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-14ext/soundtouch/: Make pitch element controllable via GstController interface ↵Wouter Paesen2-1/+113
(#344821). Original commit message from CVS: Patch by: Wouter Paesen <wouter at kangaroot net> * ext/soundtouch/Makefile.am: * ext/soundtouch/gstpitch.cc: Make pitch element controllable via GstController interface (#344821). * configure.ac: Up core requirements to 0.10.8.1/CVS because earlier GstControllers can't handle float properties correctly. Check for GstController CFLAGS and LIBS. * tests/icles/Makefile.am: * tests/icles/pitch-test.c: (main): Add small test program for the above (welcome to the 80s!).
2006-06-11moap ignoreThomas Vander Stichele1-0/+2
Original commit message from CVS: moap ignore
2006-06-06ignore moreThomas Vander Stichele1-0/+2
Original commit message from CVS: ignore more
2006-06-06configure.ac: enable building of GDP elementsThomas Vander Stichele1-4/+5
Original commit message from CVS: * configure.ac: enable building of GDP elements * gst/gdp/gstgdpdepay.c: (gst_gdp_depay_chain): * gst/gdp/gstgdppay.c: (gst_gdp_pay_class_init), (gst_gdp_pay_init), (gst_gdp_buffer_from_caps), (gst_gdp_pay_buffer_from_buffer), (gst_gdp_buffer_from_event), (gst_gdp_pay_reset_streamheader), (gst_gdp_pay_sink_event), (gst_gdp_pay_set_property), (gst_gdp_pay_get_property), (gst_gdp_pay_change_state): * gst/gdp/gstgdppay.h: add version 1.0
2006-06-02tests/check/: Don't busy-wait in tests; this was causing test timeouts very ↵Michael Smith1-1/+0
frequently when running under valgrind. Original commit message from CVS: * tests/check/elements/audioconvert.c: (set_channel_positions), (get_float_mc_caps), (get_int_mc_caps): * tests/check/elements/audioresample.c: * tests/check/elements/audiotestsrc.c: (GST_START_TEST): * tests/check/elements/videorate.c: * tests/check/elements/videotestsrc.c: (GST_START_TEST): * tests/check/elements/volume.c: * tests/check/elements/vorbisdec.c: * tests/check/pipelines/vorbisenc.c: (GST_START_TEST): Don't busy-wait in tests; this was causing test timeouts very frequently when running under valgrind.
2006-06-02gst/gdp/gstgdppay.c: add crc-header and crc-payload properties don't error ↵Thomas Vander Stichele1-1/+91
out on some things that are recoverable Original commit message from CVS: * gst/gdp/gstgdppay.c: (gst_gdp_pay_class_init), (gst_gdp_pay_init), (gst_gdp_buffer_from_caps), (gst_gdp_pay_buffer_from_buffer), (gst_gdp_buffer_from_event), (gst_gdp_pay_reset_streamheader), (gst_gdp_pay_chain), (gst_gdp_pay_sink_event), (gst_gdp_pay_set_property), (gst_gdp_pay_get_property): add crc-header and crc-payload properties don't error out on some things that are recoverable * tests/check/elements/gdppay.c: (GST_START_TEST), (gdppay_suite): add test for crc
2006-05-22sigh, really don't build theseThomas Vander Stichele1-2/+1
Original commit message from CVS: sigh, really don't build these
2006-05-22gst/gdp/: Handle error cases when calling functions do downwards state ↵Thomas Vander Stichele2-0/+21
change after parent's change_state Original commit message from CVS: * gst/gdp/gstgdpdepay.c: (gst_gdp_depay_chain), (gst_gdp_depay_change_state): * gst/gdp/gstgdpdepay.h: * gst/gdp/gstgdppay.c: (gst_gdp_pay_reset_streamheader), (gst_gdp_pay_chain), (gst_gdp_pay_sink_event), (gst_gdp_pay_change_state): * gst/gdp/gstgdppay.h: Handle error cases when calling functions do downwards state change after parent's change_state * tests/check/elements/gdpdepay.c: (GST_START_TEST): * tests/check/elements/gdppay.c: (GST_START_TEST): clean up more
2006-05-22don't build these yetThomas Vander Stichele1-3/+2
Original commit message from CVS: don't build these yet
2006-05-22don't build these yetThomas Vander Stichele1-1/+3
Original commit message from CVS: don't build these yet
2006-05-22adding GDP payloader and depayloader. Build integration will follow later ↵Thomas Vander Stichele3-2/+876
when the GDP issues for core are sorted out. Original commit message from CVS: * gst/gdp/Makefile.am: * gst/gdp/gstgdp.c: (plugin_init): * gst/gdp/gstgdpdepay.c: (gst_gdp_depay_base_init), (gst_gdp_depay_class_init), (gst_gdp_depay_init), (gst_gdp_depay_finalize), (gst_gdp_depay_chain), (gst_gdp_depay_change_state), (gst_gdp_depay_plugin_init): * gst/gdp/gstgdpdepay.h: * gst/gdp/gstgdppay.c: (gst_gdp_pay_base_init), (gst_gdp_pay_class_init), (gst_gdp_pay_init), (gst_gdp_pay_dispose), (gst_gdp_stamp_buffer), (gst_gdp_buffer_from_caps), (gst_gdp_pay_buffer_from_buffer), (gst_gdp_buffer_from_event), (gst_gdp_pay_reset_streamheader), (gst_gdp_queue_buffer), (gst_gdp_pay_chain), (gst_gdp_pay_sink_event), (gst_gdp_pay_change_state), (gst_gdp_pay_plugin_init): * gst/gdp/gstgdppay.h: * tests/check/Makefile.am: * tests/check/elements/gdpdepay.c: (setup_gdpdepay), (cleanup_gdpdepay), (gdpdepay_push_per_byte), (GST_START_TEST), (setup_gdpdepay_streamheader), (gdpdepay_suite), (main): * tests/check/elements/gdppay.c: (setup_gdppay), (cleanup_gdppay), (GST_START_TEST), (setup_gdppay_streamheader), (gdppay_suite), (main): adding GDP payloader and depayloader. Build integration will follow later when the GDP issues for core are sorted out.
2006-05-05Some changes proposed by wingo in bug #338818 (but not everything yet). ↵Martin Rubli1-2/+2
Patch from Martin Rubli to fix framerate dete... Original commit message from CVS: Some changes proposed by wingo in bug #338818 (but not everything yet). Patch from Martin Rubli to fix framerate detection.
2006-05-04tests/icles/Makefile.am: Fix build.Julien Moutte1-0/+1
Original commit message from CVS: 2006-05-04 Julien MOUTTE <julien@moutte.net> * tests/icles/Makefile.am: Fix build.
2006-05-01Few improvements to move to good.Edgard Lima2-0/+256
Original commit message from CVS: Few improvements to move to good.
2006-05-01moved to good. Closes #336110Thomas Vander Stichele2-434/+1
Original commit message from CVS: * configure.ac: * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-bad-plugins-docs.sgml: * docs/plugins/gst-plugins-bad-plugins-sections.txt: * docs/plugins/inspect/plugin-taglib.xml: * ext/Makefile.am: * ext/taglib/Makefile.am: * ext/taglib/gstid3v2mux.cc: * ext/taglib/gstid3v2mux.h: * ext/taglib/gsttaglib.cc: * ext/taglib/gsttaglib.h: * tests/check/Makefile.am: * tests/check/elements/tagid3v2mux.c: moved to good. Closes #336110
2006-04-28element renamedThomas Vander Stichele1-1/+1
Original commit message from CVS: element renamed
2006-04-28moved ximagesrc to goodThomas Vander Stichele4-96/+4
Original commit message from CVS: moved ximagesrc to good
2006-04-07tests/icles/ximagesrc-test.c: Actually assert that pipeline goes to playingZaheer Abbas Merali1-0/+6
Original commit message from CVS: 2006-04-07 Zaheer Abbas Merali <zaheerabbas at merali dot org> * tests/icles/ximagesrc-test.c: (main): Actually assert that pipeline goes to playing
2006-04-03tests/check/Makefile.am: Only run the id3v2mux check if taglib is available ↵Tim-Philipp Müller1-2/+9
and the taglib plugin has been built. Original commit message from CVS: * tests/check/Makefile.am: Only run the id3v2mux check if taglib is available and the taglib plugin has been built.
2006-04-01add taglib checks and docsThomas Vander Stichele5-0/+472
Original commit message from CVS: add taglib checks and docs
2006-04-015 second timeoutThomas Vander Stichele1-2/+2
Original commit message from CVS: 5 second timeout
2006-04-01rename testThomas Vander Stichele3-2/+3
Original commit message from CVS: rename test
2006-03-31Add tests and fix PAR caps issue to ximagesrcZaheer Abbas Merali3-0/+88
Original commit message from CVS: 2006-03-31 Zaheer Abbas Merali <zaheerabbas at merali dot org> * Makefile.am: * configure.ac: * sys/ximagesrc/ximagesrc.c: (gst_ximagesrc_ximage_get), (gst_ximagesrc_get_caps), (gst_ximagesrc_class_init): * sys/ximagesrc/ximageutil.c: * tests/Makefile.am: * tests/icles/Makefile.am: * tests/icles/ximagesrc-test.c: (terminate_playback), (main): Add tests and fix PAR caps issue to ximagesrc
2005-12-06expand tabsThomas Vander Stichele1-7/+7
Original commit message from CVS: expand tabs
2005-09-02All plugins updated for element state changes.Andy Wingo1-1/+2
Original commit message from CVS: 2005-09-02 Andy Wingo <wingo@pobox.com> * All plugins updated for element state changes.
2005-08-30check/elements/: Fix checks.Wim Taymans1-0/+2
Original commit message from CVS: * check/elements/audioconvert.c: (setup_audioconvert): * check/elements/audioresample.c: (setup_audioresample): * check/elements/volume.c: (setup_volume): Fix checks.
2005-08-25some more testing for perfect streamsThomas Vander Stichele1-6/+23
Original commit message from CVS: some more testing for perfect streams