summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* tests/check/Makefile.am: Don't try to run annodex unit tests if the annodex ↵Tim-Philipp Müller2006-08-161-2/+9
| | | | | | | | | plugin has not been built (Fixes #351116). Original commit message from CVS: * tests/check/Makefile.am: Don't try to run annodex unit tests if the annodex plugin has not been built (Fixes #351116).
* gst/spectrum/: Do not use deprecated gtk functions.Stefan Kost2006-07-152-2/+2
| | | | | | | Original commit message from CVS: * gst/spectrum/demo-audiotest.c: (main): * gst/spectrum/demo-osssrc.c: (main): Do not use deprecated gtk functions.
* ext/taglib/gstid3v2mux.cc: Make UTF-8 the default encoding when writing ↵Tim-Philipp Müller2006-07-051-2/+54
| | | | | | | | | | | | | | | | string tags (before, our UTF-8 strings would ... Original commit message from CVS: * ext/taglib/gstid3v2mux.cc: Make UTF-8 the default encoding when writing string tags (before, our UTF-8 strings would automatically be converted to ISO-8859-1 by taglib and written as ISO-8859-1 fields if that was possible). * tests/check/elements/id3v2mux.c: (utf8_string_in_buf), (test_taglib_id3mux_check_tag_buffer), (identity_cb), (test_taglib_id3mux_with_tags): Add test case that makes sure our UTF-8 strings have actually been written into the tag as UTF-8.
* tests/check/elements/level.c: fix a leak, clean up at the endThomas Vander Stichele2006-06-291-2/+5
| | | | | | Original commit message from CVS: * tests/check/elements/level.c: (GST_START_TEST): fix a leak, clean up at the end
* gst/spectrum/: port to use message to get results, cleanly exit when closing ↵Stefan Kost2006-06-162-39/+158
| | | | | | | | | | | | | | | | | | | 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)
* tests/check/elements/.cvsignore: And another one.Tim-Philipp Müller2006-06-121-0/+1
| | | | | | Original commit message from CVS: * tests/check/elements/.cvsignore: And another one.
* moap ignoreThomas Vander Stichele2006-06-112-0/+2
| | | | | Original commit message from CVS: moap ignore
* ext/raw1394/gstdv1394src.c: gratuitous comment changesThomas Vander Stichele2006-06-111-2/+23
| | | | | | | | Original commit message from CVS: * ext/raw1394/gstdv1394src.c: (gst_dv1394src_discover_avc_node): gratuitous comment changes * tests/check/elements/level.c: (GST_START_TEST): fix level test leaks
* tests/examples/level/Makefile.am: Add -lm to LIBS for pow() function, don't ↵Tim-Philipp Müller2006-06-091-1/+1
| | | | | | | | | | assume one of our dependencies (such as l... Original commit message from CVS: * tests/examples/level/Makefile.am: Add -lm to LIBS for pow() function, don't assume one of our dependencies (such as libxml-2.0) drags it in automatically (#343603).
* Add apev2mux element (#343122).Sebastian Dröge2006-05-302-1/+435
| | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: Patch by: Sebastian Dröge <mail at slomosnail de > * docs/plugins/gst-plugins-good-plugins-docs.sgml: * docs/plugins/gst-plugins-good-plugins-sections.txt: * ext/taglib/Makefile.am: * ext/taglib/gstapev2mux.cc: * ext/taglib/gstapev2mux.h: * ext/taglib/gstid3v2mux.cc: * ext/taglib/gsttaglibmux.c: (plugin_init): * ext/taglib/gsttaglibmux.h: Add apev2mux element (#343122). * tests/check/Makefile.am: * tests/check/elements/apev2mux.c: (test_taglib_apev2mux_create_tags), (test_taglib_apev2mux_check_tags), (fill_mp3_buffer), (got_buffer), (demux_pad_added), (test_taglib_apev2mux_check_output_buffer), (test_taglib_apev2mux_with_tags), (GST_START_TEST), (apev2mux_suite), (main): Add unit test for apev2mux element.
* ext/taglib/gstid3v2mux.cc: Handle writing of track-count or ↵Tim-Philipp Müller2006-05-281-8/+28
| | | | | | | | | | | | | | album-volume-count without track-number or albume-volume... Original commit message from CVS: * ext/taglib/gstid3v2mux.cc: Handle writing of track-count or album-volume-count without track-number or albume-volume-number (in this case the number will just be set to 0). * tests/check/elements/id3v2mux.c: (test_taglib_id3mux_check_tags): It would be nice if we actually checked the values received for track/album-volume number/count in _check_tags(), rather than setting them again ...
* gst/spectrum/: added another exampleStefan Kost2006-05-262-1/+100
| | | | | | | | | | | Original commit message from CVS: * gst/spectrum/Makefile.am: * gst/spectrum/demo-audiotest.c: (on_frequency_changed), (spectrum_chain), (main): * gst/spectrum/demo-osssrc.c: added another example * sys/v4l2/gstv4l2src.c: fix typo
* gst/spectrum/Makefile.am: Link to base librariesStefan Kost2006-05-211-6/+5
| | | | | | | | | | | | | | | | | Original commit message from CVS: * gst/spectrum/Makefile.am: Link to base libraries * gst/spectrum/demo-osssrc.c: (main): use new threshhold property * gst/spectrum/gstspectrum.c: (gst_spectrum_class_init), (gst_spectrum_init), (gst_spectrum_dispose), (gst_spectrum_set_property), (gst_spectrum_set_sink_caps), (gst_spectrum_get_sink_caps), (gst_spectrum_chain), (gst_spectrum_change_state): * gst/spectrum/gstspectrum.h: Use gst_adapter, support multiple-channels, add threshold property for result, add docs, fix resulting spectrum range (was including mirrored results)
* Initial port of the spectrum elementStefan Kost2006-05-201-25/+26
| | | | | | | | | | | | | Original commit message from CVS: * configure.ac: * gst/spectrum/demo-osssrc.c: (spectrum_chain), (main): * gst/spectrum/fix_fft.c: (gst_spectrum_fix_dot): * gst/spectrum/gstspectrum.c: (gst_spectrum_get_type), (gst_spectrum_base_init), (gst_spectrum_class_init), (gst_spectrum_init), (gst_spectrum_dispose), (gst_spectrum_set_property), (gst_spectrum_chain): * gst/spectrum/gstspectrum.h: Initial port of the spectrum element
* Some changes proposed by wingo in bug #338818 (but not everything yet). ↵Martin Rubli2006-05-051-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.
* gst/: Post an error message when we get an EOS event and were not able to ↵Tim-Philipp Müller2006-05-021-2/+2
| | | | | | | | | | | | | | | | | find out the type of stream. Original commit message from CVS: * gst/apetag/gsttagdemux.c: (gst_tag_demux_init), (gst_tag_demux_sink_event): * gst/id3demux/gstid3demux.c: (gst_id3demux_init), (gst_id3demux_sink_event): Post an error message when we get an EOS event and were not able to find out the type of stream. * tests/check/elements/id3v2mux.c: (fill_mp3_buffer), (got_buffer), (test_taglib_id3mux_with_tags): Decrease num-buffers to 16 per iteration again, otherwise the many memcpy()s and reallocations in the test will hammer slow CPUs completely and make the test timeout.
* configure.ac: figure out where plugins-base plugins areThomas Vander Stichele2006-05-022-4/+5
| | | | | | | | | | | | Original commit message from CVS: * configure.ac: figure out where plugins-base plugins are * tests/check/Makefile.am: use plugins-base plugins, so we have typefind functions * tests/check/elements/id3v2mux.c: (test_taglib_id3mux_with_tags): increase num-buffers, this makes sure the test errors out instead of timing out when no typefind functions are present
* Few improvements to move to good.Edgard Lima2006-05-011-0/+241
| | | | | Original commit message from CVS: Few improvements to move to good.
* docs/plugins/Makefile.am: also check .cc files for gtk-doc markupThomas Vander Stichele2006-05-012-5/+10
| | | | | | | | | | | | | | | | | | Original commit message from CVS: * docs/plugins/Makefile.am: also check .cc files for gtk-doc markup * configure.ac: * docs/plugins/gst-plugins-good-plugins-docs.sgml: * docs/plugins/gst-plugins-good-plugins-sections.txt: * tests/check/Makefile.am: * tests/check/elements/id3v2mux.c: (id3v2mux_suite), (main): * ext/Makefile.am: * ext/taglib/Makefile.am: * ext/taglib/gstid3v2mux.h: * ext/taglib/gsttaglibmux.c: * ext/taglib/gsttaglibmux.h: move taglib-based id3v2muxer to -good. Fixes #336110.
* element renamedThomas Vander Stichele2006-04-281-1/+1
| | | | | Original commit message from CVS: element renamed
* add ximagesrc icles testThomas Vander Stichele2006-04-281-2/+8
| | | | | | | | Original commit message from CVS: * configure.ac: * tests/Makefile.am: add ximagesrc icles test
* gst/avi/: Port AVI muxer to GStreamer-0.10 (#332031).Mark Nauwelaerts2006-04-273-0/+271
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: Patch by: Mark Nauwelaerts <manauw at skynet dot be> * gst/avi/Makefile.am: * gst/avi/gstavi.c: (plugin_init): * gst/avi/gstavimux.c: (gst_avi_mux_get_type), (gst_avi_mux_base_init), (gst_avi_mux_finalize), (gst_avi_mux_class_init), (gst_avi_mux_init), (gst_avi_mux_vidsink_set_caps), (gst_avi_mux_audsink_set_caps), (gst_avi_mux_pad_link), (gst_avi_mux_pad_unlink), (gst_avi_mux_request_new_pad), (gst_avi_mux_release_pad), (gst_avi_mux_write_tag), (gst_avi_mux_riff_get_avi_header), (gst_avi_mux_riff_get_avix_header), (gst_avi_mux_riff_get_video_header), (gst_avi_mux_riff_get_audio_header), (gst_avi_mux_add_index), (gst_avi_mux_write_index), (gst_avi_mux_bigfile), (gst_avi_mux_start_file), (gst_avi_mux_stop_file), (gst_avi_mux_restart_file), (gst_avi_mux_handle_event), (gst_avi_mux_fill_queue), (gst_avi_mux_send_pad_data), (gst_avi_mux_strip_buffer), (gst_avi_mux_do_audio_buffer), (gst_avi_mux_do_video_buffer), (gst_avi_mux_do_one_buffer), (gst_avi_mux_loop), (gst_avi_mux_collect_pads), (gst_avi_mux_get_property), (gst_avi_mux_set_property), (gst_avi_mux_change_state): * gst/avi/gstavimux.h: Port AVI muxer to GStreamer-0.10 (#332031). * tests/check/Makefile.am: * tests/check/elements/avimux.c: * tests/check/elements/.cvsignore: Add unit test for AVI muxer.
* Add icydemux, and tests.Michael Smith2006-04-212-1/+213
| | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * configure.ac: * gst/icydemux/Makefile.am: * gst/icydemux/gsticydemux.c: (gst_icydemux_get_type), (gst_icydemux_base_init), (gst_icydemux_class_init), (gst_icydemux_reset), (gst_icydemux_init), (gst_icydemux_sink_setcaps), (gst_icydemux_dispose), (gst_icydemux_add_srcpad), (gst_icydemux_remove_srcpad), (unicodify), (gst_icydemux_unicodify), (gst_icydemux_parse_and_send_tags), (gst_icydemux_typefind_or_forward), (gst_icydemux_add_meta), (gst_icydemux_chain), (gst_icydemux_change_state), (gst_icydemux_send_tag_event), (plugin_init): * gst/icydemux/gsticydemux.h: * tests/check/Makefile.am: * tests/check/elements/icydemux.c: (typefind_succeed), (plugin_init), (icydemux_found_pad), (create_icydemux), (cleanup_icydemux), (push_data), (GST_START_TEST), (icydemux_suite), (main): Add icydemux, and tests.
* ext/annodex/gstcmmlenc.c: Use copies of header buffers for caps to avoid ↵Michael Smith2006-04-102-4/+4
| | | | | | | | | | | | | | | circular refcounting problems (as in theorad... Original commit message from CVS: * ext/annodex/gstcmmlenc.c: (gst_cmml_enc_set_header_on_caps): Use copies of header buffers for caps to avoid circular refcounting problems (as in theoradec, vorbisdec). * tests/check/elements/cmmldec.c: (GST_START_TEST): Fix a typo in test that meant it was testing the wrong thing. * tests/check/elements/cmmlenc.c: (check_headers): Fix refcount checks now that we use buffer-copies for caps.
* tests/icles/ximagesrc-test.c: Actually assert that pipeline goes to playingZaheer Abbas Merali2006-04-071-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
* ignore moreThomas Vander Stichele2006-04-031-0/+2
| | | | | Original commit message from CVS: ignore more
* add taglib checks and docsThomas Vander Stichele2006-04-011-0/+426
| | | | | Original commit message from CVS: add taglib checks and docs
* 5 second timeoutThomas Vander Stichele2006-04-011-2/+2
| | | | | Original commit message from CVS: 5 second timeout
* rename testThomas Vander Stichele2006-04-013-2/+3
| | | | | Original commit message from CVS: rename test
* Add tests and fix PAR caps issue to ximagesrcZaheer Abbas Merali2006-03-312-0/+77
| | | | | | | | | | | | | | | | 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
* Fix a memleak in gst_cmml_track_list_add_clip.Julien Moutte2006-02-252-15/+25
| | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: 2006-02-25 Alessandro Decina <alessandro@nnva.org> * ext/annodex/Makefile.am: * ext/annodex/gstannodex.c: * ext/annodex/gstcmmldec.c: * ext/annodex/gstcmmlenc.c: * ext/annodex/gstcmmlparser.c: * ext/annodex/gstcmmlparser.h: * ext/annodex/gstcmmlutils.c: * tests/check/elements/cmmldec.c: * tests/check/elements/cmmlenc.c: Fix a memleak in gst_cmml_track_list_add_clip. Handle overflows in clip's start and end times. Add the "encoded" parameter to cmmldec and cmmlenc caps. Do not parse junk at the end of a CMML preamble buffer. Register a libxml error handler to not print stuff on stderr. Check for bad clip start and end times in the testsuites.
* tests/check/: Fix tests so that they use the plugins-base tags.Julien Moutte2006-02-243-0/+7
| | | | | | | | | | Original commit message from CVS: 2006-02-25 Julien MOUTTE <julien@moutte.net> * tests/check/Makefile.am: * tests/check/elements/cmmldec.c: * tests/check/elements/cmmlenc.c: Fix tests so that they use the plugins-base tags.
* tests/check/Makefile.am: Forgot to remove that test.Julien Moutte2006-02-241-2/+1
| | | | | | | Original commit message from CVS: 2006-02-25 Julien MOUTTE <julien@moutte.net> * tests/check/Makefile.am: Forgot to remove that test.
* Try to fix Annodex plugin.Julien Moutte2006-02-242-262/+4
| | | | | | | | | | | | | Original commit message from CVS: 2006-02-25 Julien MOUTTE <julien@moutte.net> * ext/annodex/Makefile.am: * ext/annodex/gstannodex.c: (plugin_init): * ext/annodex/gstcmmldec.c: * ext/annodex/gstskeldec.c: * ext/annodex/gstskeldec.h: * tests/check/Makefile.am: * tests/check/elements/skeldec.c: Try to fix Annodex plugin.
* tests/check/Makefile.am: Disable those checks as well.Julien Moutte2006-02-241-4/+4
| | | | | | | Original commit message from CVS: 2006-02-25 Julien MOUTTE <julien@moutte.net> * tests/check/Makefile.am: Disable those checks as well.
* Add Annodex elements from Alessendro Decina: skeleton and CMML.Michael Smith2006-02-244-1/+1032
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * configure.ac: * docs/plugins/gst-plugins-good-plugins-sections.txt: * ext/Makefile.am: * ext/annodex/Makefile.am: * ext/annodex/gstannodex.c: * ext/annodex/gstannodex.h: * ext/annodex/gstcmmldec.c: * ext/annodex/gstcmmldec.h: * ext/annodex/gstcmmlenc.c: * ext/annodex/gstcmmlenc.h: * ext/annodex/gstcmmlparser.c: * ext/annodex/gstcmmlparser.h: * ext/annodex/gstcmmltag.c: * ext/annodex/gstcmmltag.h: * ext/annodex/gstcmmlutils.c: * ext/annodex/gstcmmlutils.h: * ext/annodex/gstskeldec.c: * ext/annodex/gstskeldec.h: * ext/annodex/gstskeltag.c: * ext/annodex/gstskeltag.h: * tests/check/Makefile.am: * tests/check/elements/cmmldec.c: * tests/check/elements/cmmlenc.c: * tests/check/elements/skeldec.c: Add Annodex elements from Alessendro Decina: skeleton and CMML. Includes tests & docs, oh my! Passes Thomas's -good checklist entirely. Wow.
* tests/check/elements/matroskamux.c: Collectpads in core got changed and now ↵Tim-Philipp Müller2006-02-061-2/+5
| | | | | | | | | | also holds a reference to any pad that is... Original commit message from CVS: * tests/check/elements/matroskamux.c: (setup_src_pad): Collectpads in core got changed and now also holds a reference to any pad that is part of it. Fix refcount checks in test case accordingly.
* tests/examples/Makefile.am: added missing Makefile.amStefan Kost2005-12-301-0/+3
| | | | | | Original commit message from CVS: * tests/examples/Makefile.am: added missing Makefile.am
* moved level-example to tests/examples/level-exampleStefan Kost2005-12-305-6/+131
| | | | | | | | | | | | | | Original commit message from CVS: * configure.ac: * gst/level/Makefile.am: * gst/level/level-example.c: * tests/Makefile.am: * tests/examples/level/Makefile.am: * tests/examples/level/level-example.c: (message_handler), (main): moved level-example to tests/examples/level-example * tests/old/examples/level/demo.c: (main): * tests/old/examples/level/plot.c: (main): some initial fixes
* add Makefile.amThomas Vander Stichele2005-11-301-1/+1
| | | | | Original commit message from CVS: add Makefile.am
* moveThomas Vander Stichele2005-11-301-0/+11
| | | | | | | | | | | | Original commit message from CVS: * PORTED_09: * docs/random/PORTED_09: move * tests/Makefile.am: add * win32/gst.sln: remove
* check/elements/matroskamux.c: Fix leak in check.Wim Taymans2005-11-161-6/+2
| | | | | | Original commit message from CVS: * check/elements/matroskamux.c: (setup_src_pad), (setup_sink_pad): Fix leak in check.
* sigh, static pad templates aren't refcounted properlyThomas Vander Stichele2005-11-021-5/+6
| | | | | Original commit message from CVS: sigh, static pad templates aren't refcounted properly
* ignore moreThomas Vander Stichele2005-11-011-0/+1
| | | | | Original commit message from CVS: ignore more
* Fix leaks and invalid memory access as reported by valgrindThomas Vander Stichele2005-11-011-7/+10
| | | | | | | | | | | | Original commit message from CVS: * check/elements/matroskamux.c: (setup_src_pad), (setup_sink_pad), (setup_matroskamux), (check_buffer_data), (GST_START_TEST): * gst/matroska/matroska-mux.c: (gst_matroska_mux_finalize), (gst_matroska_mux_reset), (gst_matroska_mux_audio_pad_setcaps), (gst_matroska_mux_start), (gst_matroska_mux_write_data), (gst_matroska_mux_collected): Fix leaks and invalid memory access as reported by valgrind
* ... and add the missing fileThomas Vander Stichele2005-11-011-0/+427
| | | | | Original commit message from CVS: ... and add the missing file
* add a unit test for matroskamux fix the bugs that the unit test exposedMichal Benes2005-11-011-1/+3
| | | | | | | | | | | | Original commit message from CVS: Patch by: Michal Benes <michal.benes@xeris.cz> * check/Makefile.am: * gst/matroska/ebml-write.c: (gst_ebml_write_seek): * gst/matroska/matroska-mux.c: (gst_matroska_mux_handle_src_event), (gst_matroska_mux_audio_pad_setcaps), (gst_matroska_mux_start): add a unit test for matroskamux fix the bugs that the unit test exposed
* use ELEMENT messages insteadThomas Vander Stichele2005-10-191-2/+2
| | | | | Original commit message from CVS: use ELEMENT messages instead
* set up plugin paths properlyThomas Vander Stichele2005-09-241-1/+1
| | | | | Original commit message from CVS: set up plugin paths properly
* check/elements/level.c: fix test for new GstClockTime useThomas Vander Stichele2005-09-241-1/+3
| | | | | | | | | | | | Original commit message from CVS: * check/elements/level.c: (GST_START_TEST): fix test for new GstClockTime use * gst/level/gstlevel.c: (gst_level_init), (gst_level_set_caps), (gst_level_transform_ip): * gst/level/gstlevel.h: fix up the decay peak, ensuring the decay peak is never lower than the peak for that interval