Sebastian Dröge
39ae129aa6
wavpack: Remove bus GSource to prevent a valgrind warning
2011-04-18 12:01:07 +02:00
Sebastian Dröge
c8ae803df9
ofa: Remove bus GSource to prevent a valgrind warning
2011-04-18 11:57:15 +02:00
Sebastian Dröge
93454118c6
assrender: Remove bus GSource to prevent a valgrind warning
2011-04-18 11:50:34 +02:00
Thiago Santos
cee2bc7aa0
test: camerabin: More leak fixes
2011-04-15 07:53:43 -03:00
Thiago Santos
3f7ab0b319
tests: camerabin2: Leak fixes for the unit tests
...
Leak fixes related to not removing the source returned from
gst_bus_add_watch
2011-04-14 14:33:00 -03:00
Thiago Santos
8a9a0cd37e
tests: camerabin: Some leak fixes
...
Leak fixes related to removing the source returned from
gst_bus_add_watch
2011-04-14 14:33:00 -03:00
Thiago Santos
bfc4f70f02
tests: jifmux: Adds test for new exposure compensation tag
...
Adds a test for GST_TAG_CAPTURING_EXPOSURE_COMPENSATION on
jifmux check tests.
2011-04-14 00:04:48 -03: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
Stefan Kost
3a4a0c492e
jpeg: set tags to NULL at init time and after freeing them
2011-04-11 18:30:17 +03:00
Stefan Kost
b67454b44e
jpeg: comment and logging changes
2011-04-11 18:29:28 +03: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
Thiago Santos
aa7b962891
camerabin2: Improve idle property usage
...
Use resource warning messages to notify camerabin2 that a capture
as aborted or couldn't be started, making it decrement the
processing counter and making the idle property more reliable.
2011-03-23 16:13:32 -03:00
Thiago Santos
19429aa797
tests: camerabin2: Adds another 'idle' test
...
Adds another test that checks that the idle property works
correctly when bogus start-capture calls are made.
This fails currently, but should remind us of fixing it in
the future by defining a proper error reporting from camera
sources to camerabin2
2011-03-23 16:13:32 -03:00
Thiago Santos
ccd3fd8da5
tests: camerabin2: Sprinkle some 'idle' property checks
...
Adds some checks for 'idle' property in camerabin2 tests
2011-03-23 16:13:32 -03:00
Thiago Santos
8318174cfc
tests: camerabin2: Adds tests for new image capture properties
...
Adds tests to check that changing encoder/muxer for image capture
works
2011-03-23 16:13:32 -03:00
Thiago Santos
1fe76c94f1
tests: camerabin2: Fix number of iteration of tests
...
There are 3 taglist tests, not 2
2011-03-11 18:26:43 -03:00
Thiago Santos
bbfd1c73dd
camerabin2: tests: Update tests to check for audio streams
...
Add a check that resulting recorded video files have audio streams.
2011-03-10 08:56:48 -03:00
Thiago Santos
6526548962
jifmux: tests: Increase bus waiting timeout
...
Double bus waiting timeout as sometimes the test would fail
because it would timeout and get no messages from the bus.
2011-02-24 09:29:51 -03:00
David Schleef
0b95d97e63
tests: fix baseparse test
2011-02-17 14:43:38 -08:00
Thiago Santos
bb0cdda487
tests: camerabin2: Improve preview checking
2011-02-03 19:09:20 -03:00
Thiago Santos
4a7dc81782
tests: camerabin2: preview filter tests
...
Adds tests to the preview-filter property of camerabin2
2011-02-03 19:09:20 -03:00
Thiago Santos
b2a45f6f21
tests: camerabin2: Add tests for custom filters
...
Adds tests to check that custom filters elements receive buffers
2011-02-03 19:09:20 -03:00
Thiago Santos
86ae3777fd
tests: camerabin2: Use the correct for limit
...
There are 3 taglists to be tested, not 2
2011-01-26 14:31:13 -03:00
Thiago Santos
a715b46c7f
camerabin2: Implement tagsetter interface
2011-01-24 14:50:30 -03:00
Thiago Santos
a90f8210bb
tests: camerabin2: Add preview image to tests
...
Adds tests for checking that preview images are posted with
the correct caps on tests
2011-01-24 14:50:29 -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
Thiago Santos
44e500cf7d
camerabin2: tests: Use mainloops
...
Use mainloops instead of sleeps to read bus messages and catch
errors.
2011-01-24 14:50:28 -03:00
Thiago Santos
162383e6b2
tests: camerabin2: imagecapturebin2: fix warnings
...
Warnings passed me by on the last commits to camerabin2 tests,
fixing them.
2011-01-24 11:55:41 -03:00
Thiago Santos
7944a27ee3
tests: camerabin2: Only run a test if -good 0.10.27 is present
...
A camerabin2 tests depends on the commit
dcbba0932d
for jpegenc on -good
that was released on 0.10.27.
This patch makes it check for this version before running the
test.
2011-01-24 11:07:28 -03:00
Thiago Santos
5dbee0c39c
tests: imagecapturebin: Only run a test if -good is 0.10.27 or newer
...
One test on imagecapturebin requires dcbba0932d
on good that was released on 0.10.27.
https://bugzilla.gnome.org/show_bug.cgi?id=640286
2011-01-24 11:07:28 -03:00
Thiago Santos
f59a1d2868
test: qtmux: Tests qtmux reuse
...
Forces the use of qtmux after it has been put to PLAYING and back
to NULL once
https://bugzilla.gnome.org/show_bug.cgi?id=639338
2011-01-14 00:38:56 +00: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
2ba964df49
tests: make git ignore new schroenc test binary
2011-01-08 00:18:17 +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
bfe1e7f8bc
camerabin2: Add tests for video capture
...
Add a test for capturing multiple videos with different resolutions
in a sequence.
2010-12-29 13:24:06 -03:00
Thiago Santos
6e4efe5ad4
camerabin2: Refactor tests
...
Refactor tests case so that the same tests can be run for different
camera sources.
2010-12-23 14:13:53 -03:00
Thiago Santos
65c5b65d6d
tests: gitignore camerabin2 tests
...
Adds more camerabin2 elements tests to gitignore
2010-12-23 13:24:56 -03: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
f10e445995
camerabin2: Small tests update
...
Increases timeout value so that tests won't fail with full
debug output.
Also removes buffer alloc from videotestsrc as this feature
isn't ready on camerabin2
2010-12-23 13:24:56 -03:00
Thiago Santos
1904c1891f
camerabin2: Adds tests for image capture with different caps
...
Adds a test that tries sucessive captures with different caps
2010-12-23 13:24:55 -03:00
Thiago Santos
99210b0a3a
camerabin2: Rename v4l2camerasrc to wrappercamerabinsrc
...
Use a better name for the element that wraps single pad src element
into a 3pad source required by camerabin2.
2010-12-23 13:24:43 -03:00
Thiago Santos
5ce8d0356d
camerabin2: Use videotestsrc on the tests
...
Use videotestsrc to avoid openning the camera device on the tests.
2010-12-23 13:20:36 -03:00
Thiago Santos
4ee773b7dd
camerabin2: Add test for supported caps properties
...
Adds tests for checking that the supported caps properties work
as expected (using the respective pads get caps function)
2010-12-23 13:20:35 -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
Teemu Katajisto
4a28d5f478
camerabin2: add videorecordingbin::video-muxer property
2010-12-23 13:18:58 -03:00
Teemu Katajisto
c76aeb77e5
camerabin2: add videorecordingbin::video-encoder property
2010-12-23 13:18:58 -03:00
Thiago Santos
014b8f97f8
viewfinderbin: Fixes to video-sink handling
...
Handle video-sink more carefully, checking if it should
be already added to the bin, and removing old ones when
replacing.
2010-12-23 13:18:57 -03:00
Teemu Katajisto
89142163b1
camerabin2: add imagecapturebin::image-muxer property
2010-12-23 13:18:57 -03:00
Teemu Katajisto
87e0cbff38
camerabin2: add imagecapturebin::image-encoder property
2010-12-23 13:18:57 -03:00
André Dieb Martins
7c47fc497f
camerabin2: implement viewfinderbin::video-sink property to override default video output
2010-12-23 13:18:56 -03:00
Sebastian Dröge
3c2d4a4b0a
asfmux: Fix buffer leak in the unit test
2010-12-21 17:05:34 +01:00
Thiago Santos
9a2149cf02
camerabin: Fix caps leaks
...
Fix some caps leaks on unit tests
2010-12-20 11:06:52 -03:00
Thiago Santos
bbf331fb6b
jifmux: Fix leaks on check test
...
Fix leaks in jifmux check test
2010-12-20 09:58:18 -03:00
Olivier Crête
bf00fb84f3
tests: Fix leak in autoconvert test
2010-12-19 17:40:12 +05:30
Sebastian Dröge
7326cb5146
tagschecking: Fix some more memory leaks
2010-12-19 12:12:25 +01:00
Sebastian Dröge
16b1b967ad
imagecapturebin: Don't leak message in the unit test
2010-12-19 12:12:12 +01: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
b57405665a
camerabin2: Fix tests capture location creation
...
Fixes capture location creation to use multifilesink location
like strings. E.g. using capture_%d instead of capture_0 to let
camerabin2 handle the %d replacing
2010-12-08 15:38:29 -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
Mark Nauwelaerts
a0e7d6dab4
tests: qtmux: also unit test fragmented file cases
2010-11-19 19:21:38 +01:00
Thiago Santos
60a6eca2a1
camerabin: Adds 'idle' property
...
Adds 'idle', a read-only boolean property that tells applications
if there is any capturing/saving/encoding going on in camerabin. If
not, it is safe to set it to NULL and release resources without
losing data.
2010-11-04 22:48:02 -03:00
Lasse Laukkanen
bc1b09c1c4
camerabin: Add "ready-for-capture" property
...
Add "ready-for-capture" property to indicate if preparing a new
capture is possible.
"ready-for-capture" changes before the 'image-done' signal, so
the application can be notified that it can do a new capture
even before the previous one has finished encoding/saving.
2010-11-04 21:41:07 -03: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
9eb9257cc6
tests: fix valve unit test
...
gst_buffer_pad_alloc() needs simple caps or NULL caps,
ANY caps are not allowed.
2010-10-19 23:40:36 +01:00
Thiago Santos
603a3e6677
tests: jifmux: Adds tests for the new tags
...
Adds tests for the new exif tags in -base
2010-10-18 08:38:19 -03:00
Thiago Santos
06c2987d38
tests: jifmux: update tests to the new datetime api
...
Update jifmux tests to use new gstdatetime API in core
2010-10-13 12:16:07 -03:00
Mark Nauwelaerts
b50abfe738
faac: adjust unit test to faac modified output
2010-10-12 16:36:18 +02: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
Sebastian Dröge
e8341d2129
flacparse: Adjust unit tests to new flacparse behaviour
...
Garbage after frames is now included in the frames because flacparse
has no easy way to detect the real end of a frame. Decoders are
expected to everything after the frame because only decoding the
bitstream will reveal the real end of the frame.
Fixes bug #631814 .
2010-10-12 10:31:42 +02:00
Tim-Philipp Müller
669425c4c0
.gitignore: ignore more unit test binaries
2010-10-05 11:45:00 +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
329fe7f377
tests: Fix caps leak in the valve test
2010-09-30 17:48:35 -04: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
Thiago Santos
19981f2787
camerabin: Change zoom property from int to float
...
Updates zoom property for a more natural type and
makes it consistent with the photography API
2010-09-20 18:26:48 -03:00
Teemu Katajisto
e0dae09731
tests: camerabin: remove photoiface property/settings tests
...
Fixes #616923
2010-09-20 18:26:48 -03:00
Thiago Santos
544eb38aef
camerabin: Adds a new test to check sequential capture of images
...
Adds a new test case that shoots a sequence of image capture
and check that the files are valid.
Also adds taglist checking capabilities to tests.
2010-09-16 16:57:57 -03:00
Stefan Kost
9f375c5fdb
tests: add missing stdio include
2010-09-15 18:22:51 +03: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
4cdcba665c
tests: jifmux: Adds tests for new ppi tags
...
Adds tests to check if libexif can read our
EXIF_TAG_X/Y_RESOLUTION tags.
2010-09-07 10:26:29 -03:00
Thiago Santos
a40270a054
camerabin: Refactor tests
...
The tests were done in 2 steps, first there was a suite
that generated the files (while checking that camerabin
was operating correctly). Then there was a second suite
that was run to check that all files were playable with
playbin2. Those second tests were not being run because
they were checking if camerabin was initialized, and it
never was as those tests didn't use a 'setup' function.
This commit refactors the tests by removing this second
suite and merging its validation with the first suite's
functions.
2010-09-05 09:15:56 -03:00
Thiago Santos
70786470e8
tests: jifmux: Adds geo location tags tests
...
Adds some more tests for geo location tags.
Also use libexif constants for the exif tags' ids.
2010-09-05 09:15:56 -03:00
Thiago Santos
a12a23e498
tests: jifmux: Refactor testing code a little
...
Refactor testing code to allow testing for cases where the
same gstreamer tag is mapped to multiple exif tags.
2010-09-05 09:15:56 -03:00