Commit graph

431 commits

Author SHA1 Message Date
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
Lasse Laukkanen 6867ec5627 examples: camerabin: Remove gstring leak
Simplify gst-camerabin-test by removing GString and replacing
with gchar for the filename handling. Also removes a leak of
the GString data.
2010-11-08 11:07:17 -03:00
Lasse Laukkanen fe22a3ab5a examples: add async bus handler to gst-camerabin-test
Splits the bus handler into sync and async, keeping the
prepare-xwindow handling at the sync for faster handling and
moving the others to the async handler
2010-11-08 08:56:15 -03: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
Teemu Katajisto 4503a85d54 examples: camerabin: add support for setting many post-processing elements
Instead of taking a single element as input for the image post
processing option, take a list of comma separated elements
that will be used.
2010-11-02 09:16:44 -03: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 18f38a747a examples: Fix compilation with GTK+ 3.0 2010-10-12 12:11:37 +02: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 55ad3f8816 camerabin: example: make gst-camera use flags
Enable all convertion flags in gst-camera example app
for safety.

Fixes #603063
2010-09-22 23:54:46 -03:00
Thiago Santos 657e80b108 camerabin: examples: do not use deprecated GstXOverlay functions
Replace the deprecated gst_x_overlay_set_xwindow_id with
gst_x_overlay_set_window_handle

Fixes #630255
2010-09-21 10:59:42 -03:00
Sebastian Dröge f96df5c17a pitch-test: Don't use deprecated GstController API 2010-09-21 12:26:37 +02:00
Lasse Laukkanen 5c92dc23cc camerabin: update tag names in test application to latest gst definitions 2010-09-20 18:26:49 -03: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 9bace27300 examples: camerabin: use photoiface properties through video-source
Fixes #616923
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
Teemu Katajisto 638f681f83 examples: camerabin: add --no-xwindow option and fix option handling
Add --no-xwindow option to not to create xwindow. Also fix zoom and
mute option types and filename string handling.
2010-09-20 18:26:47 -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
Tim-Philipp Müller cc705ed7dc tests: fix distcheck by disting new jack example directory
Also add test binary to ignores.
2010-09-07 00:20:56 +01:00
Tristan Matthews 62634b48ed examples: add test to demonstrate jack_client_t usage 2010-09-07 00:33:49 +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
Thiago Santos b83839100a jifmux: More tests for exif tags
Refactors some code and add some more tests for exif tags
2010-09-05 09:15:56 -03:00
Sebastian Dröge 940d253b78 camerabin: Don't install gst-camera.ui
The examples are not meant to be installed and the executables of
them are not installed anyway.

Fixes bug #627918.
2010-08-30 15:20:08 +02:00
Tim-Philipp Müller c64a4fb2c3 checks: blacklist gsettings* elements for generic/states test
When the test is run, the schema file won't be installed yet,
and there doesn't seem to be an environment variable to set
to force GSettings to look in a different directory.

https://bugzilla.gnome.org/show_bug.cgi?id=626603
2010-08-11 12:09:37 +01:00
Tim-Philipp Müller c41bcef85d checks: skip jifmux tests if required elements aren't available
This commit is out of sequence, it really belongs between commits
1509833141 (Automatic update of
common submodule) and dd26f378b0
(configure: Fix the CELT checks to ...)
2010-08-11 11:34:55 +01:00
Tim-Philipp Müller 49ce307cb7 checks: skip id3mux unit tests that need id3demux if id3demux is not available 2010-08-08 12:46:01 +01:00
Tim-Philipp Müller 640a1ff0e8 neonhttpsrc: add "cookies" property
Based on patch by: Sameer Naik

https://bugzilla.gnome.org/show_bug.cgi?id=625174
2010-08-06 10:44:24 +01:00
Tim-Philipp Müller 24ab5a4708 .gitignore: ignore more unit test binaries 2010-08-04 23:56:04 +01:00