Commit graph

513 commits

Author SHA1 Message Date
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
Tim-Philipp Müller
6be6fe5db8 tests: hook up audioparser unit tests 2011-04-08 18:07:18 +01:00
David Schleef
6c9a7f6323 tests: fix baseparse test 2011-04-08 18:07:16 +01:00
Sebastian Dröge
46ea4eaa1f flacparse: Adjust unit tests to new flacparse behaviour
Garbage after frames is now included in the frames because flacparse
has no easy way to detect the real end of a frame. Decoders are
expected to everything after the frame because only decoding the
bitstream will reveal the real end of the frame.

Fixes bug #631814.
2011-04-08 18:07:11 +01:00
Mark Nauwelaerts
fbbc09e47d audioparsers: add flacparse unit test
... and tweak parser test helper in the process.
2011-04-08 18:07:09 +01:00
Mark Nauwelaerts
f8ec616d9d audioparsers: add ac3parse and mpegaudioparse unit test 2011-04-08 18:07:08 +01:00
Mark Nauwelaerts
edb495646d audioparsers: refactor existing unit tests using common helper 2011-04-08 18:07:08 +01:00
Edward Hervey
6bd1be78bf 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.
2011-04-08 18:07:06 +01:00
Benjamin Otte
ead9bd6b62 Add -Wold-style-definition
and fix the warnings
2011-04-08 18:07:04 +01:00
Benjamin Otte
50356ade08 Add -Wmissing-declarations -Wmissing-prototypes to configure flags
And fix all warnings
2011-04-08 18:07:04 +01:00
Thiago Santos
13c76e3bc3 Rename aac's stream-format 'none' to 'raw'
Renames aac's stream-format from previous commits from none to
raw
2011-04-08 18:07:04 +01:00
Thiago Santos
ed0c1564ca aacparse: update tests to stream-format changes
Updates aacparse unit tests to check for stream-format
correctness as well.
2011-04-08 18:07:04 +01:00
Tim-Philipp Müller
fc09fe78af 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.
2011-04-08 18:06:57 +01:00
Stefan Kost
c3faaa2daa tests/check/: Add unit tests for new parsers.
Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/aacparse.c:
* tests/check/elements/amrparse.c:
Add unit tests for new parsers.
2011-04-08 18:06:56 +01:00
Sebastian Dröge
9f256d81db rtpbin: Don't try to request the same request pad twice 2011-03-29 16:34:53 +02:00
Tim-Philipp Müller
2a8103553d tests: enable more formats in videofilter unit test, check more resolutions 2011-03-15 20:23:25 +00:00
Tim-Philipp Müller
3e1c707495 tests: in videofilter unit test also check with 'odd' widths and heights
And only use one test suite.
2011-03-15 09:45:23 +00:00
Stefan Kost
9bfa7defdf tests: order state-test blacklist and add jack elements
Jack audio src/sink elements recently got moved from bad and should be excluded
from the test (like the other device specific source and sinks).

Fixes #644288
2011-03-11 17:01:03 +02:00
Sebastian Dröge
1a8aa16612 cairooverlay: Add a bus handler to the example to handle EOS/ERROR/WARNING
Also clean up the pipeline properly.
2011-03-07 10:54:22 +01:00
Sebastian Dröge
7f85827bf7 examples: Always dist the cairo example 2011-03-07 10:47:23 +01:00