Teemu Katajisto
779330a6e5
camerabin: update unit tests
...
Add testing of setting and getting of camerabin property elements and
add post-processing elements to pipeline.
2010-04-13 12:00:34 -03:00
Teemu Katajisto
3ff50bf133
camerabin: add unit tests for setting different flags when capturing
...
Adds some tests that use flags for capturing to asure it works
with flags set or not.
2010-04-13 12:00:34 -03:00
Teemu Katajisto
78e41a24d3
camerabin: add paused video capture file validity check in unit test
...
Also check that the file captured in the paused capture unit test is
playable.
2010-04-13 12:00:33 -03:00
Lasse Laukkanen
16cff06a70
camerabin: add viewfinder-filter property
...
Adds a new property called viewfinder-filter to camerabin.
This property is used to add a filter to process the video
flow right before the viewfinder sink.
Also updates test to check property exists.
2010-04-13 12:00:33 -03:00
Lasse Laukkanen
3b788bac25
camerabin: set videotestsrc pattern to white in unit test
...
Lower complexity of encoding and videotestsrc redrawing in order
to prevent unit test timeouts.
2010-04-13 12:00:32 -03:00
Teemu Katajisto
eb3fb87710
camerabin: New unit tests
...
Add unit tests for camerabin properties setting and getting,
adds one for video capturing with pause.
Also does some c99 variable declaration fixes.
2010-04-13 12:00:32 -03:00
Shenghua Liu
3b6faa6404
camerabin: update unit test to have test on recording snapshot preview
...
Adds a small check to verify that the preview image message is
being sent on video recording.
2010-04-13 12:00:31 -03:00
Benjamin Otte
f96e4f1581
Add -Wmissing-declarations -Wmissing-prototypes to configure flags
...
And fix all warnings
2010-03-21 21:39:18 +01:00
Teemu Katajisto
23bcd2d766
camerabin: use raw audio/video in unit tests
...
Removes dependency to ogg/vorbis/theora when running camerabin
unit tests.
2009-10-29 11:43:10 +02:00
Teemu Katajisto
f058bd79bd
camerabin: fix for gstreamer core unit test framework update
...
Set camerabin state to NULL in the each test case end.
2009-10-24 15:14:26 +03:00
Stefan Kost
8c0203ec36
camerabin: remove abbreviations from the property names. Fixes #573370 (partialy)
...
Also rename their use in tests and examples.
2009-10-24 15:14:26 +03:00
Stefan Kost
8f1b3d3ec2
camerabin: debug log only change
2009-06-22 22:01:22 +03:00
Stefan Kost
b1367a95ca
camerabin: more cleanup in tests
...
Add more debug logging. Remove unused mutex and cond.
2009-06-22 13:41:16 +03: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
Lasse Laukkanen
6a47f6f594
camerabin: preview image sending optimization
...
* decouple image capturing from image post-processing and encoding
* post image-captured message after image is captured
* post preview-image message with snapshot of captured image
2009-06-05 15:51:31 +03:00
Lasse Laukkanen
65ddcd6d5d
camerabin: change img-done signal parameter from GString* to const gchar*
...
Don't allow setting filename via img-done signal parameter but force app
use filename property. Don't stop capture when setting filename property.
Update check unit test based on the change.
2009-04-16 15:19:20 +03:00
Jan Schmidt
81a950ddf8
camerabin: Make the tests pass when the camerabin can't initialise.
...
The camerabin tests were throwing glib errors and hanging when
gst-plugins-good elements (jpegenc, videocrop) can't found.
2009-03-07 00:31:07 +00:00
Stefan Kost
fab9dfa5d0
camerabin: rework signaling and tests
...
Revert the GString change. There are no marshallers for it. A better change is
now described in http://bugzilla.gnome.org/show_bug.cgi?id=573370 .
Test should work again.
2009-02-27 12:35:14 +02:00
Stefan Kost
2879426a82
camerabin: increase timeout and lower video recording length
...
The video was recorded for too long for the test timeouts. Also the verification
suite did not had custom timouts at all. Also split the verification for images
and video to get better reporting.
2009-02-25 15:25:58 +02:00
Stefan Kost
293715f77a
camerabin: get rid of // comment and explain
2009-02-25 11:00:55 +02:00
Stefan Kost
5442a630ef
camerabin: update check unit test
...
Use playbin2 for validation. Use tmp_dir for capturing. Wait with g_cond for
burst capture finish. Cleanup some g_object_set. Add some logging to ease
tracing.
2009-02-25 10:46:10 +02:00
Nokia Corporation
d92f2b89f5
tests: Add camerabin unit tests.
2009-02-09 10:22:09 +02:00