Thiago Santos
316091d452
camerabin2: Fix some racyness in tests
...
Fix some racyness as the test was checking the idle property
right after it got the preview message for video recordings. In some
conditions, it might happen that camerabin2 still hasn't decremented
the processing counter after posting the preview and/or the image/video-done
message and the test will get idle=false and fail.
The approach for checking for the idle property was a busy loop with
a sleep. Far from elegant, but good enough for these tests.
2011-11-14 18:39:42 -03:00
Thiago Santos
09d53c8fed
camerabin2: update tests to set post-previews to true
...
Makes most of camerabin2 tests pass again
2011-11-08 07:33:59 -03:00
René Stadler
e922dee30b
tests: h264parse: fix exit code
2011-11-01 12:12:56 +01:00
Thiago Santos
009c440f44
tests: camerabin2: Refactor tests a little
...
Refactor camerabin2 tests a little
2011-09-29 18:21:06 -03:00
Thiago Santos
f6c0e2cd26
tests: camerabin2: adding tests to check for preview message filenames
...
Preview messages now have filenames, add tests to check that they are
correct
2011-09-29 18:21:06 -03:00
Thibault Saunier
a983b29a49
mpegvideoparse: Port to the new mpeg parsing library
2011-09-02 15:46:02 +02:00
Thiago Santos
6b26aa270f
tests: camerabin2: Use audiotestsrc on tests
...
Use audiotestsrc on tests instead of using the system's default
audiosrc, avoiding any problems that a local audio setup might
have.
2011-08-21 18:23:16 -03:00
Thiago Santos
63d79a3aea
tests: camerabin2: Improving tests
...
Adding some additional checks for custom camerabin2 messages
Also improves reliability of the tests by waiting for the preview-buffer message.
This message is generated from the preview pipeline, and might arrive later than the
image/video-done from the main camerabin2 pipeline, the tests need to wait for it even
after getting the image/video-done.
2011-08-21 18:23:16 -03:00
Thiago Santos
84ee1c4d58
tests: camerabin2: Add test for audio-filter property
...
Checks that the audio-filter is properly plugged in the pipeline
and receives buffers when recording a video.
2011-08-13 15:55:35 -03:00
Tim-Philipp Müller
b6723d092c
tests: fix compiler warning in faad unit test
2011-07-29 21:27:28 +01:00
Raluca Elena Podiuc
736aebc37e
tests: camerabin2: fix name of 'image-done' bus message
...
Use the correct bus message for camerabin2 image done and removes
check that is no longer needed for these tests.
2011-07-15 10:01:33 -03:00
Tim-Philipp Müller
04f0b55609
tests: add some more unit test binaries to .gitignore
2011-07-14 14:37:14 +01:00
Thiago Santos
f1fa6c6531
camerabin2: Use a single location for both modes
...
Implement the location property just like it works in camerabin, the
same location is used for both images and videos
2011-06-23 00:05:13 -03:00
Thiago Santos
18f6859037
tests: camerabin2: Adds new test to check image location correctness
...
This new test checks that images are saved with the filename setting
on location on the moment of the start-capture
2011-06-23 00:05:13 -03:00
Stefan Kost
b6844bc730
tests: add a test for baseaudiovisualizer
2011-06-06 15:25:14 +03:00
Thiago Santos
65d74fa2bf
tests: camerabin2: remove unused var
2011-06-02 16:24:03 -03:00
Thiago Santos
cff308eba2
camerabin2: Use full names in properties
...
Improve API by using source instead of src in properties
2011-06-02 16:24:03 -03:00
Sebastian Dröge
9fae436b68
faac: Fix unit test after latest faac changes
2011-05-31 13:09:57 +02:00
Mark Nauwelaerts
7751dbb8e1
tests: add unit tests for a number of video parsers
2011-05-25 21:51:56 +02:00
Mark Nauwelaerts
ca1887d3ec
tests: additional offset tracking in parser test helper
2011-05-25 21:51:55 +02:00
Mark Nauwelaerts
91dd0a4f91
tests: additional parameterization for parser test helper
...
Allow context callbacks to perform custom buffer verification
and custom element setup. Also move some static tracking variables
into helper struct and expose the latter struct for use by unit test
(callbacks).
2011-05-25 21:51:55 +02:00
Víctor Manuel Jáquez Leal
288e001e1f
jpegparse: unit test for APP1/exif & comment parsing
...
https://bugzilla.gnome.org/show_bug.cgi?id=648478
2011-05-25 22:18:10 +03:00
Lasse Laukkanen
466ca5d460
camerabin: Add image-formatter property
...
Add image-formatter property in order to let application configure
the formatter element for metadata.
2011-05-23 12:08:37 -03: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
Alessandro Decina
9e9507b645
camerabin2: use encodebin to encode images
2011-05-16 18:08:40 -03:00
Thiago Santos
ba9c1f055f
tests: camerabin2: Fix set but unused variable warnings
2011-05-16 18:08:39 -03:00
Thiago Santos
0556d121c4
tests: camerabin2: Fix tags setting tests
...
Fixes the tags setting tests to reveal a bug in camerabin2
tag setting logic.
2011-05-16 18:08:39 -03:00
benjamin gaignard
31d408e22e
faac: Detect output format from downstream caps change 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
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