Commit graph

41 commits

Author SHA1 Message Date
Sebastian Dröge
7653bf6324 amrnbenc: Fix various compiler warnings in the test 2015-12-24 14:48:50 +01:00
Sebastian Dröge
81b695bb01 x264enc: Fix various compiler warnings in the test 2015-12-24 14:48:38 +01:00
Edward Hervey
fe14a23327 check: Use GST_CHECK_MAIN () macro everywhere
Makes source code smaller, and ensures we go through common initialization
path (like the one that sets up XML unit test output ...)
2015-06-02 16:31:10 +02:00
Olivier Crête
b82703170a x264enc: Implement getcaps that restricts the input format depending on the output profile
Also add some x264enc profile tests

https://bugzilla.gnome.org/show_bug.cgi?id=708326
2013-09-18 19:33:01 -04:00
Sebastian Dröge
e29d352f77 tests: Fix event handling 2013-05-13 13:19:27 +02:00
Sebastian Dröge
2b3b7ea810 xingmux: Fix unit test after change to correctly calculate number of frames 2012-11-16 13:32:00 +01:00
Tim-Philipp Müller
9c690b2018 Fix FSF address
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-03 20:40:37 +00:00
Wim Taymans
49f5cb7d76 rename some caps and elements in examples 2012-09-14 16:28:54 +02:00
Olivier Crête
32a15afb81 x264enc test: x264enc produces constrained-baseline, not the full baseline 2012-09-11 16:48:51 -04:00
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
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
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
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
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
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
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
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
Wim Taymans
f1dd335024 tests/check/elements/amrnbenc.c: Init memory before feeding it to the encoder to make the valgrind test succeed.
Original commit message from CVS:
* tests/check/elements/amrnbenc.c: (push_data):
Init memory before feeding it to the encoder to make
the valgrind test succeed.
2006-06-12 13:49:42 +00:00
Thomas Vander Stichele
566525df79 add test for amrnbenc, enable test infrastructure, and fix a leak
Original commit message from CVS:
add test for amrnbenc, enable test infrastructure, and fix a leak


* common/check.mak:
allow for specifying more than one suppressions file in SUPPRESSIONS
* Makefile.am:
* tests/Makefile.am:
* tests/check/.cvsignore:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* configure.ac:
add tests/check
* tests/check/gst-plugins-ugly.supp:
add suppressions for libs used by -ugly
* tests/check/elements/amrnbenc.c: (buffer_new), (buffer_unref),
(setup_amrnbenc), (cleanup_amrnbenc), (push_data),
(GST_START_TEST), (amrnbenc_suite), (main):
add a simple test for encoding amr
* ext/amrnb/amrnbenc.c: (gst_amrnbenc_init):
fix pad template leaks
2006-04-10 14:47:11 +00:00