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
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
e0dae09731
tests: camerabin: remove photoiface property/settings tests
...
Fixes #616923
2010-09-20 18:26:48 -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
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
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
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
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
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
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
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
ee063478ff
Remove capssetter element
...
It has been moved to gst-plugins-good.
See #617739 .
2010-05-11 13:08:41 +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
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
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
Edward Hervey
a8f9562da6
tests: Fix compilation error on macosx
2010-04-08 12:00:10 +02: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
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
Sebastian Dröge
a266d0acfa
imagefreeze: Add some unit tests
2010-03-12 07:29:58 +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
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
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
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
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
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
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
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
Mark Nauwelaerts
d1bcf58f08
capssetter: add unit test
2009-10-08 19:54:20 +02:00
Jan Schmidt
6daa6019c7
Add faac test binary to the git ignores
2009-10-05 11:47:56 +01:00
Mark Nauwelaerts
aa7b9931ba
faac: add unit test
2009-09-08 22:32:28 +02: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
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
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
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
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
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
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
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
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
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
Jan Schmidt
48e32a0890
Moved 'y4menc' from -bad to -good
2009-05-16 00:17:00 +01:00
Tim-Philipp Müller
6ab14af5aa
tests: make git ignore new unit tests binaries
2009-04-25 00:44:15 +01:00
Lasse Laukkanen
65ddcd6d5d
camerabin: change img-done signal parameter from GString* to const gchar*
...
Don't allow setting filename via img-done signal parameter but force app
use filename property. Don't stop capture when setting filename property.
Update check unit test based on the change.
2009-04-16 15:19:20 +03:00
Sebastian Dröge
031ecef2f5
mxfmux: Add unit tests
2009-04-02 12:48:38 +02:00
Jan Schmidt
81a950ddf8
camerabin: Make the tests pass when the camerabin can't initialise.
...
The camerabin tests were throwing glib errors and hanging when
gst-plugins-good elements (jpegenc, videocrop) can't found.
2009-03-07 00:31:07 +00:00