Commit graph

447 commits

Author SHA1 Message Date
Thiago Santos
9a2149cf02 camerabin: Fix caps leaks
Fix some caps leaks on unit tests
2010-12-20 11:06:52 -03:00
Thiago Santos
bbf331fb6b jifmux: Fix leaks on check test
Fix leaks in jifmux check test
2010-12-20 09:58:18 -03:00
Olivier Crête
bf00fb84f3 tests: Fix leak in autoconvert test 2010-12-19 17:40:12 +05:30
Sebastian Dröge
7326cb5146 tagschecking: Fix some more memory leaks 2010-12-19 12:12:25 +01:00
Sebastian Dröge
16b1b967ad imagecapturebin: Don't leak message in the unit test 2010-12-19 12:12:12 +01:00
Sebastian Dröge
0df8460419 states: Ignore more vdpau elements in the generic states test 2010-12-19 11:21:27 +01:00
Sebastian Dröge
1ec5ffbfc9 autovideoconvert: Rename and adjust unit test too 2010-12-19 11:21:27 +01:00
Benjamin Gaignard
8b0c2db425 autocolorspace: Add unit test 2010-12-15 21:19:55 +01:00
Thiago Santos
f62e658c10 camerabin2: Only run tests if experimental is enabled
Only run camerabin2 tests and build examples if experimental
plugins are enabled
2010-12-08 15:38:30 -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
397f7fcceb examples: camerabin2: Print more info
Add some printing for error/eos cases.
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
Thiago Santos
c7bdfa86af tests: camerabin2: adds tests for elements
Adds basic tests for both imagecapturebin and for
videorecordingbin elements
2010-12-08 15:38:29 -03:00
Thiago Santos
8fb8822532 examples: Adds camerabin2 example
Adds gtk camerabin2 example app
2010-12-08 15:38:27 -03:00
Stefan Kost
a8c488aefa output-selector-test: don't hardcode videosinks and use more colorspace conv.
Use autovideosink instead of hardcoded sinks. Use an additional colorspace
converter between videotestsrc and timeoverlay.
2010-12-08 17:39:11 +02:00
Thiago Santos
138023614e tests: Remove leftover comment
Remove comment that doesn't make sense anymore
2010-12-02 03:09:59 -03:00
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