Commit graph

226 commits

Author SHA1 Message Date
Alessandro Decina
777c1f034f mpegtsmux: add support for force key unit events
Handle force key unit events outputting PAT and PMT when all_headers=TRUE
2011-11-30 08:56:48 +01:00
Tim-Philipp Müller
77361e2919 Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
	ext/opus/gstopusdec.c
	ext/opus/gstopusparse.c
	gst-libs/gst/video/gstbasevideodecoder.c
	gst-libs/gst/video/gstbasevideodecoder.h
2011-11-26 15:37:25 +00:00
Mark Nauwelaerts
d3fda8a644 tests: add unit test for voamrwbenc 2011-11-25 15:52:57 +01:00
Wim Taymans
0a9387c43c Merge branch 'master' into 0.11
Conflicts:
	ext/opus/gstopusdec.c
	ext/opus/gstopusenc.c
	ext/opus/gstopusparse.c
	gst/audiovisualizers/gstwavescope.c
	gst/filter/Makefile.am
	gst/filter/gstfilter.c
	gst/filter/gstiir.c
	gst/playondemand/gstplayondemand.c
2011-11-23 11:08:39 +01:00
Vincent Penquerc'h
ff7375f2e6 opus: add test 2011-11-22 19:08:39 +00:00
Wim Taymans
be20e84e39 tests: fix some tests 2011-10-04 14:27:08 +02:00
Thibault Saunier
705a80d957 codecparser: VC1: Implement a VC1 parsing library 2011-09-26 08:46:37 -03:00
Thibault Saunier
2c928aba19 codecparsers: Declare the new APIs as unstable for the time being 2011-09-26 08:11:45 -03:00
Thibault Saunier
a1cfba43f6 codecparsers: h264: Add an h.264 bitstream parsing library 2011-09-02 15:46:02 +02:00
Thibault Saunier
c64b99339c codecparsers: mpeg: Add an mpeg video bitstream parsing library
Create a new codecparsers library
2011-09-02 15:46:02 +02:00
Vincent Penquerc'h
60442079f3 tests: make camerabin2 test build
https://bugzilla.gnome.org/show_bug.cgi?id=657363
2011-08-25 16:46:58 -03:00
Thiago Santos
011eddcd0e camerabin2: Remove from experimental
Remove camerabin2 from experimental, allowing it to be built
without needing to pass --enable-experimental on configure.
2011-08-23 19:26:31 -03:00
Mark Nauwelaerts
af1fca6d7d tests: add colorspace unit test
Compares colorspace result with ffmpegcolorspace output using SSIM.
Also probes for possible crashes for odd width and height image by applying
all possible colorspace transformations.
2011-06-17 12:26:15 +02:00
Stefan Kost
b6844bc730 tests: add a test for baseaudiovisualizer 2011-06-06 15:25:14 +03:00
Stefan Kost
d8eb9f127f tests: blacklist more sys elements from the state tests
Also wrap the list of blacklisted elements and trim some whitespace.
2011-05-25 23:28:46 +03:00
Mark Nauwelaerts
7751dbb8e1 tests: add unit tests for a number of video parsers 2011-05-25 21:51:56 +02:00
Thiago Santos
5dadb325ae camerabin2: Remove obsolete imagecapturebin
imagecapturebin has been replaced by encodebin, no need
for it anymore
2011-05-16 18:08:41 -03:00
Sebastian Dröge
31a65287a2 voaaenc: Fix CFLAGS/LIBS of the unit test 2011-05-14 12:08:28 +02:00
benjamin gaignard
988516ca63 voaacenc: Add new plugin for audio AAC encoder based on vo-aacenc lib
Add plugin and unit test.

Fixes bug #647748.
2011-05-14 12:08:27 +02:00
Tim-Philipp Müller
6b4e797513 qtmux: remove qtmux plugin, it has moved to -good
https://bugzilla.gnome.org/show_bug.cgi?id=636699
2011-04-13 18:24:37 +01:00
Tim-Philipp Müller
9bfac61f97 Remove audioparsers plugin, it has been moved to -good 2011-04-08 19:34:55 +01:00
David Schleef
9ed93db1d0 logoinsert: Fix memleaks, add test 2011-03-23 21:33:48 -07:00
David Schleef
0b95d97e63 tests: fix baseparse test 2011-02-17 14:43:38 -08:00
Thiago Santos
a715b46c7f camerabin2: Implement tagsetter interface 2011-01-24 14:50:30 -03:00
Thiago Santos
e5f267f682 camerabin2: Removing videorecordingbin
Removing videorecordingbin as we now use encodebin for it
2011-01-24 14:50:29 -03:00
Tim-Philipp Müller
ce83c366fe tests: Makefile.am clean-up
Avoid duplicates GST_CHECK_CFLAGS and GST_OPTIONS_CFLAGS are already in
AM_CFLAGS. Add LDADD instead of GST_CHECK_LIBS for consistency.
2011-01-08 00:32:21 +00:00
Tim-Philipp Müller
0f48601a35 tests: fix CFLAGS and LIBADD order in Makefile.am 2011-01-08 00:17:26 +00:00
Tim-Philipp Müller
a044983745 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:08:11 +00:00
Tim-Philipp Müller
c6c3d9781b selector: move input-selector and output-selector to core
https://bugzilla.gnome.org/show_bug.cgi?id=614306
2010-12-31 01:41:36 +00:00
Tim-Philipp Müller
222be5f0e9 valve: move valve element/plugin to core
https://bugzilla.gnome.org/show_bug.cgi?id=630808
2010-12-31 01:41:18 +00:00
Thiago Santos
7ed49bda4f imagecapturebin: Add another test case
Adds a test case to check if a sequence of buffers with different
caps can be pushed to imagecapturebin and saved correctly
2010-12-23 13:24:56 -03:00
Thiago Santos
72ef18d535 viewfinderbin: Add basic check test
Adds minimum check test. It's not a very useful test, but at least
it allows us to run it under valgrind and check for leaks automatically
2010-12-23 13:24:56 -03:00
Thiago Santos
4938c2e9ea camerabin2: Move basecamerasrc to gst-libs
Move the base camera src class to gst-libs/gst/basecamerabinsrc to
allow it to be included from the tests.
2010-12-23 13:20:31 -03:00
Sebastian Dröge
0df8460419 states: Ignore more vdpau elements in the generic states test 2010-12-19 11:21:27 +01:00
Sebastian Dröge
1ec5ffbfc9 autovideoconvert: Rename and adjust unit test too 2010-12-19 11:21:27 +01:00
Benjamin Gaignard
8b0c2db425 autocolorspace: Add unit test 2010-12-15 21:19:55 +01:00
Thiago Santos
f62e658c10 camerabin2: Only run tests if experimental is enabled
Only run camerabin2 tests and build examples if experimental
plugins are enabled
2010-12-08 15:38:30 -03:00
Thiago Santos
fb497590c7 camerabin2: Adding tests for camerabin2
Adds some basic tests for camerabin2
2010-12-08 15:38:29 -03:00
Thiago Santos
c7bdfa86af tests: camerabin2: adds tests for elements
Adds basic tests for both imagecapturebin and for
videorecordingbin elements
2010-12-08 15:38:29 -03:00
Thiago Santos
138023614e tests: Remove leftover comment
Remove comment that doesn't make sense anymore
2010-12-02 03:09:59 -03:00
David Schleef
a55a94e72b Add a schroenc test 2010-11-30 18:55:25 -08:00
Stefan Kost
c5b0e7c621 make: remove traces or moved/removed plugins 2010-11-22 17:08:05 +02:00
Tim-Philipp Müller
c250417078 tests: add very simple zbar unit test
Not valgrind clean yet (could be zbar's fault though).
2010-11-05 00:23:45 +00:00
Tim-Philipp Müller
90b4ce0b80 tests: fix distcheck a bit more
Dist elements/parser.h header file, which fixes the 'make check' build.
2010-10-20 00:07:01 +01:00
Tim-Philipp Müller
3f463962ec checks: remove variables from Makefile.am that aren't set
Remove some stuff that was copy'n'pasted from core but
doesn't apply here. The following vars aren't set:
CHECK_CFLAGS, CHECK_LIBS, GST_OBJ_CFLAGS, GST_OBJ_LIBS,
so we may just as well remove them.
2010-10-12 15:29:34 +01:00
Thiago Santos
3d28d30f44 tests: valve: Fix tests build
Adds missing cflags/libs to valve check test to
fix build
2010-10-03 23:14:53 -03:00
Mark Nauwelaerts
ecbb2409bc audioparsers: add flacparse unit test
... and tweak parser test helper in the process.
2010-10-01 12:37:22 +02:00
Mark Nauwelaerts
06bfa83d66 audioparsers: add ac3parse and mpegaudioparse unit test 2010-10-01 12:15:51 +02:00
Mark Nauwelaerts
d3e4086f62 audioparsers: refactor existing unit tests using common helper 2010-10-01 12:15:51 +02:00
Olivier Crête
b02b40961e valve: Add unit tests
Add a unit test for the valve element.
2010-09-30 17:44:45 -04:00
Stefan Kost
bc1c9ac18e metadata: remove metadata plugin
This plugins functionality is replaced by utility libraries in base for exif
and xmp. Jpeg images can use this via jpegformat plugin.
Fixes #486659
2010-09-15 18:22:51 +03:00
Stefan Kost
6b8ca06871 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 23:59:17 +03:00
Tim-Philipp Müller
728f5ba5fa Use AG_GST_CHECK_GST_PLUGINS_{GOOD,UGLY,BAD,FFMPEG} macros from common
to find plugin directories for the various modules our unit tests depend
on in an uninstalled environment. This makes sure these plugins are found
even when distchecking (which happens from a subdirectory, which means
that the currently used trick to find the uninstalled directories of
these modules doesn't work in that case).
2010-09-07 20:44:24 +01:00
Thiago Santos
b83839100a jifmux: More tests for exif tags
Refactors some code and add some more tests for exif tags
2010-09-05 09:15:56 -03:00
Tim-Philipp Müller
c64a4fb2c3 checks: blacklist gsettings* elements for generic/states test
When the test is run, the schema file won't be installed yet,
and there doesn't seem to be an environment variable to set
to force GSettings to look in a different directory.

https://bugzilla.gnome.org/show_bug.cgi?id=626603
2010-08-11 12:09:37 +01:00
Jonathan Matthew
76311f2ef0 id3mux: add support for beats-per-minute tag
Write beats per minute into the TBPM frame, and add unit
test for id3mux, based on id3v2mux unit test.

https://bugzilla.gnome.org/show_bug.cgi?id=621523
2010-08-04 23:56:04 +01:00
Sebastian Dröge
68ab7e509c vp8dec: Add simple unit test for vp8dec 2010-07-10 15:46:51 +02:00
Sebastian Dröge
86e5f0e656 vp8enc: Add simple unit test 2010-07-10 15:30:24 +02:00
Tim-Philipp Müller
677ae19bd0 tests: add gst-ffmpeg to whitelist as well
The mxf tests use some ffmpeg elements if they're available.
2010-06-30 18:59:23 +01:00
Tim-Philipp Müller
9dd5dbdc8f tests: add plugin loading whitelist to test environment
Only want to load core/-base/-good/-ugly/-bad plugins here.
2010-06-30 18:53:56 +01:00
Thiago Santos
9ab8959b30 jifmux: Fix tests building
Only build jifmux tests if libexif headers are present
2010-06-11 15:29:43 -03:00
Thiago Santos
c54b5325cb tests: jifmux: Adds jifmux exif tags tests
Adds a basic unit test for jifmux to test that exif tags
are writen properly.

This test uses libexif.

Fixes #614872
2010-06-09 18:06:07 -03:00
David Schleef
47500aadfa tests: Add orc tests to check Makefile 2010-06-02 00:01:19 -07:00
Thiago Santos
997979c046 camerabin: Fix test build
Adds missing -bad cflags to camerabin tests.
2010-05-24 20:03:18 -03:00
Tim-Philipp Müller
bb93d06ca0 Remove imagefreeze plugin/element.
It has been moved to gst-plugins-good.

See #613786.
2010-05-11 14:02:33 +01:00
Tim-Philipp Müller
ee063478ff Remove capssetter element
It has been moved to gst-plugins-good.

See #617739.
2010-05-11 13:08:41 +01:00
Thiago Santos
181c032e2f tests: camerabin: enable camerabin tests
Re-enabling camerabin tests, they are passing.
2010-04-09 09:14:02 -03:00
Sebastian Dröge
a266d0acfa imagefreeze: Add some unit tests 2010-03-12 07:29:58 +00:00
Thiago Santos
52348df33b check: tagschecking: tests for tags serialization in muxers
Adds a check unit test that aims to test tags serialization
and deserialization consistency (in muxers). It provides a
basic function that allows one to easily specify tags, a
muxer and a demuxer and a test will be done to check if
the tags have been consistently muxed and demuxed
2010-03-11 22:44:00 -03:00
Sebastian Dröge
88bd4a8ada assrender: Add simple unit test
This renders a test string on top of a red video stream and checks
if the text is only rendered at the correct timestamps.
2010-02-16 21:43:37 +01:00
Tim-Philipp Müller
0f0a538150 tests: add unit test for dataurisrc
Requires fixes from core git, so bump core requirement to git as well.
2010-02-15 00:56:33 +00:00
Sebastian Dröge
f79842e308 Moved 'shapewipe' from -bad to -good
Fixes bug #584536.
2010-02-12 11:35:17 +01:00
Mark Nauwelaerts
4312ec8b40 faad: add unit test 2010-02-11 22:22:52 +01:00
Arnout Vandecappelle
bb5331e272 jpegparse: new jpeg parser element. FIxes #583098
Parse JPEG images, extracts its metadata, set caps and
packetize an image per buffer.
2010-01-29 11:41:15 +02:00
Edward Hervey
c41fbca13c tests: Add neonhttpsrc to the list of elements ignored for state-change
Setting neonhttpsrc to PAUSED/PLAYING requires a running http server on
localhost.
2010-01-12 17:05:13 +01:00
Olivier Crête
450e44146a tests: Add unit test for rtpmux 2009-10-30 19:08:14 +00:00
Michael Smith
07a086d53f tests: Use GST_PLUGINS_BASE_{CFLAGS,LIBS} for camerabin tests. 2009-10-29 16:42:34 -07:00
Jan Schmidt
1fdaf6e884 autoconvert: Add a simple unit test
Set up an autoconvert with 2 factories, and check that it can switch
between them when the caps change.
2009-10-27 12:23:25 +00:00
Mark Nauwelaerts
d1bcf58f08 capssetter: add unit test 2009-10-08 19:54:20 +02:00
Olivier Crête
461c1727a2 tests: Add test for mimic elements 2009-10-06 18:08:40 -04:00
Mark Nauwelaerts
aa7b9931ba faac: add unit test 2009-09-08 22:32:28 +02:00
Tim-Philipp Müller
5bc1290431 vdpau: blacklist for generic states test, and demote to GST_RANK_NONE
These elements are not fit for autoplugging, so demoting to RANK_NONE.
Also blacklisting for generic states test, since fixing these elements
up to do some minimal error handling seems to be a bit more work.
Partially fixes #591538.
2009-08-12 16:51:21 +01:00
Tim-Philipp Müller
a6912096cd Move rtpmanager from -bad to -good. 2009-08-11 09:30:31 +01:00
Tim-Philipp Müller
240cd1734d checks: disable unit tests that are flaky or don't work with core git
camerabin test seems to time out with core git, so disabling because
chances are the problem is in the test and the core git stuff will
be released before we can fix the code in the test.
neonhttpsrc unit test is a bit flaky, it tends to fail the first
time when called (the host/url it checks for seems to be down as
well/anyway).
2009-08-11 09:00:37 +01:00
Thiago Santos
7fa5cba6f0 asfmux: First basic check unit tests
Adds simple asfmux unit tests, that test pad creation and pushing a
single buffer through them
2009-07-28 22:51:39 -03:00
ogg.k.ogg.k
265b75ca38 kate: fix some minor memory leaks
Makes 'make check-valgrind' work for the kate unit test (#525743)
2009-07-20 23:45:47 +01:00
Tim-Philipp Müller
0d16612717 checks: add kate unit tests to valgrind blacklist for now
And add check binary to ignore list.
2009-07-19 23:30:55 +01:00
Vincent Penquerc'h
e88984ccbd add new Kate plugin, for Kate overlay streams
katedec: Kate decoder (text only)
kateenc: Kate encoder (text and DVD SPU only)
katetag: Kate tagger
kateparse: Kate parser
tiger: Kate renderer using the Tiger rendering library

Fixes #525743.
2009-07-19 16:04:32 +01:00
Branko Subasic
c70dbe94b5 rtpbin: add support for buffer-list
Add support for sending buffer-lists.
Add unit test for testing that the buffer-list passed through rtpbin.

fixes #585839
2009-06-19 19:10:35 +02:00
Stefan Kost
1658384381 camerabin: cleanups in the tests
Sprinkle more logging to make it easier to follow. Specify a low framerate and
capture resolution to avoid tests timing out. Make the sinks sync to test closer
to reality. Fix Makefile to use uninstalled interface.
2009-06-14 10:56:38 +03:00
Jan Schmidt
271788c9ae Moved 'x264enc' from -bad to -ugly 2009-06-05 19:52:40 +01:00
Stefan Kost
4d9a0e832c camerabin: fix link order
Move local version up in the link order.
2009-06-05 21:29:46 +03:00
Sebastian Dröge
7f1c2f3a28 shapewipe: Add unit test for shapewipe 2009-06-01 21:25:13 +02:00
Jan Schmidt
f8fef34fcb states: Ignore the camerabin for the states test
It accesses the video device, which isn't generally desirable for the
state test.
2009-05-26 15:31:51 +01:00
Wim Taymans
300f02af2a tests: add rtpbin unit test
Add the beginnings of an rtpbin unit test
Add some more stuff to .gitignore
2009-05-22 12:23:27 +02:00
Jan Schmidt
48e32a0890 Moved 'y4menc' from -bad to -good 2009-05-16 00:17:00 +01:00
Jan Schmidt
08c3d2b702 check: exclude rsndvdbin from the states test 2009-04-24 14:51:00 +01:00
Sebastian Dröge
96d4ee8086 mxf: Add unit tests for checking if mxfmux ! mxfdemux pipelines are working without errors 2009-04-07 15:50:37 +02:00
Sebastian Dröge
031ecef2f5 mxfmux: Add unit tests 2009-04-02 12:48:38 +02:00
Stefan Kost
6a350e52bf tests: reenable metadata test 2009-03-22 21:02:45 +02:00