Wim Taymans
a95acb7122
make %u in all request pad templates
2011-11-04 11:58:22 +01:00
Tim-Philipp Müller
8d43ab15d9
tests: fix compilation of audio tests in uninstalled setup
2011-10-30 11:41:32 +00:00
René Stadler
fb63372713
tests: audioecho: port to 0.11
2011-10-28 21:22:38 +02:00
René Stadler
ad095ae316
tests: audiochebband: port to 0.11
2011-10-28 21:22:38 +02:00
René Stadler
8e0213a47a
tests: audiocheblimit: port to 0.11
2011-10-28 13:08:48 +02:00
René Stadler
0b3f685dbd
tests: audioamplify: port to 0.11
2011-10-28 13:08:48 +02:00
René Stadler
b44647c043
tests: audiodynamic: port to 0.11
2011-10-28 11:25:37 +02:00
René Stadler
24300315e7
tests: spectrum: port to 0.11
2011-10-28 11:25:37 +02:00
René Stadler
f1c471b2b1
tests: audiopanorama: port to 0.11
2011-10-28 11:25:37 +02:00
Thiago Santos
2490d39a90
tests: aspectratiocrop: Port to 0.11
2011-10-13 15:37:47 -03:00
Thiago Santos
12534340fd
tests: alphacolor: Port to 0.11
2011-10-13 15:37:46 -03:00
Thiago Santos
36d069fe37
tests: cmmlenc: Port to 0.11
2011-10-12 08:09:33 -03:00
Thiago Santos
011c3f4d1b
tests: cmmldec: Port to 0.11
2011-10-12 08:09:16 -03:00
Wim Taymans
586ef0babd
Merge branch 'master' into 0.11
...
Conflicts:
ext/speex/gstspeexdec.c
ext/speex/gstspeexenc.c
gst/isomp4/atoms.c
gst/isomp4/gstqtmux.c
2011-10-06 12:23:39 +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
Wim Taymans
87fbd1e784
Merge branch 'master' into 0.11
...
Conflicts:
common
ext/pulse/pulsesink.c
ext/soup/gstsouphttpclientsink.c
gst/audioparsers/gstaacparse.c
gst/audioparsers/gstac3parse.c
gst/rtp/gstrtph264depay.c
gst/rtpmanager/gstrtpjitterbuffer.c
gst/rtpmanager/rtpjitterbuffer.c
gst/rtsp/gstrtspsrc.c
sys/ximage/gstximagesrc.c
2011-09-28 12:44:59 +02: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
Wim Taymans
33f18b8ea4
Merge branch 'master' into 0.11
...
Conflicts:
gst/audioparsers/gstamrparse.c
gst/isomp4/qtdemux.c
2011-09-06 16:06:25 +02:00
Mark Nauwelaerts
077a306054
tests: parsers: provide more real data when testing draining of garbage
2011-09-05 15:51:53 +02:00
Wim Taymans
77ad0a1363
port more elements to new audio caps and API
2011-08-19 14:01:45 +02:00
Wim Taymans
dfd91ba704
tests: update for _negotiated_caps() change
2011-08-15 12:19:14 +02:00
Edward Hervey
76b1dac41b
check: Use GST_CFLAGS when building tests
...
Ensures we have the proper define for using unstable API
2011-08-05 12:28:05 +02:00
Wim Taymans
4121021bb2
Merge branch 'master' into 0.11
...
Conflicts:
ext/pulse/pulsesink.c
ext/pulse/pulsesrc.c
gst/audioparsers/gstac3parse.c
gst/rtp/gstrtph264depay.c
gst/rtp/gstrtph264pay.c
gst/rtpmanager/gstrtpssrcdemux.c
2011-08-03 18:25:30 +02:00
Edward Hervey
70fcf510be
Revert "tests/check/Makefile.am: Disable autodetect test temporarily, so that the build bots update -bad and the ranks of unr..."
...
This reverts commit 475aed8af6
.
It won't consider elements from anywhere else anymore
2011-08-03 13:33:59 +02:00
Edward Hervey
a2341918c4
check: Update parser mini-lib to 0.11 API
2011-08-03 13:10:46 +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
728732438b
Remove gconf elements and plugin
...
GConf was deprecated in favour of GSettings etc.
2011-06-15 14:37:29 +01: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
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
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
Tim-Philipp Müller
8f501521c7
tests: never disable g_assert() and cast checks for the unit tests
...
The unit tests are riddled with g_assert() and friends, make sure we
don't disable assert and cast checks for the unit tests even if
this has been specified for the rest of the code base, e.g. via
--disable-glib-asserts.
2011-01-07 01:11:02 +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
Sebastian Dröge
4ae9f125f0
wavenc: Fix memory leaks in the unit test
2010-12-19 11:02:41 +01: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
e75c11eb7d
tests: Fix previously unbuildable/untested wavenc test
2010-12-03 15:04:26 +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
a97c77177e
tests: makefile cleanup
...
Fix indentation. Use $(GST_MAJORMINOR) instead of hardcoded 0.10.
2010-12-03 09:49:26 +02:00
Stefan Kost
4843424da3
tests: add a test for wav muxing
2010-12-03 09:49:26 +02:00
Stefan Kost
35232cd490
tests: remove newlines between variable decls (old gst-indent failure)
2010-12-03 09:49:26 +02:00
David Schleef
0e721b81f4
tests: Don't dist generated orc files
2010-10-15 14:02:57 -07:00
Stefan Kost
b72c29a834
tests: allow running state tests for all elements
...
Now one can use GST_NO_STATE_IGNORE_ELEMENTS=1 make generic/states.check
to try elements that would normaly be skipped.
2010-09-09 21:49:43 +03: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
Tim-Philipp Müller
8afc8a7398
tests: add plugin loading whitelist to test environment
...
Only want to load core/base/good plugins here.
Fixes #619717 .
2010-06-24 15:17:11 +01:00
Tim-Philipp Müller
1acafecb2c
tests: ignore sub-directory with orc tests
2010-06-17 16:41:56 +01: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
aa9dc41a6b
tests: Add clean rule for the orc tests
2010-06-12 14:12:50 +02:00
Sebastian Dröge
20b589c793
tests: Add autogenerated orc tests
2010-06-12 14:12:04 +02: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