Commit graph

54 commits

Author SHA1 Message Date
Mark Nauwelaerts
f12ee2cbe7 tests: mpeg2dec: initialize variable
... which avoids test segfaulting.
2012-09-06 14:42:51 +02:00
Edward Hervey
185b625bf9 check: Feed parsed data to mpeg2dec
And fix the expected output caps by adding colorimetry field
2012-08-30 16:26:00 -07:00
Sebastian Dröge
2ec36a9c0a elements: Use gst_pad_set_caps() instead of manual event fiddling 2012-06-08 15:55:42 +02:00
Sebastian Dröge
9e5a55a70f gst: Update versioning 2012-04-04 14:38:53 +02:00
Mark Nauwelaerts
336c76cb11 tests: make more valgrind-friendly and plug caps leak 2012-03-29 17:32:08 +02:00
Mark Nauwelaerts
0a69cc27a6 tests: x264enc: adjust test to removal of deprecated properties 2012-03-27 14:07:40 +02:00
Wim Taymans
a9b7e39c24 tests: fix after memory changes 2012-03-21 13:18:35 +01:00
Wim Taymans
cb976a9ffa mpeg2dec: fix test a bit more
Still broken because cropping is broken in mpeg2dec
2012-02-07 18:56:23 +01:00
Wim Taymans
20de8b3ebd tests: fix some tests 2012-02-07 11:06:29 +01:00
Wim Taymans
bc3c7aa05e tests: make tests compile 2012-01-04 10:33:27 +01:00
Tim-Philipp Müller
7bff5df357 tests: disable generic index test 2011-12-30 18:31:32 +00:00
René Stadler
97b70cae70 tests: update for gstcheck API change 2011-11-24 21:48:55 +01:00
Tim-Philipp Müller
09675d7a8e tests: port mpeg2dec to 0.11
It compiles, but fails.
2011-11-12 20:44:23 +00:00
Tim-Philipp Müller
4f3345531f tests: port x264enc unit test to 0.11
Well, it compiles now at least.
2011-11-12 20:33:03 +00:00
Tim-Philipp Müller
c5838071d5 tests: port amrnbenc test to 0.11 2011-10-30 15:05:56 +00:00
Tim-Philipp Müller
2eca34cb93 tests: need to define GST_USE_UNSTABLE_API to avoid warnings 2011-10-30 15:03:29 +00:00
Tim-Philipp Müller
2a755f15af lame: remove lame element, it's been superseded by lamemp3enc 2011-10-30 13:47:26 +00:00
Sebastian Dröge
e7425b898c amrnbenc: Use complete raw audio caps in the test 2011-09-07 14:36:46 +02:00
Olivier Crête
e595cdc311 tests: Test x264enc profiles from the caps
https://bugzilla.gnome.org/show_bug.cgi?id=644233
2011-07-12 16:51:51 -04:00
Tim-Philipp Müller
7ad6c5e2a6 tests: add suppression for lame unit test 2011-04-19 17:26:42 +01:00
Tim-Philipp Müller
a64522e886 tests: add generic index-setting test 2011-04-19 17:11:33 +01:00
Tim-Philipp Müller
7551d102f8 tests: add unit test for lamemp3enc negotiation issue
https://bugzilla.gnome.org/show_bug.cgi?id=641151
2011-02-03 18:27:05 +00:00
Tim-Philipp Müller
f6577d3890 tests: never disable g_assert() and cast checks for the unit tests
The unit tests are riddled with g_assert() and friends, make sure we
don't disable assert and cast checks for the unit tests even if
this has been specified for the rest of the code base, e.g. via
--disable-glib-asserts
2011-01-08 00:35:08 +00:00
Wim Taymans
ffd22c9184 check: don't use deprecated method 2010-12-07 15:39:32 +01:00
Stefan Kost
8623c31bae tests: allow running state tests for all elements
Now one can use GST_NO_STATE_IGNORE_ELEMENTS=1 make generic/states.check
to try elements that would normaly be skipped.
2010-09-09 22:33:36 +03:00
Tim-Philipp Müller
dc89edfdc6 tests: add plugin loading whitelist to test environment
Only want to load core/-base/-ugly plugins here.
2010-06-30 18:45:49 +01:00
Mark Nauwelaerts
6ebb4e0fed x264enc: adaptive NALU type checking
In particular, be less picky about SEI NALU order, which makes test more
robust with respect to changes in libx264.

See also #615410.
2010-04-19 10:39:36 +02:00
Thiago Santos
96ee17e7b6 x264enc: Replace 'avc-sample' with 'avc' in caps
In the element and in its tests

Fixes #606662
2010-03-01 17:48:18 -03:00
Tim-Philipp Müller
09d493f21d x264enc: add caps check to x264enc unit test
Add some minimal caps checking to x264enc unit test.

See #610089.
2010-02-16 14:10:38 +00:00
Sebastian Dröge
487b3b06e7 mpeg2dec: Fix unused variables compiler warnings in unit test 2009-07-19 15:34:30 +02:00
Jan Schmidt
c111e03e78 gitignore: Ignore some built files in the test area 2009-06-05 19:48:28 +01:00
Jan Schmidt
5e176f4b0c Moved 'x264enc' from -bad to -ugly 2009-06-05 19:25:54 +01:00
Mark Nauwelaerts
533dfb30c8 [MOVED FROM BAD 14/28] Add documentation and unit test for x264enc.
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:
* ext/x264/gstx264enc.c:
* tests/check/Makefile.am:
* tests/check/elements/x264enc.c: (setup_x264enc),
(cleanup_x264enc), (GST_START_TEST), (x264enc_suite), (main):
Add documentation and unit test for x264enc.
2009-06-05 18:48:24 +01:00
Tim-Philipp Müller
146cc7c825 checks: fix mpeg2dec unit test again after interlace addition to caps 2009-05-13 01:46:00 +01:00
Stefan Kost
1992a43350 tests/check/Makefile.am: Blacklist cdiocddasrc from state-change tests. Fixes #558277.
Original commit message from CVS:
* tests/check/Makefile.am:
Blacklist cdiocddasrc from state-change tests. Fixes #558277.
2008-10-30 14:50:41 +00:00
Jan Schmidt
add2565a76 tests/check/Makefile.am: Exclude dvdreadsrc from the states test too.
Original commit message from CVS:
* tests/check/Makefile.am:
Exclude dvdreadsrc from the states test too.
2008-02-18 20:40:29 +00:00
Sebastian Dröge
cfcd418583 ext/lame/gstlame.c: Don't leak the allowed caps.
Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_setup):
Don't leak the allowed caps.
* tests/check/pipelines/lame.c: (GST_START_TEST):
Stop leaking all buffers. Fixes bug #515575.
2008-02-11 09:13:33 +00:00
Jan Schmidt
18df8e3250 Move xingmux from -bad.
Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-ugly-plugins-docs.sgml:
* docs/plugins/gst-plugins-ugly-plugins-sections.txt:
* docs/plugins/inspect/plugin-mpegaudioparse.xml:
* gst/mpegaudioparse/Makefile.am:
* gst/mpegaudioparse/gstmpegaudioparse.c:
* gst/mpegaudioparse/gstxingmux.c:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
Move xingmux from -bad.
2008-02-08 00:36:51 +00:00
Sebastian Dröge
bb56fbeed4 Add documentation for the xingheader plugin.
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:
* gst/xingheader/gstxingmux.c:
* gst/xingheader/gstxingmux.h:
Add documentation for the xingheader plugin.
* tests/check/elements/xingmux.c: (GST_START_TEST):
Set element state to PLAYING before doing something else.
2008-01-23 10:34:40 +00:00
Sebastian Dröge
79031308ad tests/check/: Add simple unit test for the xingmux element.
Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/xingmux.c: (setup_xingmux),
(cleanup_xingmux), (GST_START_TEST), (xingmux_suite), (main):
* tests/check/elements/xingmux_testdata.h:
Add simple unit test for the xingmux element.
* gst/xingheader/gstxingmux.c: (generate_xing_header),
(gst_xing_mux_finalize), (xing_reset):
Fix a memleak and invalid seek tables with less than 100 MP3 frames.
2008-01-23 10:11:44 +00:00
Thomas Vander Stichele
7681d6ac4b ext/lame/gstlame.c: Allow fixing the sample rate lame converts to by negotiating fixed sample rate on the src pad caps.
Original commit message from CVS:
* ext/lame/gstlame.c:
Allow fixing the sample rate lame converts to by negotiating fixed
sample rate on the src pad caps.
Add docs for it.
* tests/check/Makefile.am:
* tests/check/pipelines/lame.c:
Add a check for it.
2007-09-24 10:26:21 +00:00
Stefan Kost
2c13636c7c gst/iec958/ac3iec.c: Chainup in finalize.
Original commit message from CVS:
* gst/iec958/ac3iec.c:
Chainup in finalize.
* tests/check/Makefile.am:
* tests/check/generic/states.c:
Improved state change unit test.
2007-09-20 11:47:52 +00:00
Stefan Kost
79020ded79 Ignore registries in any format.
Original commit message from CVS:
* docs/plugins/.cvsignore:
* tests/check/.cvsignore:
Ignore registries in any format.
2007-09-19 18:20:41 +00:00
Stefan Kost
8c6366e3c3 tests/check/: Add generic state-change test suite to help to fi leaks.
Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/generic/.cvsignore:
* tests/check/generic/states.c:
Add generic state-change test suite to help to fi leaks.
2007-08-16 06:48:13 +00:00
Jan Schmidt
0a7fe9557b Remove bogus check for libcheck, since we check for gstreamer-check and it pulls in the required info from and we wer...
Original commit message from CVS:
* Makefile.am:
* configure.ac:
* tests/Makefile.am:
Remove bogus check for libcheck, since we check for
gstreamer-check and it pulls in the required info from
and we weren't actually _using_ the information for
libcheck ourselves anyway.
2007-07-13 16:46:35 +00:00
Stefan Kost
46e76ef87d tests/check/elements/amrnbenc.c: and fix compilation of this test
Original commit message from CVS:
* tests/check/elements/amrnbenc.c: (setup_amrnbenc),
(cleanup_amrnbenc):
and fix compilation of this test
2006-12-22 13:06:24 +00:00
Stefan Kost
687a8de8f6 tests/check/elements/: re-apply as it was -bad and not -ugly that is frozen, doh
Original commit message from CVS:
* tests/check/elements/amrnbenc.c: (setup_amrnbenc),
(cleanup_amrnbenc):
* tests/check/elements/mpeg2dec.c: (setup_mpeg2dec),
(cleanup_mpeg2dec):
re-apply as it was -bad and not -ugly that is frozen, doh
2006-12-22 12:41:52 +00:00
Stefan Kost
5e564d0a7b tests/check/elements/: revert my freeze breakage
Original commit message from CVS:
* tests/check/elements/amrnbenc.c: (setup_amrnbenc),
(cleanup_amrnbenc):
* tests/check/elements/mpeg2dec.c: (setup_mpeg2dec),
(cleanup_mpeg2dec):
revert my freeze breakage
2006-12-21 12:50:00 +00:00
Stefan Kost
9a9c15cec3 gst/asfdemux/gstasfdemux.c: add a comment about a future change
Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c:
(gst_asf_demux_get_gst_tag_from_tag_name),
(gst_asf_demux_process_ext_content_desc):
add a comment about a future change
* tests/check/elements/amrnbenc.c: (setup_amrnbenc),
(cleanup_amrnbenc):
* tests/check/elements/mpeg2dec.c: (setup_mpeg2dec),
(cleanup_mpeg2dec):
consistent pad (de)activation
2006-12-21 08:16:41 +00:00
Sebastian Dröge
dc26edbddf ext/mpeg2dec/gstmpeg2dec.c: Fix minor memleak when creating pads from static pad templates (#369627).
Original commit message from CVS:
Patch by: Sebastian Dröge  <slomo@circular-chaos.org>
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_init):
Fix minor memleak when creating pads from static pad templates (#369627).
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/mpeg2dec.c: (setup_mpeg2dec),
(cleanup_mpeg2dec), (GST_START_TEST), (mpeg2dec_suite), (main):
Add unit tests for mpeg2dec (#369627).
2006-11-15 11:41:39 +00:00