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
Michael Smith
a869fd39fe
tests/icles: make cog test program depend on USE_COG. Fixes build without orc.
2009-11-20 13:41:27 -08:00
David Schleef
8d761840d4
cog: Add orc test code for cog
...
Also look for cog.orc source file in the right place.
2009-11-20 13:14:50 +01:00
Stefan Kost
2bdaec2275
tests: make state-change test timeout longer if wrappers are enabled
...
When ladspa || lv2 are enabled one could quickly get to 500 elements.
2009-11-19 21:11:36 +02:00
Olivier Crête
7dfa4a7690
tests: Add test for rtpdtmfmux locking
2009-10-30 19:08:14 +00:00
Olivier Crête
450e44146a
tests: Add unit test for rtpmux
2009-10-30 19:08:14 +00:00
Michael Smith
07a086d53f
tests: Use GST_PLUGINS_BASE_{CFLAGS,LIBS} for camerabin tests.
2009-10-29 16:42:34 -07:00
Teemu Katajisto
23bcd2d766
camerabin: use raw audio/video in unit tests
...
Removes dependency to ogg/vorbis/theora when running camerabin
unit tests.
2009-10-29 11:43:10 +02:00
Michael Smith
7ca8034c51
Remove executable bits from non-executable files.
2009-10-27 11:51:05 -07:00
Jan Schmidt
1fdaf6e884
autoconvert: Add a simple unit test
...
Set up an autoconvert with 2 factories, and check that it can switch
between them when the caps change.
2009-10-27 12:23:25 +00:00
Teemu Katajisto
f058bd79bd
camerabin: fix for gstreamer core unit test framework update
...
Set camerabin state to NULL in the each test case end.
2009-10-24 15:14:26 +03:00
Stefan Kost
8c0203ec36
camerabin: remove abbreviations from the property names. Fixes #573370 (partialy)
...
Also rename their use in tests and examples.
2009-10-24 15:14:26 +03:00
Stefan Kost
3333ab473c
gitignore: ignore more
2009-10-24 15:14:26 +03:00
Stefan Kost
0a13cfdaf1
camerabin: set camerabin to READY before accessing the elements
2009-10-24 15:14:26 +03:00
Mark Nauwelaerts
d1bcf58f08
capssetter: add unit test
2009-10-08 19:54:20 +02:00
Stefan Kost
b7b8b7f407
build: fprintf, sprintf, sscanf need stdio.h
2009-10-07 15:26:12 +03:00
Olivier Crête
461c1727a2
tests: Add test for mimic elements
2009-10-06 18:08:40 -04:00
Jan Schmidt
6daa6019c7
Add faac test binary to the git ignores
2009-10-05 11:47:56 +01:00
Stefan Kost
2390d3a31c
build: add missing stdlib include to fix the build
2009-10-02 19:12:32 +03:00
Mark Nauwelaerts
aa7b9931ba
faac: add unit test
2009-09-08 22:32:28 +02:00
Tim-Philipp Müller
222cc7ef43
tests: fix test-oss4 to treat an empty device name the same as a NULL name
2009-08-21 01:18:32 +01:00
Tim-Philipp Müller
5bc1290431
vdpau: blacklist for generic states test, and demote to GST_RANK_NONE
...
These elements are not fit for autoplugging, so demoting to RANK_NONE.
Also blacklisting for generic states test, since fixing these elements
up to do some minimal error handling seems to be a bit more work.
Partially fixes #591538 .
2009-08-12 16:51:21 +01:00
Tim-Philipp Müller
20a4c32a0b
kateenc: error out if category has not been set and check for obviously wrong values
2009-08-11 12:42:28 +01:00
Tim-Philipp Müller
a6912096cd
Move rtpmanager from -bad to -good.
2009-08-11 09:30:31 +01:00
Tim-Philipp Müller
ae388318cc
.gitignore: ignore asfmux unit test binary
2009-08-11 09:05:35 +01:00
Tim-Philipp Müller
240cd1734d
checks: disable unit tests that are flaky or don't work with core git
...
camerabin test seems to time out with core git, so disabling because
chances are the problem is in the test and the core git stuff will
be released before we can fix the code in the test.
neonhttpsrc unit test is a bit flaky, it tends to fail the first
time when called (the host/url it checks for seems to be down as
well/anyway).
2009-08-11 09:00:37 +01:00
Thiago Santos
7fa5cba6f0
asfmux: First basic check unit tests
...
Adds simple asfmux unit tests, that test pad creation and pushing a
single buffer through them
2009-07-28 22:51:39 -03:00
Stefan Kost
7e7c63737e
camerabin: more perf-test cleanups
...
Remove some obsolete exmaples. Add video-width/height. Use proper api for
setting still image resolution. Fix stopping random tests on bin-state-changes.
Remove the memdup in snapshot again, as its not needed (pixbuf goes out of
scope with the buffer).
2009-07-22 18:04:18 +03:00
Stefan Kost
b3753116d2
camerabin: we need to copy the data in the example
...
gdk_pixbuf_new_from_data does not copy the data.
2009-07-21 17:52:33 +03:00
Tim-Philipp Müller
ced14a1ff7
katedec: only put primary language tag in GST_TAG_LANGUAGE
...
Only put primary language into GST_TAG_LANGUAGE, and convert to lower case,
ie. only use "en" of "en_GB". This is per our tag documentation and hence
what apps expect. Also add example to kateenc property description so people
know a language code is wanted here.
2009-07-21 01:02:06 +01:00
ogg.k.ogg.k
265b75ca38
kate: fix some minor memory leaks
...
Makes 'make check-valgrind' work for the kate unit test (#525743 )
2009-07-20 23:45:47 +01:00
Stefan Kost
8ac16a90e4
camerabin: add code in test to store snapshots for manual verification
...
Use gdk_pixbuf to save the image in perf-test. Also remove some obsolute
commented out code.
2009-07-20 16:42:44 +03:00
Stefan Kost
cae6b621aa
camerabin: improve perf test robustness and add comments
2009-07-20 16:42:43 +03:00
Tim-Philipp Müller
0d16612717
checks: add kate unit tests to valgrind blacklist for now
...
And add check binary to ignore list.
2009-07-19 23:30:55 +01:00
Tim-Philipp Müller
71efbb1e73
kate: fix up for additional subtitle/x-kate media type
2009-07-19 22:29:19 +01:00
Vincent Penquerc'h
e88984ccbd
add new Kate plugin, for Kate overlay streams
...
katedec: Kate decoder (text only)
kateenc: Kate encoder (text and DVD SPU only)
katetag: Kate tagger
kateparse: Kate parser
tiger: Kate renderer using the Tiger rendering library
Fixes #525743 .
2009-07-19 16:04:32 +01:00
Stefan Kost
b1d353e2de
camerabin: implemnet two more tests
...
Add tests for videorecording startup and capture startup delay.
2009-07-17 15:50:19 +03:00
Jan Schmidt
8b2035982e
dist: Add the camerabin examples subdirectory to the dist
2009-06-29 21:46:29 +01:00
Wim Taymans
4bc5e2f61e
rtpbin: do better cleanup of the src ghostpads
...
Connect to the pad-removed signal of the ptdemux elements so that we remove the
ghostpads for them. Fixes cleanup when going to NULL as well as when releasing
the sinkpads.
Fixes #561752
2009-06-29 18:48:33 +02:00
Stefan Kost
e4bc1e31ef
camerabin: make shot2shot test more reliable
...
We can only trigger next shot (in the test) when current is captured and saved.
2009-06-26 18:36:25 +03:00
Stefan Kost
aaec6a730d
camerabin: sync first test more safely
...
Don't use gst_element_get_state() to wait for PLAYING, Use the bus-handler
insteader and asynchronously schedule next test.
2009-06-25 19:34:27 +03:00
Stefan Kost
fa78a0f125
camerabin: add target-times option to specify test times
...
Have some reasonable default times. Add a commandline option to override
defaults. Interpret target-time=0 as skip-test.
2009-06-24 19:16:45 +03:00
Stefan Kost
8f1b3d3ec2
camerabin: debug log only change
2009-06-22 22:01:22 +03:00
Stefan Kost
b1367a95ca
camerabin: more cleanup in tests
...
Add more debug logging. Remove unused mutex and cond.
2009-06-22 13:41:16 +03:00
Stefan Kost
11a78399d8
camerabin: add camerabin examples
...
gst-camera is a gtk-test app to play with the imagecapture and videorecording.
gst-camera-perf is a tool to run various scenarios and take time meassurements
(e.g. shot-to-shot). Also sort the output files in configure.ac a bit to be
in alphabetical order.
2009-06-22 13:40:36 +03:00
Branko Subasic
c70dbe94b5
rtpbin: add support for buffer-list
...
Add support for sending buffer-lists.
Add unit test for testing that the buffer-list passed through rtpbin.
fixes #585839
2009-06-19 19:10:35 +02:00
Stefan Kost
1658384381
camerabin: cleanups in the tests
...
Sprinkle more logging to make it easier to follow. Specify a low framerate and
capture resolution to avoid tests timing out. Make the sinks sync to test closer
to reality. Fix Makefile to use uninstalled interface.
2009-06-14 10:56:38 +03:00
Edward Hervey
34100ce1c7
tests/metadata: Don't try tags we can't handle. Fixes #584945
2009-06-07 10:55:59 +02:00
Jan Schmidt
833a81af75
examples: Don't build the mxf example if GTK isn't present.
2009-06-06 13:53:04 +01:00
Jan Schmidt
743bd6cc10
gitignore: Ignore shapewipe unit test binary
2009-06-05 19:53:09 +01:00
Jan Schmidt
271788c9ae
Moved 'x264enc' from -bad to -ugly
2009-06-05 19:52:40 +01:00
Stefan Kost
4d9a0e832c
camerabin: fix link order
...
Move local version up in the link order.
2009-06-05 21:29:46 +03:00
Lasse Laukkanen
6a47f6f594
camerabin: preview image sending optimization
...
* decouple image capturing from image post-processing and encoding
* post image-captured message after image is captured
* post preview-image message with snapshot of captured image
2009-06-05 15:51:31 +03:00
Sebastian Dröge
5c112d4286
shapewipe: Increase timeout of the unit test
2009-06-04 08:57:25 +02:00
Tim-Philipp Müller
f5a03ec2a6
aacparse: set channels and rate on output caps, and keep codec_data
...
Create output caps from input caps, so we maintain any fields we
might get on the input caps, such as codec_data or rate and channels.
Set channels and rate on the output caps if we don't have input caps
or they don't contain such fields. We do this partly because we can,
but also because some muxers need this information. Tagreadbin will
also be happy about this.
2009-06-02 00:56:52 +01:00
Sebastian Dröge
7f1c2f3a28
shapewipe: Add unit test for shapewipe
2009-06-01 21:25:13 +02:00
Sebastian Dröge
332dae7198
shapewipe: Divide the border value by two, otherwise we use a twice a wide border
2009-05-29 16:55:25 +02:00
Sebastian Dröge
19b4c4f335
shapewipe: Add border property to allow smooth borders
...
...and use a border of 0.01 in the example application.
2009-05-29 16:52:21 +02:00
Sebastian Dröge
8d1166bb85
shapewipe: Fix Makefile of the example application
2009-05-29 16:00:16 +02:00
Sebastian Dröge
febef56cf2
shapewipe: Add a simple shapewipe transition filter & example application
2009-05-29 15:34:03 +02:00
Jan Schmidt
f8fef34fcb
states: Ignore the camerabin for the states test
...
It accesses the video device, which isn't generally desirable for the
state test.
2009-05-26 15:31:51 +01:00
Wim Taymans
1abaa6f78c
tests: add receive rtpbin unit test
2009-05-25 13:33:20 +02:00
Wim Taymans
51c07ac626
tests: more rtpbin checks
2009-05-22 15:37:29 +02:00
Wim Taymans
50d9bc92fb
tests: add more rtpbin tests
2009-05-22 13:44:17 +02:00
Wim Taymans
300f02af2a
tests: add rtpbin unit test
...
Add the beginnings of an rtpbin unit test
Add some more stuff to .gitignore
2009-05-22 12:23:27 +02:00