Jordan Petridis
995a135df6
amrnbenc: remove global variables
...
gstcheck is declaring its own buffers glist which ends up
overwritten, loks like the code meant to use that already
gcc 10 is also complaining about this, but only on static
builds for some reason
```
FAILED: subprojects/gst-plugins-ugly/tests/check/elements_amrnbenc
/usr/bin/ld: subprojects/gstreamer/libs/gst/check/libgstcheck-1.0.a(gstcheck.c.o):(.bss+0x38): multiple definition of `buffers'; subprojects/gst-plugins-ugly/tests/check/708af1f@@elements_amrnbenc@exe/elements_amrnbenc.c.o:(.bss+0x18): first defined here
collect2: error: ld returned 1 exit status
```
also remove unused var `current_buf`
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/62 >
2020-07-29 08:38:31 +00:00
Mathieu Duponchelle
2a506b48d0
tests/x264enc: Don't declare variables inside the for loop header
...
This is a C99 feature
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/64 >
2020-07-22 17:31:37 +02:00
Jan Alexander Steffens (heftig)
8233ff36e5
tests: x264enc: Test formats are compatible with profile
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/59 >
2020-07-22 10:03:06 +02:00
Jan Alexander Steffens (heftig)
09db0d66b7
tests: x264enc: Test 10-bit formats
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/59 >
2020-07-21 15:41:50 +02:00
Jan Alexander Steffens (heftig)
a612f20120
tests: x264enc: Test all (8-bit) video formats
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/59 >
2020-07-21 15:41:37 +02:00
Tim-Philipp Müller
3cd445a490
Remove autotools build system
2019-10-13 14:19:11 +01:00
Seungha Yang
fe92e92c14
tests: x264enc: Enable test on Windows
...
... with removal of pointless unistd.h dependency.
Note that full dependency listing is required to run unit test
executable binary on Windows uninstalled environment.
2019-07-15 22:46:18 +09:00
Tim-Philipp Müller
908c36eceb
tests: x264enc: fix leak in unit test
...
The static pad templates weren't static so their
contents were leaked. valgrind was not happy.
Also rename confusing define.
2018-09-22 17:34:33 +01:00
Tim-Philipp Müller
83ff57c849
Remove mpg123 plugin, moved to -good
...
https://bugzilla.gnome.org/show_bug.cgi?id=774252
2017-08-20 15:53:50 +01:00
Jan Schmidt
32335ab3e4
mpeg2dec test: Fix expected output caps
...
In the absence of explicit info, video decoders
now output mono multiview caps by default, so make
the expected caps match that
2017-05-19 18:59:17 +02:00
Tim-Philipp Müller
fadda9dba6
tests: add test data for mpg123 plugin
2016-02-16 10:59:12 +00:00
Tim-Philipp Müller
e3bb9b2928
Merge branch 'plugin-move-mpg123'
...
Move mpg123 plugin from -bad to -ugly.
https://bugzilla.gnome.org/show_bug.cgi?id=719849
2016-02-16 10:41:07 +00:00
Tim-Philipp Müller
524c1d23da
tests: fix mpg123audiodec test for big-endian architectures
2016-02-16 10:40:39 +00:00
Sebastian Dröge
592e1cbf5d
mpg123audiodec: Fix event handling in unit test
2016-02-16 10:40:39 +00:00
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
7ceb643b02
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:09:59 +00: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
d24e774074
tests: fix up mpg123 test a little
...
- dist input files
- fix sample leak
- simplify check for elements
- only run mpg123 test if mpg123 is available and selected
- fix build in uninstalled setup
https://bugzilla.gnome.org/show_bug.cgi?id=686595
2012-10-24 13:44:07 +01:00
Carlos Rafael Giani
21bd9a8486
tets: add unit test for mpg123audiodec
...
https://bugzilla.gnome.org/show_bug.cgi?id=686595
2012-10-24 13:43:29 +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
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