Commit graph

61 commits

Author SHA1 Message Date
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
Martin Pitt
62c608ada2 tests: use _1_0 variants for the various registry variables
These override the variants without version suffix. Makes 'make check' work
properly in environments that set the suffixed variant for 1.0, such as
jhbuild.
2013-01-16 11:14:59 +00: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
Tim-Philipp Müller
5f9a086484 Remove -DGST_USE_UNSTABLE_API 2012-09-17 16:57:30 +01: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
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