Commit graph

532 commits

Author SHA1 Message Date
Vincent Penquerc'h 4c2a2063cf tests: fix caps leak in videotestsrc test 2012-01-13 15:57:20 +00:00
Tim-Philipp Müller 834e58be9e tests: fix wavenc test on big endian
wavenc only accepts little-endian PCM, but most of our
elements such as audiotestsrc only produce or process
audio in native endianness, so we need to plug a
converter before wavenc on big endian systems.
2012-01-11 01:47:38 +00:00
Tim-Philipp Müller 12ff707854 tests: fix some leaks and remove files when done in qtmux test 2012-01-04 18:05:41 +00:00
Tim-Philipp Müller 56c1003f7a tests: make git ignore new unit test binary 2011-12-27 12:06:25 +00:00
Tim-Philipp Müller b744ad03cc udpsrc: add unit test that sends 0-size packet
https://bugzilla.gnome.org/show_bug.cgi?id=666644
2011-12-27 11:49:10 +00:00
Tim-Philipp Müller abd27e2caa tests: use atexit, g_atexit has been deprecated in glib master 2011-12-12 10:18:14 +00:00
Tim-Philipp Müller 72fc3d1bd9 tests: g_thread_init() is deprecated in glib master
It's not needed any longer.
2011-12-12 09:46:27 +00:00
Tim-Philipp Müller 330d984288 Use g_thread_try_new() instead of g_thread_crate() with newer glib versions 2011-12-12 09:46:27 +00:00
Tim-Philipp Müller a65091802f tests: dist test file used in matroskaparse unit test 2011-12-11 17:24:11 +00:00
Tim-Philipp Müller 60e53346af tests: fix up rgvolume test for basetransform event caching
Some tests assumed that tag events would always pushed through
immediately, which isn't the case any longer, so push a newsegment
event and an empty buffer first.
2011-12-10 13:05:07 +00:00
Tim-Philipp Müller f18f238968 tests: fix up LIBS order som more` 2011-12-01 14:13:05 +00:00
Alessandro Decina 5cc1c6c897 tests: fix g_mkdtemp presence check in multifile tests
g_mkdtemp was added in glib 2.30 even though the doc claims it was added in
2.26.
2011-12-01 13:25:45 +01:00
Alessandro Decina ed98755241 multifilesink: add flag to cut after a force key unit event 2011-12-01 13:25:45 +01:00
Vincent Penquerc'h c0e101e93f various: fix pad template leaks
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:30:27 +00:00
Thiago Santos 3dc5a09a5c multifile: fix build of tests
Tests fail to build because g_mkdtemp is available from glib since
2.26.

This patch adds a condition around the redefinition of
g_mkdtemp on the tests to only build it if glib is older than
2.26.
2011-11-24 14:18:44 -03:00
Tim-Philipp Müller 38c9fefa01 tests: add basic unit test for matroskaparse 2011-11-23 01:00:17 +00:00
Stefan Sauer 4b06e3095a tests: add missing PLUGIN_ASE_LIBS to LDADD 2011-10-10 13:20:04 +02:00
Thiago Santos a4154e9db2 tests: qtmux: Refactor bitrate check test
Refactor bitrate check test to accomodate multiple tests
for bitrate
2011-09-30 13:05:24 -03:00
Thiago Santos e58b0466ec tests: qtmux: add tests for bitrate average calculation
Adds tests to make sure qtmux/mp4mux sets average bitrate
correctly
2011-09-30 13:05:20 -03:00
Tim-Philipp Müller b6b072e948 tests: add unit test to make sure encodebin picks mp4mux for variant=iso
https://bugzilla.gnome.org/show_bug.cgi?id=651496
2011-09-20 12:55:31 +01:00
Thiago Santos c78048bc25 tests: flvmux: Fix flvmux's tests after fix for request pads handling
Now that flvmux doesn't release its request pads on PAUSED->READY the
test doesn't need to re-request them for every reuse test start.
2011-09-12 09:21:47 -03:00
Sebastian Dröge 8f1f6d1a57 cmml: Use complete cmml caps in the unit test 2011-09-07 14:30:27 +02:00
Sebastian Dröge 0fd1397921 qtmux: Use complete MPEG caps in the unit test 2011-09-07 14:30:27 +02:00
Mark Nauwelaerts 077a306054 tests: parsers: provide more real data when testing draining of garbage 2011-09-05 15:51:53 +02:00
Arun Raghavan 96972eb462 ac3parse: Add support for IEC 61937 alignment
When pushing out buffers over S/PDIF or HDMI, IEC 61937 payloading
requires each buffer to contain 6 blocks from each substream. This adds
code to collect all the frames needed to meet this requirement before
pushing out a buffer.

https://bugzilla.gnome.org/show_bug.cgi?id=650313
2011-07-26 10:40:00 +05:30
Alessandro Decina 072bd74cc4 multifilesink: add max-files property
Add max-files property to limit the number of files saved on disk.

API: multifilesink::max-files
2011-07-18 10:21:41 +02:00
Tim-Philipp Müller bdb8bbc100 tests: add generic set_index test 2011-04-19 14:34:48 +01:00
Tim-Philipp Müller c6abc45d27 tests: add index-setting test for baseparse/flacparse
https://bugzilla.gnome.org/show_bug.cgi?id=646811
2011-04-19 14:20:37 +01:00
Sebastian Dröge 68da32e735 wavpack: Remove bus GSource to prevent a valgrind warning 2011-04-18 11:29:15 +02:00
Sebastian Dröge 84c3b06353 wavenc: Remove bus GSource to prevent a valgrind warning 2011-04-18 11:14:32 +02:00
Sebastian Dröge 39bb942bb0 tagschecking: Remove bus GSource to prevent a valgrind warning 2011-04-18 11:11:53 +02:00
Sebastian Dröge dd2ff5a902 imagefreeze: Remove bus GSource to prevent a valgrind warning 2011-04-18 11:10:01 +02:00
Tim-Philipp Müller b005dfea5b examples: fix some warnings in rtp example
Caused by -DG_DISABLE_ASSERT
2011-04-16 18:07:35 +01:00
Tim-Philipp Müller 9e050481c2 examples: don't put code with side-effects into g_assert()
Otherwise things won't work too well when compiling with
-DG_DISABLE_ASSERT (as we do for pre-releases and releases).
2011-04-16 17:57:32 +01:00
Tim-Philipp Müller 9b93ae0eae examples: fix 'control reaches end of non-void function' warning in cairo example 2011-04-16 13:23:50 +01:00
Robert Swain 4893678fd1 tests: Address unused but set variables
GCC 4.6.x spits warnings about such usage of variables.
2011-04-16 13:10:58 +01:00
Mark Nauwelaerts 5f051fd996 tests: qtmux: test various dts-methods 2011-04-15 12:49:14 +02:00
Tim-Philipp Müller 025417f124 qtmux: add variant-less video/quicktime to source pad template caps
This is needed for automatic transcoding using encodebin. Our typefinder
does not always add a variant to the found caps, and encodebin needs
an *exact* match to the caps on the source pad template, so we need
to add the variant-less video/quicktime caps to the template as well
for encodebin to be able to find it. Add unit test for this as well.

https://bugzilla.gnome.org/show_bug.cgi?id=642879
2011-04-13 15:21:59 +01:00
Tim-Philipp Müller 9648747ce9 tests: ignore new qtmux-related test binaries 2011-04-13 12:45:27 +01:00
Tim-Philipp Müller 4d780297d8 quicktime: move qtmux plugin from -bad to -good
https://bugzilla.gnome.org/show_bug.cgi?id=636699
2011-04-13 11:55:59 +01:00
Thiago Santos 3d2280beb9 test: qtmux: Tests qtmux reuse
Forces the use of qtmux after it has been put to PLAYING and back
to NULL once

https://bugzilla.gnome.org/show_bug.cgi?id=639338
2011-04-12 20:32:21 +01:00
Sebastian Dröge 7a59a7100b tagschecking: Fix some more memory leaks 2011-04-12 20:32:20 +01:00
Mark Nauwelaerts 197c3e8a7d tests: qtmux: also unit test fragmented file cases 2011-04-12 20:32:20 +01:00
Tim-Philipp Müller 0406a69815 tests: don't fail tagschecking test if qtdemux is not available or too old 2011-04-12 20:32:17 +01:00
Thiago Santos 875ac6da5c tests: tagschecking: New tags tests
Adds new tags checking tests.
2011-04-12 20:32:17 +01:00
Benjamin Otte c4161b3c33 Add -Wwrite-strings
and fix its warnings
2011-04-12 20:32:17 +01:00
Benjamin Otte 62be91708f Add -Wmissing-declarations -Wmissing-prototypes to configure flags
And fix all warnings
2011-04-12 20:32:17 +01:00
Thiago Santos 75fec35743 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
2011-04-12 20:32:17 +01:00
Thiago Santos 96c116147d 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
2011-04-12 20:32:16 +01:00
Mark Nauwelaerts 2196cf6b49 tests/check/: Add unit test for qtmux.
Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/qtmux.c: (setup_src_pad),
(teardown_src_pad), (setup_qtmux), (cleanup_qtmux),
(check_qtmux_pad), (GST_START_TEST), (qtmux_suite), (main):
Add unit test for qtmux.
2011-04-12 20:32:09 +01:00