Commit graph

11 commits

Author SHA1 Message Date
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
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
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
André Dieb Martins
7c47fc497f camerabin2: implement viewfinderbin::video-sink property to override default video output 2010-12-23 13:18:56 -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