Commit graph

586 commits

Author SHA1 Message Date
Tim-Philipp Müller f234923c07 tests: remove ASSERT_CRITICAL disablement in overlay composition unit test
No idea why that was there.
2012-03-14 18:04:37 +00:00
Edward Hervey 752ba3149f check: Disable another lanczos videoscale test
Segfaults hard
2012-03-08 15:25:02 +01:00
Tim-Philipp Müller 85a7b8f562 tests: add test to check discoverer return code for missing plugins case
https://bugzilla.gnome.org/show_bug.cgi?id=671047
2012-03-03 13:54:53 +00:00
Stefan Sauer 22bef18b96 test: improve adder test on event handling
Use new consitency checker api to test event handling in more detail.
2012-02-29 21:51:00 +01:00
Edward Hervey 59918e841f Suppress deprecation warnings in selected files, for g_value_array_* mostly 2012-02-27 14:28:15 +01:00
Tim-Philipp Müller 2b0b1e4ece tests: add some videoscale tests for new Lanczos-based method
Some crash. Others show invalid memory access in valgrind.
2012-02-26 23:46:50 +00:00
Tim-Philipp Müller 63d1316c0f videoscale: fix negotiation after addition of new formats and methods
Now that we no longer support all methods for all formats, we
need to cater for that in the transform function: we can't
transform formats not supported by the currently-selected
mehod.

make check, folks. It's da bomb.
2012-02-26 23:46:50 +00:00
Tim-Philipp Müller 92ebd6bd2a videoscale: fix videoscale test for new methods
Not all scaling methods are supported for all formats, so
can't just iterate over the template caps.
2012-02-26 23:46:50 +00:00
George Kiagiadakis 6f6f079dd9 tests: test 16-bit rgb formats in test_parse_caps_rgb
https://bugzilla.gnome.org/show_bug.cgi?id=667681
2012-01-30 15:56:45 +00:00
Tim-Philipp Müller 70c6c2ae0c tests: discoverer test is now valgrind clean 2012-01-12 17:31:44 +00:00
Tim-Philipp Müller aa16155172 tests: add ogg test file and some proper unit tests for discoverer
Leaks when re-used, so blacklisted for valgrind for now.
2012-01-07 16:45:53 +00:00
Tim-Philipp Müller 76cc8b8f2a tag: add function to check whether a string is a valid language code
API: gst_tag_check_language_code()
2012-01-02 01:04:00 +00:00
Tim-Philipp Müller dfa23662e1 tag: fix writing of Exif tag payloads <= 4 bytes
When the payload for an Exif tag is less than or equal to 4 bytes,
the data is simply put into the offset field. Fix writing these
kinds of payloads on big endian systems (and possibly also on
little endian systems). The caller will have already formatted
the bytes in memory according to the writer's endianness, so just
write out the bytes as they are in this case. Fixes tags unit test
on big endian systems.
2011-12-23 22:24:44 +00:00
Thiago Santos 77353dad21 tag: xmp: Keep compatibility with our old generated xmp
We used to add a trailing \n to the end of generated xmp packets.
Windows viewer was unhappy with it and we fixed it in
96d2120c2b

The problem is that this caused xmp generated before this fix
to not be recognized and parsed anymore. This patch makes it
recognize xmp with the trailing \n and without, fixing the
regression. Also adds tests for it.
2011-12-22 08:12:28 -03:00
Tim-Philipp Müller 5037b39883 video: add seqnum getters for overlay compositions and rectangles
API: gst_video_overlay_composition_get_seqnum()
API: gst_video_overlay_rectangle_get_seqnum()
2011-12-07 17:57:08 +00:00
Tim-Philipp Müller b58b8b1ba5 tests: fix calculation of last pixel offset in video unit test
And check the right buffer (pix2) in one case.
2011-12-06 20:31:54 +00:00
Tim-Philipp Müller 00d6ffd9f5 tests: add basic unit test for video overlay composition and rectangles 2011-12-05 15:37:02 +00:00
Piotr Fusik 14644457b0 various: typo fixes
Fix typos in code and docs. Fixes. #658984
2011-12-02 12:03:27 +01:00
Tim-Philipp Müller 3c87d7dc77 tests: fix caps leak in audioresample tests 2011-12-01 01:22:19 +00:00
Tim-Philipp Müller c58d4f54d6 tests: fix memory leak in basetime test 2011-12-01 01:07:26 +00:00
Vincent Penquerc'h 96374054ac various: fix pad template leaks
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:09:02 +00:00
Vincent Penquerc'h e13ff2521c valgrind: add ALSA leaks fixed by snd_config_update_free_global
If they go when calling snd_config_update_free_global, they're
not really bug leaks, but more like intentional ones we don't
want to get told about.

https://bugzilla.gnome.org/show_bug.cgi?id=615342
2011-11-07 12:20:12 +00:00
Mark Nauwelaerts 7b56261acf tests: vorbisenc: adjust discontinuity checking to audioencoder behaviour
... which still detects gaps and marks DISCONT, depending on configuration,
but may come up with somewhat different timestamps when crossing the gap.
2011-10-08 20:50:10 +02:00
Mark Nauwelaerts 9e72c4790c tests: vorbisdec: properly configure audiodecoder when requiring perfect ts 2011-10-08 20:50:08 +02:00
Mark Nauwelaerts 12b54cccd1 tests: vorbisdec: remove empty header buffer check
... as empty buffers are discarded, and header buffers are now
also optionally retrieved from caps anyway.
2011-10-08 20:50:06 +02:00
Vincent Penquerc'h be39ab28c3 tests: actually test what we said we would
All tests were testing the default sine wave

https://bugzilla.gnome.org/show_bug.cgi?id=661106
2011-10-06 20:46:03 +02:00
Sjoerd Simons 8ab3947733 videorate: Add tests for the max-rate case 2011-09-21 11:24:59 +01:00
Sjoerd Simons 8c9e6346b4 videorate: Print which caps didn't match up 2011-09-21 11:24:59 +01:00
Sjoerd Simons ee3dfd4471 videorate: Add test for caps negotiation 2011-09-21 11:24:59 +01:00
Sebastian Dröge 7e1e169b1b decodebin2: Fix unit test by strictly implementing parser behaviour instead of relying on basetransform 2011-09-20 13:46:41 +02:00
Sebastian Dröge 0e54d2c343 decodebin2: Don't use bufferalloc in the test elements
This will cause not-linked errors that usually don't happen
because normal decoders/parsers will set srcpad caps before
allocating buffers from downstream.
2011-09-07 16:44:59 +02:00
Sebastian Dröge 2d1dd857aa audiorate: Use complete audio caps, including the endianness field 2011-09-07 14:10:46 +02:00
Sebastian Dröge 490518cfa6 decodebin2: Add unit test for correct parser/converter negotiation 2011-09-06 13:16:44 +02:00
Sebastian Dröge a883ecfc31 decodebin2: Add Tim as author for the parser test 2011-09-06 13:16:44 +02:00
Stefan Sauer 81c9459771 tests: supress ERROR log output for some tests
Be nice when we tests for correct error handling and don't spam stdout.
2011-09-05 15:52:41 +02:00
Tim-Philipp Müller 6d875c5ccd tag: id3: avoid some more relocations in genre table 2011-08-16 12:27:25 +01:00
Vincent Penquerc'h 505bae099e audioresample: add FFT based checks
Send a few simple tones through audioresample and check
that the main frequency spot is the same for the input and
the resampled output.

https://bugzilla.gnome.org/show_bug.cgi?id=656392
2011-08-16 08:14:18 +02:00
Thiago Santos 436c533624 tests: tag: exif: Add tests for 'non-trivial' chars
Adds two new cases to check that characters are properly
converted to ascii when writen to exif and parsed correctly
back to utf8 when read.
2011-08-10 17:46:01 -03:00
Tim-Philipp Müller 54e143c5e7 tag: add unit test for new license API
https://bugzilla.gnome.org/show_bug.cgi?id=646868
2011-08-10 10:34:22 +01:00
Stefan Sauer 7ca9c4ec40 basetime: fix failing test
Always use audiotestsrc as it seems to have been the intention according to the
comment header. The test does not work with live-audiosources.
2011-07-26 14:15:18 +02:00
Stefan Kost 4019e919f6 tests: rename the test suite to match the binary
This unbreaks determining the name for make elements/playbin2-compressed.check
from the test output.
2011-07-26 12:37:11 +02:00
Stefan Sauer ed1f02e2a1 test: print actual timestamp on failure 2011-07-23 14:04:14 +02:00
Tim-Philipp Müller 69dcacf148 tests: add decodebin2 test for parser autoplugging
Make sure decodebin2 doesn't try to plug the same parser twice
in a row.
2011-07-15 16:47:44 +01:00
Tim-Philipp Müller b3a39daed6 tests: add decodebin1 test for parser autoplugging
Make sure decodebin1 doesn't try to plug the same parser twice
in a row (so we can change all parsers to accept parsed input as
well without breaking applications still using the old decodebin1
element).
2011-07-15 16:41:10 +01:00
Thiago Santos 96d2120c2b tag: xmp: Remove extra chars from end of xmp packet
Windows picture viewer is unhappy with extra trailing chars at the
end of the xmppacket footer. So remove them as they aren't needed.
2011-06-29 10:18:23 -03:00
Tim-Philipp Müller dd97ccc293 tests: the navigation interface isn't GstImplementsInterface-wrapped 2011-06-26 21:07:52 +01:00
Tim-Philipp Müller c692191c33 GST_PLUGINS_BASE_LIBS is not defined in -base. 2011-06-08 12:21:43 +01:00
Edward Hervey 974b7bd4ed check: ... and don't forget to add the new arm header
Forgot it in my previous commit
2011-06-01 17:31:35 +02:00
Edward Hervey fa298d13eb libsabi: Add structure sizes for arm 2011-06-01 17:26:25 +02:00
Sebastian Dröge 8f967e9e70 volume: Fix handling of volume>=4.0 for 8 and 16 bit integer formats
Also add a unit test for this. Previously volumes bigger than 4.0
would have resulted in overflows in the fixed point processing.

Fixes bug #649642.
2011-05-31 11:07:11 +02:00