Commit graph

513 commits

Author SHA1 Message Date
David Schleef
9ed93db1d0 logoinsert: Fix memleaks, add test 2011-03-23 21:33:48 -07:00
Robert Swain
4b18a73332 gst-camerabin2-test: Fix premature shutdown
We must wait for camerabin2's stop-capture procedures to finish before quitting
the main loop or firing off the next capture. If we get stuck waiting for
camerabin2 to become idle, this is a bug that needs fixing.
2011-03-23 16:50:12 -03: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
Robert Swain
5fd15521e2 basecamerasrc: wrappercamerabinsrc: camerabin2: Expose/add floating point
zoom property
2011-03-11 18:26:43 -03:00
Tim-Philipp Müller
58ca26b0a4 examples: fix LDADD/LIBS path order for camerabin2 example 2011-03-11 10:40:40 +00: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
Teemu Katajisto
0633901dd5 examples: camerabin2: add option for setting the wrapper camera source 2011-03-10 08:42:01 -03:00
Teemu Katajisto
2b9b085460 examples: camerabin2: add encoding profile loading 2011-03-10 08:42:01 -03:00
Thiago Santos
ce45c15200 camerabin2: examples: Allow free image dimensions
Changes the default width/height of captures so that it will
be autopicked by camerabin2 instead of hardcoding an option
2011-03-10 08:42:00 -03:00
Thiago Santos
7847f6497b camerabin2: examples: Backport fix from camerabin example
We should only check if the xwindow should be created if we already
parsed the arguments of the program
2011-03-10 08:42:00 -03:00
Thiago Santos
9473c390e8 camerabin2: examples: Add gst-camerabin2-test
Adds gst-camerabin2-test example application, similar to
gst-camerabin-test for camerabin.

It is useful for taking pictures and recording videos using
camerabin2 and providing arguments for most of camerabin2
properties
2011-03-10 08:42:00 -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
Stefan Kost
99d23b3905 indexing-example: use proper signal names 2011-02-18 15:00:05 +02:00
David Schleef
0b95d97e63 tests: fix baseparse test 2011-02-17 14:43:38 -08:00
Sebastian Dröge
861e06cab8 icles: Completely remove equalizer-test from -bad, it's in -good now 2011-02-16 15:29:29 +01:00
Sebastian Dröge
451bbc4e1b equalizer-test: Initialize debug category after gst_init() to fix segfault 2011-02-16 15:26:44 +01:00
Teemu Katajisto
ab2b9079f0 examples: camerabin: fix --no-xwindow option handling in gst-camerabin-test
--no-window flag is false by default and selection based on the option whether
to create XWindow is done before options are parsed. Therefore XWindow is never
created.

https://bugzilla.gnome.org/show_bug.cgi?id=641712
2011-02-08 09:09:29 -03:00
Stefan Kost
4915493932 camerabin-tests: fix lookup of UI files
These are uninstalled examples. Pass $srcdir to cpp to build the correct
location for the UI file.
2011-02-07 11:28:23 +02: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
97789fa5bc examples: camerabin: add timing printing for preview image
Measure and print the time taken to generate preview image. And
fix a typo
2011-01-24 18:37:12 -03:00
Lasse Laukkanen
10830c9544 examples: camerabin: Don't set default values for GstPhotography interface settings
Don't set any default values for source element GstPhotography interface
settings, source elements should have sane defaults themselves.
Also, setting scene-mode is tricky as it is a superset of other GstPhotography
settings. This might cause problem with defaults e.g. setting scene-mode to
'night' may configure flash-mode as 'on' by definition, and after that
we don't want to override this flash-mode setting with gst-camerabin-test default
value. Moreover, user needs have an option to set scene mode first and then force
some individual setting to a different value from the scene-mode definition.

https://bugzilla.gnome.org/show_bug.cgi?id=639841
2011-01-24 18:05:20 -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
Stefan Kost
d63365fc5b camerabin2: use g_error_free instead of g_free 2011-01-12 16:56:28 +02: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
3bb1d2937f examples: dist camerabin2 example as well
https://bugzilla.gnome.org/show_bug.cgi?id=638604
2011-01-03 23:56:26 +00:00
Tim-Philipp Müller
a197901b82 jack: move plugin to gst-plugins-good
https://bugzilla.gnome.org/show_bug.cgi?id=621929
2011-01-02 15:11:52 +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
87c5c7a08b camerabin2: example: gitignore captured files 2010-12-29 13:24:06 -03: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
Tim-Philipp Müller
f90b8bdfa0 examples: fix gtk3 code path in camerabin example app
Just add rows via the combobox's model, which should work with
both gtk2 and gtk3, instead of using the gtk_combo_box_append_text()
convenience API (which was renamed to gtk_combo_box_text_append_text()).
Fixes compilation against gtk3 (there was a typo in the list store
variable name, spotted by Markus Vartiainen).
2010-12-26 17:12:01 +00: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