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
Thiago Santos
cb527623a3
deinterlace: Handle image caps without asserting
...
Images might have framerate=0/1 in the caps, which caused an
assertion on deinterlace. I don't know of interlaced image formats
but deinterlace might be hardcoded on some generic pipelines and
it shouldn't assert.
The fix was to set field_duration to 0 if the input has a framerate
with a 0 numerator.
This patch also adds checks for this situation on the unit tests.
https://bugzilla.gnome.org/show_bug.cgi?id=641400
2011-02-04 09:38:35 -03:00
Ognyan Tonchev
0add79cbf1
matroskamux: don't leak ebml writer caps when re-using matroskamux
...
https://bugzilla.gnome.org/show_bug.cgi?id=640542
2011-01-26 08:51:04 +00:00
Thiago Santos
dde7af4b9d
jpegenc: Adds another test case
...
Adds a test for jpegenc to check that is possible to negotiate and
push buffers with different resolution one after another.
https://bugzilla.gnome.org/show_bug.cgi?id=637686
2010-12-21 15:23:11 -03:00
Edward Hervey
1d0f79478f
check: Fixup the shutting down order
...
First bring down everything to NULL before attempting to unlink
or unref anything.
Avoids the tests just hanging there for ever waiting to acquire a
lock that doesn't exist anymore.
2010-12-05 14:45:07 +01:00
Edward Hervey
f8b8c0476a
check: Use fail_unless_equals_int instead of fail_if
...
Makes the error message more interesting
2010-12-03 14:52:42 +01:00
Stefan Kost
35232cd490
tests: remove newlines between variable decls (old gst-indent failure)
2010-12-03 09:49:26 +02:00
Wim Taymans
5a5c0d6911
tests: fix rtpjpegpay test
...
Make the data we send to the jpeg payloader be a valid jpeg file because the
payloader now expects this.
2010-09-09 18:48:54 +02:00
Sebastian Dröge
89bb403ffc
imagefreeze: Add test for checking if imagefreeze correctly returns UNEXPECTED after the first buffer
2010-09-04 14:52:08 +02:00
Sebastian Dröge
6b705ba6f5
imagefreeze: Add test for bufferalloc passthrough
2010-09-04 14:52:08 +02:00
Sebastian Dröge
5cd240952e
imagefreeze: Fix race conditions in the unit test
...
If setting the pipeline to PLAYING before issuing the seek, buffers
are already arriving at the sink before the seek is handled and
will have the wrong timestamps and everything.
Fixes bug #625547 .
2010-09-04 14:52:08 +02:00
Jonathan Matthew
debe2d5634
id3v2mux: write beats-per-minute tag using TBPM frame
...
https://bugzilla.gnome.org/show_bug.cgi?id=621520
2010-08-05 00:04:48 +01:00
Mark Nauwelaerts
f5adfaed23
tests: rtp payloading: fix pad leak
2010-08-02 13:04:37 +02:00
Zaheer Abbas Merali
e49c31fd25
matroskamux: revert change that set a reserved flag on the Block.
...
So matroska's Block structure has no keyframe flag, only the SimpleBlock has it.
To detect keyframes in Blocks, it is just the BlockGroup container that needs
to have a ReferenceBlock attached if it is a delta frame in video.
2010-06-14 14:28:53 +01:00
Sebastian Dröge
307e7f7a21
matroskamux: Fix unit test for changed key-frame behaviour
...
All audio frames are marked as keyframe now instead of marking
them all as delta unit...
2010-06-10 22:55:17 +02:00
Mark Nauwelaerts
4e5c985ba4
matroskamux: adjust unit test to modified behaviour
2010-06-01 15:55:24 +02:00
Mark Nauwelaerts
b967b035a9
matroskamux: unit test checks version 1 files
2010-05-20 17:32:24 +02:00
Tim-Philipp Müller
14305e4f9b
tests: fix leak in souphttpsrc unit test
...
Unref server objects when done. Fixes check-valgrind.
2010-05-14 18:16:45 +01:00
Tim-Philipp Müller
5fcbea7e7e
Move imagefreeze plugin from -bad to -good
...
Hook up build infrastructure, docs and unit test for new plugin.
Fixes #613786 .
2010-05-11 14:31:44 +01:00
Benjamin Otte
e258a91f8b
Add -Wmissing-declarations -Wmissing-prototypes to configure flags
...
And fix all warnings
2010-05-11 14:31:44 +01:00
Sebastian Dröge
f152f6e20f
imagefreeze: Add some unit tests
2010-05-11 14:31:43 +01:00
Tim-Philipp Müller
f9ced7df94
Move capsfilter element from -bad to -good
...
Hook up moved files to the build infrastructure and docs.
Fixes #617739 .
2010-05-11 14:31:43 +01:00
Benjamin Otte
a200ec01b8
Add -Wold-style-definition
...
and fix the warnings
2010-05-11 14:31:43 +01:00
Mark Nauwelaerts
0eee8477df
capssetter: add unit test
2010-05-11 14:31:43 +01:00
Mark Nauwelaerts
798ccb7e97
y4menc: adjust unit test to element behaviour
2010-04-30 13:54:41 +02:00
Sebastian Dröge
88451daa03
deinterlace: Fix unit test that checks caps handling
...
deinterlace now always adds the interlaced field to the output caps,
if it wasn't present in the input caps the output caps will still
contain interlaced=false.
2010-04-29 19:28:23 +02:00
Sebastian Dröge
f9edd9b169
videofilter: Extend the unit test to test different color formats
2010-04-29 19:28:21 +02:00
Sebastian Dröge
d214820001
videofilter: Add some more tests
...
These check different property combinations
2010-04-29 19:28:21 +02:00
Edward Hervey
552f790e84
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:03:20 +02:00
Edward Hervey
d11998247c
check: Ignore jpegenc test
2010-04-12 11:17:34 +02:00
Thiago Santos
f5dba3a7a3
tests: jpegenc: Adds some getcaps test
...
Adds tests for the jpegenc getcaps function, to avoid
having it returning non-subset caps
2010-04-05 16:10:06 -03:00
Tim-Philipp Müller
c4a9ed774e
tests: use loop test for long-running videocrop check
...
This should avoid timeouts on slow machines.
Fixes #597739 .
2010-03-23 00:19:29 +00:00
Benjamin Otte
412cc10314
Add -Wold-style-definition flag
...
And fix the warnings
2010-03-21 15:17:46 +01:00
Benjamin Otte
3f511ec361
Add -Wwrite-strings to the configure flags
...
... and fix all warnings
2010-03-21 14:17:47 +01:00
Benjamin Otte
c76e72a7f5
Add -Wundef to configure flags
...
and fix the resulting warnings
2010-03-17 21:33:28 +01:00
Benjamin Otte
3342b1679e
Add -Wmissing-declarations -Wmissing-prototypes warning flags
...
And fix all the warnings.
2010-03-17 18:23:28 +01:00
Tim-Philipp Müller
a18164d56e
tests: fix metadata not writable warnings in interleave and deinterleave tests
2010-03-11 15:51:40 +00:00
Tim-Philipp Müller
df2c773e7d
tests: fix metadata not writable warnings with apev2mux and id3v2mux tests
2010-03-11 15:38:19 +00:00
Tim-Philipp Müller
27569e53e8
Make git ignore shapewipe examples and tests
2010-02-19 12:13:08 +00:00