summaryrefslogtreecommitdiffstats
path: root/tests/check
AgeCommit message (Collapse)AuthorFilesLines
2009-06-02aacparse: set channels and rate on output caps, and keep codec_dataTim-Philipp Müller1-8/+24
Create output caps from input caps, so we maintain any fields we might get on the input caps, such as codec_data or rate and channels. Set channels and rate on the output caps if we don't have input caps or they don't contain such fields. We do this partly because we can, but also because some muxers need this information. Tagreadbin will also be happy about this.
2009-06-01shapewipe: Add unit test for shapewipeSebastian Dröge2-0/+307
2009-05-26states: Ignore the camerabin for the states testJan Schmidt1-1/+1
It accesses the video device, which isn't generally desirable for the state test.
2009-05-25tests: add receive rtpbin unit testWim Taymans1-0/+206
2009-05-22tests: more rtpbin checksWim Taymans1-49/+64
2009-05-22tests: add more rtpbin testsWim Taymans1-4/+26
2009-05-22tests: add rtpbin unit testWim Taymans3-0/+97
Add the beginnings of an rtpbin unit test Add some more stuff to .gitignore
2009-05-16Moved 'y4menc' from -bad to -goodJan Schmidt3-167/+0
2009-04-25tests: make git ignore new unit tests binariesTim-Philipp Müller2-1/+3
2009-04-24check: exclude rsndvdbin from the states testJan Schmidt1-1/+1
2009-04-16camerabin: change img-done signal parameter from GString* to const gchar*Lasse Laukkanen1-6/+4
Don't allow setting filename via img-done signal parameter but force app use filename property. Don't stop capture when setting filename property. Update check unit test based on the change.
2009-04-07mxf: Add unit tests for checking if mxfmux ! mxfdemux pipelines are working ↵Sebastian Dröge2-0/+283
without errors
2009-04-02mxfmux: Add unit testsSebastian Dröge2-1/+263
2009-03-22tests: reenable metadata testStefan Kost1-3/+3
2009-03-22metadata: reenable testStefan Kost1-2/+1
2009-03-12check: Disabling metadata unit test until #574401 is fixed.Edward Hervey1-4/+5
2009-03-07camerabin: Make the tests pass when the camerabin can't initialise.Jan Schmidt1-4/+27
The camerabin tests were throwing glib errors and hanging when gst-plugins-good elements (jpegenc, videocrop) can't found.
2009-03-07misc: Ignore the camerabin binary in the check/elements subdirJan Schmidt1-0/+1
2009-03-07metadata: change 'q' back to 'jpegenc' (my keyboard hates me)Stefan Kost1-1/+1
2009-03-06metadata: cleanup, fix the test, add commentsStefan Kost1-6/+15
First do not build the plugin, if we have none of the backend, as it won't work then. Fix the miniobject_unref error in the test. Sprinkle a first handful of debug logs into the element code.
2009-03-06legacyresample: Fix memory leak in the unit test by unreffing the capsSebastian Dröge1-0/+1
2009-03-04check: gst-plugins-bad.supp needs to be distributed.Peter Kjellerstedt1-0/+1
2009-02-27camerabin: rework signaling and testsStefan Kost1-0/+2
Revert the GString change. There are no marshallers for it. A better change is now described in http://bugzilla.gnome.org/show_bug.cgi?id=573370. Test should work again.
2009-02-25tests: add a timeout of 5 slightly above the defaultStefan Kost1-0/+1
2009-02-25camerabin: increase timeout and lower video recording lengthStefan Kost1-11/+23
The video was recorded for too long for the test timeouts. Also the verification suite did not had custom timouts at all. Also split the verification for images and video to get better reporting.
2009-02-25tests: blacklist dccp plugins.Stefan Kost1-1/+1
Unless one runs a very recent kernel, they can easily lockup the whole system.
2009-02-25camerabin: get rid of // comment and explainStefan Kost1-2/+4
2009-02-25camerabin: update check unit testStefan Kost1-37/+72
Use playbin2 for validation. Use tmp_dir for capturing. Wait with g_cond for burst capture finish. Cleanup some g_object_set. Add some logging to ease tracing.
2009-02-09More files to ignoreEdward Hervey2-0/+8
2009-02-09tests: Add camerabin unit tests.Nokia Corporation2-0/+405
2009-02-05metadata test: Fix wrong looping variable. Test is now valid (but fails).Edward Hervey1-1/+1
The inner looping was using the outer looping variable.
2009-01-23Rename audioresample files and types to legacyresampleSebastian Dröge2-40/+40
Finish the move/rename of audioresample to legacyresample to prevent any confusion.
2009-01-06tests/check/Makefile.am: Dist test headers for amr and aac parsers.Jan Schmidt1-3/+1
Original commit message from CVS: * tests/check/Makefile.am: Dist test headers for amr and aac parsers. Remove leftover lines mentioned speexresample tests.
2008-12-31Implement support for OP2a/b/c and OP3a/b/c, i.e. tracks with more than a ↵Sebastian Dröge1-1/+0
single component. This currently only works... Original commit message from CVS: * gst/mxf/mxfaes-bwf.c: (mxf_bwf_handle_essence_element), (mxf_aes3_handle_essence_element): * gst/mxf/mxfalaw.c: (mxf_alaw_handle_essence_element): * gst/mxf/mxfd10.c: (mxf_d10_picture_handle_essence_element), (mxf_d10_sound_handle_essence_element): * gst/mxf/mxfdemux.c: (gst_mxf_demux_pad_init), (gst_mxf_demux_choose_package), (gst_mxf_demux_handle_header_metadata_update_streams), (gst_mxf_demux_pad_next_component), (gst_mxf_demux_handle_generic_container_essence_element), (gst_mxf_demux_parse_footer_metadata), (gst_mxf_demux_handle_klv_packet), (gst_mxf_demux_src_query): * gst/mxf/mxfdv-dif.c: (mxf_dv_dif_handle_essence_element): * gst/mxf/mxfjpeg2000.c: (mxf_jpeg2000_handle_essence_element): * gst/mxf/mxfmetadata.c: (mxf_metadata_sequence_init), (mxf_metadata_structural_component_init), (mxf_metadata_generic_picture_essence_descriptor_init): * gst/mxf/mxfmpeg.c: (mxf_mpeg_video_handle_essence_element), (mxf_mpeg_audio_handle_essence_element): * gst/mxf/mxfparse.h: * gst/mxf/mxfup.c: (mxf_up_handle_essence_element): * gst/mxf/mxfvc3.c: (mxf_vc3_handle_essence_element): * tests/check/elements/mxfdemux.c: (_sink_chain): Implement support for OP2a/b/c and OP3a/b/c, i.e. tracks with more than a single component. This currently only works for the case where the components are stored in playback order in the file. Set some more default/distinguished values for the structural metadata. Make some types more strict by choosing the correct subclasses. Set DISCONT flag on buffers after a component switch. Take the last partition from the random index pack for the footer partition of the header partition doesn't reference the footer partition. This gives us the final structural metadata for some more files in the beginning.
2008-12-16tests/check/elements/mxfdemux.c: Increase the timeout to 3 minutes to ↵Sebastian Dröge1-0/+1
prevent timeouts. Original commit message from CVS: * tests/check/elements/mxfdemux.c: (mxfdemux_suite): Increase the timeout to 3 minutes to prevent timeouts.
2008-12-16tests/check/elements/mxfdemux.*: Make sure the main loop is already running ↵Sebastian Dröge2-2542/+2546
when handling the EOS event in pull mode.... Original commit message from CVS: * tests/check/elements/mxfdemux.c: (_sink_event): * tests/check/elements/mxfdemux.h: Make sure the main loop is already running when handling the EOS event in pull mode. This works around a race condition that can happen if the element goes into PLAYING, handles everything and sends EOS before the main loop is started.
2008-12-16tests/check/Makefile.am: Blacklist rfbsrc from the state change test.Edward Hervey1-1/+1
Original commit message from CVS: * tests/check/Makefile.am: Blacklist rfbsrc from the state change test.
2008-12-16tests/check/: Add push and pull mode unit test for mxfdemux.Sebastian Dröge3-1/+2823
Original commit message from CVS: * tests/check/Makefile.am: * tests/check/elements/mxfdemux.c: (_pad_added), (_sink_chain), (_sink_event), (_create_sink_pad), (_create_src_pad_push), (_src_getrange), (_src_query), (_create_src_pad_pull), (GST_START_TEST), (mxfdemux_suite): * tests/check/elements/mxfdemux.h: Add push and pull mode unit test for mxfdemux.
2008-11-27Remove old speexresample files.Sebastian Dröge1-700/+0
Original commit message from CVS: * gst/speexresample/Makefile.am: * gst/speexresample/README: * gst/speexresample/arch.h: * gst/speexresample/fixed_arm4.h: * gst/speexresample/fixed_arm5e.h: * gst/speexresample/fixed_bfin.h: * gst/speexresample/fixed_debug.h: * gst/speexresample/fixed_generic.h: * gst/speexresample/gstspeexresample.c: * gst/speexresample/gstspeexresample.h: * gst/speexresample/resample.c: * gst/speexresample/resample_sse.h: * gst/speexresample/speex_resampler.h: * gst/speexresample/speex_resampler_double.c: * gst/speexresample/speex_resampler_float.c: * gst/speexresample/speex_resampler_int.c: * gst/speexresample/speex_resampler_wrapper.h: * tests/check/elements/speexresample.c: Remove old speexresample files.
2008-11-27Integrate the moved audioresample into the build system and rename it to ↵Sebastian Dröge2-3/+3
legacyresample. Fixes bug #558124. 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/gst-plugins-bad-plugins.args: * docs/plugins/gst-plugins-bad-plugins.hierarchy: * docs/plugins/gst-plugins-bad-plugins.interfaces: * docs/plugins/gst-plugins-bad-plugins.prerequisites: * docs/plugins/gst-plugins-bad-plugins.signals: * docs/plugins/inspect/plugin-aacparse.xml: * docs/plugins/inspect/plugin-alsaspdif.xml: * docs/plugins/inspect/plugin-amrparse.xml: * docs/plugins/inspect/plugin-app.xml: * docs/plugins/inspect/plugin-bayer.xml: * docs/plugins/inspect/plugin-bz2.xml: * docs/plugins/inspect/plugin-cdaudio.xml: * docs/plugins/inspect/plugin-cdxaparse.xml: * docs/plugins/inspect/plugin-celt.xml: * docs/plugins/inspect/plugin-dccp.xml: * docs/plugins/inspect/plugin-dfbvideosink.xml: * docs/plugins/inspect/plugin-dtsdec.xml: * docs/plugins/inspect/plugin-dvb.xml: * docs/plugins/inspect/plugin-dvdspu.xml: * docs/plugins/inspect/plugin-faad.xml: * docs/plugins/inspect/plugin-fbdevsink.xml: * docs/plugins/inspect/plugin-festival.xml: * docs/plugins/inspect/plugin-filter.xml: * docs/plugins/inspect/plugin-freeze.xml: * docs/plugins/inspect/plugin-gsm.xml: * docs/plugins/inspect/plugin-gstinterlace.xml: * docs/plugins/inspect/plugin-gstrtpmanager.xml: * docs/plugins/inspect/plugin-h264parse.xml: * docs/plugins/inspect/plugin-jack.xml: * docs/plugins/inspect/plugin-ladspa.xml: * docs/plugins/inspect/plugin-metadata.xml: * docs/plugins/inspect/plugin-mms.xml: * docs/plugins/inspect/plugin-modplug.xml: * docs/plugins/inspect/plugin-mpeg4videoparse.xml: * docs/plugins/inspect/plugin-mpegvideoparse.xml: * docs/plugins/inspect/plugin-musepack.xml: * docs/plugins/inspect/plugin-musicbrainz.xml: * docs/plugins/inspect/plugin-mve.xml: * docs/plugins/inspect/plugin-mythtv.xml: * docs/plugins/inspect/plugin-nas.xml: * docs/plugins/inspect/plugin-neon.xml: * docs/plugins/inspect/plugin-nsfdec.xml: * docs/plugins/inspect/plugin-nuvdemux.xml: * docs/plugins/inspect/plugin-oss4.xml: * docs/plugins/inspect/plugin-rawparse.xml: * docs/plugins/inspect/plugin-real.xml: * docs/plugins/inspect/plugin-rfbsrc.xml: * docs/plugins/inspect/plugin-scaletempo.xml: * docs/plugins/inspect/plugin-sdl.xml: * docs/plugins/inspect/plugin-sdp.xml: * docs/plugins/inspect/plugin-selector.xml: * docs/plugins/inspect/plugin-sndfile.xml: * docs/plugins/inspect/plugin-soundtouch.xml: * docs/plugins/inspect/plugin-speed.xml: * docs/plugins/inspect/plugin-speexresample.xml: * docs/plugins/inspect/plugin-stereo.xml: * docs/plugins/inspect/plugin-subenc.xml: * docs/plugins/inspect/plugin-tta.xml: * docs/plugins/inspect/plugin-twolame.xml: * docs/plugins/inspect/plugin-vcdsrc.xml: * docs/plugins/inspect/plugin-videosignal.xml: * docs/plugins/inspect/plugin-vmnc.xml: * docs/plugins/inspect/plugin-wildmidi.xml: * docs/plugins/inspect/plugin-y4menc.xml: * gst/audioresample/gstaudioresample.c: (plugin_init): * gst/audioresample/Makefile.am: * tests/check/Makefile.am: * tests/check/elements/audioresample.c: (setup_audioresample), (GST_START_TEST): Integrate the moved audioresample into the build system and rename it to legacyresample. Fixes bug #558124.
2008-11-25tests/check/elements/speexresample.c: Make unit test again faster to prevent ↵Sebastian Dröge1-1/+1
timeouts with valgrind. Original commit message from CVS: * tests/check/elements/speexresample.c: (test_pipeline): Make unit test again faster to prevent timeouts with valgrind.
2008-11-22tests/check/elements/speexresample.c: Make the unit test a bit faster to ↵Sebastian Dröge1-12/+0
prevent timeouts, especially with valgrind. Original commit message from CVS: * tests/check/elements/speexresample.c: (GST_START_TEST): Make the unit test a bit faster to prevent timeouts, especially with valgrind.
2008-11-17tests/check/elements/: Add missing files.Stefan Kost2-0/+112
Original commit message from CVS: * tests/check/elements/aacparse_data.h: * tests/check/elements/amrparse_data.h: Add missing files.
2008-11-13tests/check/: Add unit tests for new parsers.Stefan Kost3-0/+1154
Original commit message from CVS: * tests/check/Makefile.am: * tests/check/elements/aacparse.c: * tests/check/elements/amrparse.c: Add unit tests for new parsers.
2008-11-11tests/check/: Add unit test for qtmux.Mark Nauwelaerts2-0/+264
Original commit message from CVS: * tests/check/Makefile.am: * tests/check/elements/qtmux.c: (setup_src_pad), (teardown_src_pad), (setup_qtmux), (cleanup_qtmux), (check_qtmux_pad), (GST_START_TEST), (qtmux_suite), (main): Add unit test for qtmux.
2008-10-30tests/check/elements/speexresample.c: Add pipeline unit tests for testing ↵Sebastian Dröge1-1/+115
all supported formats with up/downsampling ... Original commit message from CVS: * tests/check/elements/speexresample.c: (element_message_cb), (eos_message_cb), (test_pipeline), (GST_START_TEST), (speexresample_suite): Add pipeline unit tests for testing all supported formats with up/downsampling and different in/outrates. * gst/speexresample/gstspeexresample.c: (gst_speex_resample_push_drain), (gst_speex_resample_process): * gst/speexresample/speex_resampler_wrapper.h: Fix bugs identified by the testsuite.
2008-10-30Add support for double samples as input and refactor the usage of the ↵Sebastian Dröge1-12/+31
different compilation flavors of the speex resa... Original commit message from CVS: * gst/speexresample/Makefile.am: * gst/speexresample/arch.h: * gst/speexresample/gstspeexresample.c: (gst_speex_resample_stop), (gst_speex_resample_get_unit_size), (gst_speex_resample_get_funcs), (gst_speex_resample_init_state), (gst_speex_resample_update_state), (gst_speex_resample_reset_state), (gst_speex_resample_parse_caps), (_gcd), (gst_speex_resample_transform_size), (gst_speex_resample_set_caps), (gst_speex_resample_push_drain), (gst_speex_resample_process), (gst_speex_resample_transform), (gst_speex_resample_query), (gst_speex_resample_set_property): * gst/speexresample/gstspeexresample.h: * gst/speexresample/resample.c: * gst/speexresample/speex_resampler.h: * gst/speexresample/speex_resampler_double.c: * gst/speexresample/speex_resampler_wrapper.h: * tests/check/elements/speexresample.c: (setup_speexresample), (test_perfect_stream_instance), (GST_START_TEST), (test_discont_stream_instance): Add support for double samples as input and refactor the usage of the different compilation flavors of the speex resampler.
2008-10-29gst/speexresample/gstspeexresample.*: Rewrite timestamp tracking to make it ↵Sebastian Dröge2-0/+582
more robust and guarantee a continous str... Original commit message from CVS: * gst/speexresample/gstspeexresample.c: (gst_speex_resample_start), (gst_speex_resample_get_unit_size), (gst_speex_resample_push_drain), (gst_speex_resample_event), (gst_speex_resample_check_discont), (gst_speex_resample_process), (gst_speex_resample_transform): * gst/speexresample/gstspeexresample.h: Rewrite timestamp tracking to make it more robust and guarantee a continous stream. * tests/check/Makefile.am: * tests/check/elements/speexresample.c: (setup_speexresample), (cleanup_speexresample), (fail_unless_perfect_stream), (test_perfect_stream_instance), (GST_START_TEST), (test_discont_stream_instance), (live_switch_alloc_only_48000), (live_switch_get_sink_caps), (live_switch_push), (speexresample_suite): Add unit tests for speexresample based on the audioresample unit tests.
2008-10-16tests/check/Makefile.am: Leave apexsink out of the states test.Jan Schmidt1-1/+1
Original commit message from CVS: * tests/check/Makefile.am: Leave apexsink out of the states test.
2008-10-11tests/check/pipelines/metadata.c: Make the metadata test not fail when ↵Jan Schmidt1-1/+4
jpegenc isn't available.... as it isn't here, ... Original commit message from CVS: * tests/check/pipelines/metadata.c: Make the metadata test not fail when jpegenc isn't available.... as it isn't here, because it's not in this module, and therefore not in the plugin path when the check runs.