Commit graph

444 commits

Author SHA1 Message Date
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
Jonathan Matthew
76311f2ef0 id3mux: add support for beats-per-minute tag
Write beats per minute into the TBPM frame, and add unit
test for id3mux, based on id3v2mux unit test.

https://bugzilla.gnome.org/show_bug.cgi?id=621523
2010-08-04 23:56:04 +01:00
Sebastian Dröge
6089bfd36a examples: Use cairo instead of gdk_draw_* API
Fixes bug #625003.
2010-07-22 09:21:33 +02:00
Sebastian Dröge
68ab7e509c vp8dec: Add simple unit test for vp8dec 2010-07-10 15:46:51 +02:00
Sebastian Dröge
a8d22a70cd vp8enc: Improve unit test a bit 2010-07-10 15:46:43 +02:00
Sebastian Dröge
bd4ed511c5 vp8enc: Also check the output caps in the unit test 2010-07-10 15:32:29 +02:00
Sebastian Dröge
86e5f0e656 vp8enc: Add simple unit test 2010-07-10 15:30:24 +02:00
Mark Nauwelaerts
8f1f15e488 tests: fix caps leak in jpegparse unit test 2010-07-05 11:54:28 +02:00
Tim-Philipp Müller
677ae19bd0 tests: add gst-ffmpeg to whitelist as well
The mxf tests use some ffmpeg elements if they're available.
2010-06-30 18:59:23 +01:00
Tim-Philipp Müller
9dd5dbdc8f tests: add plugin loading whitelist to test environment
Only want to load core/-base/-good/-ugly/-bad plugins here.
2010-06-30 18:53:56 +01:00
Sebastian Dröge
a189cef9c8 tests: Fix build with GTK+ < 2.17.7
gtk_widget_get_allocation() was added in that version.
2010-06-27 10:41:16 +02:00
Sebastian Dröge
4b22f8c136 configure: Require GTK+ >= 2.14 for the example 2010-06-27 10:36:58 +02:00
Sebastian Dröge
44b9b422d8 tests: Don't use deprecated GTK API to fix the build with GTK+ 3.0 2010-06-27 07:40:50 +02:00
Thiago Santos
9334e8733c jifmux: Adds image orientation tags tests
Adds tests for image orientation tags to jifmux
2010-06-23 12:05:47 -03:00
Sebastian Dröge
85d3c03d26 configure: Require GLib 2.20 2010-06-14 17:01:03 +02:00
Thiago Santos
9ab8959b30 jifmux: Fix tests building
Only build jifmux tests if libexif headers are present
2010-06-11 15:29:43 -03:00
Thiago Santos
c54b5325cb tests: jifmux: Adds jifmux exif tags tests
Adds a basic unit test for jifmux to test that exif tags
are writen properly.

This test uses libexif.

Fixes #614872
2010-06-09 18:06:07 -03:00
Olivier Crête
55c3190dfb tests: Change tests to not use the priority pads instead of the events 2010-06-02 20:47:08 -04:00
Olivier Crête
68df62aa55 rtpmux: Aggregate incoming segments 2010-06-02 20:47:07 -04:00
David Schleef
106cf3cdd6 cog: remove old tests 2010-06-02 00:01:19 -07:00
David Schleef
47500aadfa tests: Add orc tests to check Makefile 2010-06-02 00:01:19 -07:00
Thiago Santos
997979c046 camerabin: Fix test build
Adds missing -bad cflags to camerabin tests.
2010-05-24 20:03:18 -03:00
David Schleef
c3d4977761 Split out GST_PLUGINS_BAD_CFLAGS from GST_CFLAGS
Move include directives for gst-libs into GST_PLUGINS_BAD_CFLAGS,
and fix all the Makefiles that use it.  This is so that all the
include directories are added in the proper order: first the
directories in srcdir/builddir, then gst-plugins-base dirs, then
gstreamer dirs.  If the order is wrong, installed headers may be
used instead of local headers and/or uninstalled headers from -base.
2010-05-19 18:24:02 -07:00
Benjamin Otte
1e399b9838 examples: Don't install camerabin examples 2010-05-15 01:23:36 +02:00
Tim-Philipp Müller
e800ba112b Remove oss4 plugin
It has been moved to gst-plugins-good.

See #614305.
2010-05-11 19:08:45 +01:00
Tim-Philipp Müller
bb93d06ca0 Remove imagefreeze plugin/element.
It has been moved to gst-plugins-good.

See #613786.
2010-05-11 14:02:33 +01:00
Tim-Philipp Müller
b744bad089 tests: don't fail tagschecking test if qtdemux is not available or too old 2010-05-11 13:15:37 +01:00
Tim-Philipp Müller
ee063478ff Remove capssetter element
It has been moved to gst-plugins-good.

See #617739.
2010-05-11 13:08:41 +01:00
Sebastian Dröge
96b296e6b6 scaletempo: Don't use deprecated GTK symbols in the demo 2010-05-11 10:01:23 +02:00
Sebastian Dröge
3ed0c5f8bc mpegtsmux: Move multi-program muxing example at least to the correct directory
But it doesn't work out of the box because of hardcoded paths.
2010-05-07 08:15:42 +02:00
Tim-Philipp Müller
088df2215f Add new camerabin test binary to .gitignore 2010-05-01 19:06:27 +01:00
Lasse Laukkanen
55d98ef488 camerabin: add block-after-capture property for viewfinder blocking
Adds block-after-capture property to block running viewfinder after capturing.
This property is useful if application wants to display capture preview and avoid
running viewfinder on background.

Based on a patch by Tommi Myöhänen <ext-tommi.1.myohanen@nokia.com>
2010-04-13 12:00:36 -03:00
Lasse Laukkanen
17617758c3 examples: camerabin: add viewfinder-filter and filter caps properties
Adds support for setting filter-caps and viewfinder-filter
properties in the gst-camerabin-test application
2010-04-13 12:00:36 -03:00
Tommi Myöhänen
6206f58c3a GstPhotography: Add flicker and focus mode settings to photography API
Adds flicker and focus mode settings to photography API and also
implement it in camerabin.
2010-04-13 12:00:35 -03:00
Teemu Katajisto
0176533c02 camerabin: add gst-camerabin-test command line test tool
gst-camerabin-test tool can be used to capture still images and
video clips using camerabin element.
2010-04-13 12:00:35 -03:00
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
Edward Hervey
14482a6580 check: Don't re-declare 'GList *buffers' in the tests
It's an external which lives in gstcheck.c. Redeclaring it makes some
compilers/architectures think the 'buffers' in the individual tests are
a different symbol... and therefore we end up comparing holodecks with
oranges.
2010-04-12 18:08:01 +02:00
Thiago Santos
181c032e2f tests: camerabin: enable camerabin tests
Re-enabling camerabin tests, they are passing.
2010-04-09 09:14:02 -03:00
Edward Hervey
a8f9562da6 tests: Fix compilation error on macosx 2010-04-08 12:00:10 +02:00
Thiago Santos
d380140038 tests: tagschecking: New tags tests
Adds new tags checking tests.
2010-03-24 23:24:31 -03:00
Thiago Santos
01f4f9a4e8 tests: faac: Fix build
Fixes build of faac due to functions not being static nor
having being declared in headers. (No previous prototype error)

Probably due to added -Wmissing-prototypes
2010-03-23 14:19:03 -03:00
Benjamin Otte
240f494aa7 Add -Wold-style-definition
and fix the warnings
2010-03-22 16:56:03 +01:00
Benjamin Otte
33c2f5fb01 Add -Wwrite-strings
and fix its warnings
2010-03-22 13:16:33 +01:00
Benjamin Otte
010789159d Add -Wundef
and fix the warnings
2010-03-22 12:30:01 +01:00
Benjamin Otte
2be077c786 Update .gitignore 2010-03-22 12:06:00 +01:00
Benjamin Otte
edbce10db1 examples: Fix warnings 2010-03-21 23:00:48 +01:00
Benjamin Otte
25a54fc391 gst-camera: Add a header declaring the functions from the ui file 2010-03-21 22:46:00 +01:00
Benjamin Otte
3b1dd2683d tests: Add file I forgot to check in 2010-03-21 22:11:24 +01:00
Benjamin Otte
f96e4f1581 Add -Wmissing-declarations -Wmissing-prototypes to configure flags
And fix all warnings
2010-03-21 21:39:18 +01:00
Benjamin Otte
692471aae7 tests: Fix kate test
It was failing due to the new buffer_metadata_writable checks added to
the core recently.
2010-03-21 21:29:47 +01:00
Benjamin Otte
ecbfd9cc2f Remove gob examples
They were outdated and wouldn't have compiled anymore.
2010-03-18 22:46:41 +01:00
Thiago Santos
0b441d7611 tests: tagschecking: Improvements and new geo-location tests
Makes some improvements to tagschecking.c, making it use
fakesrc instead of videotestsrc and allowing to set input
caps so that more muxers can be used. Previously we could
only use those that accepted raw video caps.

Also adds some tests for geo-location tags
2010-03-12 13:04:26 -03:00
Sebastian Dröge
a266d0acfa imagefreeze: Add some unit tests 2010-03-12 07:29:58 +00:00
Thiago Santos
52348df33b check: tagschecking: tests for tags serialization in muxers
Adds a check unit test that aims to test tags serialization
and deserialization consistency (in muxers). It provides a
basic function that allows one to easily specify tags, a
muxer and a demuxer and a test will be done to check if
the tags have been consistently muxed and demuxed
2010-03-11 22:44:00 -03:00
Sebastian Dröge
678f7ddb16 build: Make some more rules silent if requested 2010-03-09 21:05:50 +00:00
Sebastian Dröge
4a1f91a532 assrender: Add test for correct I420 rendering 2010-03-09 21:05:49 +00:00
Tim-Philipp Müller
870ee6508e .gitignore: ignore generated cog files 2010-02-19 10:35:10 +00:00
Tim-Philipp Müller
87580aa59d .gitignore: ignore new faad unit test 2010-02-17 01:34:45 +00:00
Sebastian Dröge
8db9136e89 assrender: Fix unit test to actually check for everything to work correctly 2010-02-16 22:23:45 +01:00
Sebastian Dröge
88bd4a8ada assrender: Add simple unit test
This renders a test string on top of a red video stream and checks
if the text is only rendered at the correct timestamps.
2010-02-16 21:43:37 +01:00
Sebastian Dröge
820700124e ofa: Fix warning message parsing 2010-02-16 21:43:36 +01:00
Tim-Philipp Müller
01289f0ffe tests: fix caps leak in jpegparse unit test 2010-02-15 01:26:09 +00:00
Tim-Philipp Müller
0f0a538150 tests: add unit test for dataurisrc
Requires fixes from core git, so bump core requirement to git as well.
2010-02-15 00:56:33 +00:00
Benjamin Otte
e54cbf7850 examples: Call gst_ensure_native_window() for gst-camera
Fixes spurious SEGVs due to multithreading conflicts in
client-side-window Gtk versions.
2010-02-14 15:22:05 +01:00
Benjamin Otte
a04c2db340 examples: Use gtk functions instead of libX11 functions in camerabin
Gets around the need to link to libX11 directly and provides the same
functionality.
To boost, it's more portable, too!
2010-02-14 13:43:04 +01:00
Benjamin Otte
3c6b0fdfaf examples: Properly link to libm 2010-02-14 13:41:57 +01:00
Sebastian Dröge
f79842e308 Moved 'shapewipe' from -bad to -good
Fixes bug #584536.
2010-02-12 11:35:17 +01:00
Mark Nauwelaerts
4312ec8b40 faad: add unit test 2010-02-11 22:22:52 +01:00
Sebastian Dröge
0d92938450 shapewipe: Print some more details on error/warning messages 2010-02-10 10:34:24 +01:00
Sebastian Dröge
185df279e8 jpegparse: Fix unit test
The parsed buffers have a framerate of 1/1.

Fixes bug #608998.
2010-02-05 17:26:58 +01:00
Arnout Vandecappelle
bb5331e272 jpegparse: new jpeg parser element. FIxes #583098
Parse JPEG images, extracts its metadata, set caps and
packetize an image per buffer.
2010-01-29 11:41:15 +02:00
Stefan Kost
0713748e1b camerabin-example: cleanups for mainloop and state-changes. Fixes #608042
Start camerabin via idle handler to have the mainloop already running. Avoid
some unnecessary state changes. Cleanup the bus usage when restarting.
2010-01-28 15:02:23 +02:00
Stefan Kost
e2b3edbc97 camerabin-example: remove maemo comment and log filename
The maemo fixme is not needed anymore. Log the choosen filename to help
people finding the files.
2010-01-25 23:06:59 +02:00
Tim-Philipp Müller
3eaa8c7673 tests: refactor weird bus sync handler code in camerabin example 2010-01-22 02:25:44 +00:00
Sebastian Dröge
be9ca4d5e1 examples: Fix build and signal connection for GtkBuilder stuff 2010-01-16 11:41:20 +01:00
Sebastian Dröge
55c48789b7 icles: Link with GTK+ 2010-01-16 11:23:00 +01:00
Javier Jardón
878ccf4a56 tests: Port from libglade to GtkBuilder
Fixes bug #601108.
2010-01-16 11:14:55 +01:00
Edward Hervey
c41fbca13c tests: Add neonhttpsrc to the list of elements ignored for state-change
Setting neonhttpsrc to PAUSED/PLAYING requires a running http server on
localhost.
2010-01-12 17:05:13 +01:00
Thiago Santos
a428ad82c7 Rename aac's stream-format 'none' to 'raw'
Renames aac's stream-format from previous commits from none to
raw
2010-01-11 13:42:48 -03:00
Thiago Santos
2d647b6ea8 aacparse: update tests to stream-format changes
Updates aacparse unit tests to check for stream-format
correctness as well.
2010-01-11 12:10:02 -03:00
Tim-Philipp Müller
31ab47e03b examples: make camerabin test application handle errors when starting up
Instead of hanging forever in a _get_state() in case an error occurs when
starting up camerabin, bail out and print an error message. Also remove
unnecessary _get_state() when shutting down the pipeline.
2010-01-06 01:56:40 +00:00
Tim-Philipp Müller
3211efe830 tests: try to fix 'make dist' when cog is not installed 2009-12-17 01:05:28 +00:00