Sebastian Dröge
f1f0625e97
encodebin: Requesting a pad again now gives a g_return_val_if_fail()
...
Before the behaviour was undefined and implemented differently by elements,
now core checks for this (and other problems) and returns NULL and an assertion.
2011-03-29 15:42:50 +02:00
Thiago Santos
40eaac6191
tests: encodebin: Add reuse test case
...
Adds a test case to check if encodebin can be reused
https://bugzilla.gnome.org/show_bug.cgi?id=644416
2011-03-10 15:12:01 -03:00
Sebastian Dröge
eb91fe7162
encodebin: Fix double unref in unit test
2011-02-24 21:00:34 +01:00
Tim-Philipp Müller
2835a9e45c
checks: add a simple unit test for the source-setup signal
2011-02-24 17:47:15 +00:00
Sebastian Dröge
dc87e8698e
encodebin: Fix memory leaks related to request pads
...
Request pads have to be released by the caller and must be
unreffed after releasing them.
2011-02-24 16:02:50 +01:00
Tim-Philipp Müller
01168b83cf
tests: fix videoscale test by ignoring newly-added 64-bit formats
...
They probably fail because ffmpegcolorspace can't handle those formats.
2011-02-21 17:59:40 +00:00
Tim-Philipp Müller
33a5e3e06f
appsink: add buffer fallback in case the application doesn't handle buffer lists
...
We shouldn't assume the application handles buffer lists, for
ease-of-use reasons and for backwards compatibility reasons.
2011-01-31 18:06:18 +00:00
Edward Hervey
949595a7a3
tests: Update container-less profile checks
2010-12-21 13:23:34 +01:00
Edward Hervey
8a3b45aa1f
gst: New encoding plugin
...
https://bugzilla.gnome.org/show_bug.cgi?id=627476
2010-12-15 11:54:32 +01:00
Mark Nauwelaerts
a0e083a717
tests: audioresample: adjust unit test to relaxed discont checking
2010-12-13 13:05:24 +01:00
Sebastian Dröge
0750531378
videoscale: Add unit test for working reverse negotiation
...
See bug #633147 .
2010-10-29 13:25:10 +02:00
Tim-Philipp Müller
d236f9185f
.gitignore: ignore new appsrc unit test
2010-09-24 12:19:43 +01:00
Thiago Santos
24b523e129
appsrc: Do not override buffer caps if appsrc caps is null
...
Make appsrc not set caps on buffers when its own caps is NULL.
This avoids calling make_metadata_writable on all buffers and
prevents losing buffer caps in case we are not replacing it
with something meaningful.
https://bugzilla.gnome.org/show_bug.cgi?id=630353
2010-09-23 08:23:47 -03:00
Thijs Vermeir
2a868b70ec
tests: use gst-check API in videotestsrc
...
use gst_check_drop_buffers in videotestsrc to
clear the global buffers list.
2010-09-16 15:07:15 +02:00
Thijs Vermeir
36e8018ca7
tests: Fix unit test of videotestsrc
...
Use UYVY for unit tests, it's exactly the same as Y422.
(which is currently disabled in videotestsrc)
2010-09-16 15:00:22 +02:00
Thijs Vermeir
78055cc852
tests: videotestsrc change the pattern property for the tests
2010-09-10 10:43:51 +02:00
Sebastian Dröge
acc7d51ce5
videoscale: Add some debug output to the videoscale negotiation test
2010-08-11 18:10:45 +02:00
Tim-Philipp Müller
14649643df
checks: simplify GstBus usage in videoscale unit test
...
There's no need to run a main loop, add a bus watch and deal with
helper structs here just to wait for an EOS message.
2010-06-26 12:03:54 +01:00
Tim-Philipp Müller
3563c7c7a5
checks: speed up videoscale unit test a little
...
Use new gst_element_link_pads_full() function to link elements,
and disable all checks when linking (don't try this at home).
Down to 18s from 3m20s. Scary.
2010-06-26 11:45:34 +01:00
Stefan Kost
aef6123172
tests: use our own macros for the tests main function
2010-06-21 09:53:23 +03:00
Edward Hervey
d17d8e5319
Revert "audioresample: set pads as negotiable"
...
This reverts commit 5f74f3a82e
.
2010-06-15 13:09:37 +02:00
Edward Hervey
be72e1506f
Revert "audioconvert: set pads negotiable"
...
This reverts commit bbd7dee8f6
.
2010-06-15 13:09:29 +02:00
Wim Taymans
bbd7dee8f6
audioconvert: set pads negotiable
2010-06-14 18:10:52 +02:00
Wim Taymans
5f74f3a82e
audioresample: set pads as negotiable
2010-06-14 17:48:58 +02:00
Sebastian Dröge
39c39ff5ab
videoscale: And only expect a single buffer in the unit test
2010-06-14 16:07:21 +02:00
Sebastian Dröge
b62f435fd0
videoscale: Only convert one buffer instead of five
...
Should make the unit test a lot faster.
2010-06-14 16:02:13 +02:00
Sebastian Dröge
8ae112058c
videoscale: Add ffmpegcolorspace after videotestsrc for the unit test
2010-06-13 22:17:18 +02:00
Sebastian Dröge
303566654e
videoscale: Add a unit test for checking if the negotiation works as expected
2010-05-13 11:16:02 +02:00
Benjamin Otte
3bd4aa26ff
Add -Wwrite-strings to configure
...
Fixes for the code included
2010-03-16 17:41:51 +01:00
Benjamin Otte
5e21fa5e0e
gst_element_class_set_details => gst_element_class_set_details_simple
...
Also change my email from the old university one to the current one.
2010-03-16 17:41:50 +01:00
Tim-Philipp Müller
444762a877
tests: fix videorate test
...
Fix up videorate test for latest videotestsrc changes: just check for
the important bits in the negotiated caps, not for exact equality with
our filter caps. Also don't leak the videorate element in the test.
2010-03-16 01:08:48 +00:00
Stefan Kost
412e5f5871
tests: update videorate test for videotestsrc changes
...
Add color-matrix to the caps we are comparing. Add logging og the caps in the
test.
2010-03-15 11:43:23 +02:00
Benjamin Otte
43b1683421
Add -Wmissing-declarations -Wmissing-prototypes to warning flags
...
Includes all the fixes necessary to make stuff compile again.
2010-03-11 13:50:31 +01:00
Benjamin Otte
9b5ef584e2
check: Ref buffers after setting caps on them
...
Reffing makes metadata unwritable, so we need to set the caps before.
2010-03-11 12:18:50 +01:00
Tim-Philipp Müller
c681ecab9f
tests: fix typo in videorate unit test pipeline description
...
Two consecutive ! ! leave a 'Link without source' error in the debug log.
2010-03-10 00:59:10 +00:00
Tim-Philipp Müller
f7ca667189
tests: don't use deprecated functions in videorate unit test
2010-03-10 00:59:10 +00:00
Thiago Santos
e5f96a7a19
videorate: tests: New unit tests for upstream caps nego
...
Adds unit tests that check videorate's upstream caps
negotiation works properly (put passthrough caps
first)
Fixes #608025
2010-02-22 17:27:52 -03:00
Sebastian Dröge
40a841e377
playbin: Fix the primary-decoder-missing test with USE_DECODEBIN2
2010-02-15 10:23:13 +01:00
Sebastian Dröge
b326b77ffa
playbin2: Enable all unit tests
...
They're all working and valgrind clean now.
2010-02-15 08:28:24 +01:00
Sebastian Dröge
ad9830f547
tests: Add decodebin2 test to .gitignore
2010-02-15 06:50:29 +01:00
Sebastian Dröge
93d7bd2c43
decodebin2: Add simple unit test, mainly a copy of the decodebin unit test
...
The only difference between the two unit tests right now is,
that the decodebin2 test resets the element to READY before trying
to reuse it instead of NULL. decodebin2 guarantees to be reusable
without going back to NULL.
2010-02-15 01:21:14 +01:00
Sebastian Dröge
52a34b65b5
playbin: Fix indention in the unit test
2010-02-14 22:16:31 +01:00
Wim Taymans
59ace1b9ee
adder: use collectpads clipping function
...
Install a clipping function in the collectpads and use the audio clipping helper
function to perform clipping to the segment boundaries.
Fixes #590265
2009-12-24 16:30:23 +01:00
Stefan Kost
3d73a7458a
adder: make events succeed, if they succed on atleast one pad
2009-11-19 21:28:23 +02:00
Iago Toral
f63643bd54
subparse: Add support for DKS subtitle format
...
Fixes bug #598936 .
2009-10-22 10:02:11 +02:00
Jan Schmidt
a9f815bd8d
check: Improve audioresample test
...
Make the audioresample test work with CK_FORK=no, and
turn a g_print into a GST_INFO.
2009-09-11 21:44:18 +01:00
Sebastian Dröge
723b2baa5d
volume: Implement GstStreamVolume interface
2009-09-11 16:37:35 +02:00
Sebastian Dröge
e22c843d0e
audioresample: Add unit test for checking for timestamp drifts
...
This also checks for perfect timestamping and offsetting.
2009-08-26 09:10:18 +02:00
Sebastian Dröge
01408497a1
audioresample: Improve debugging a bit in the unit test
2009-08-26 09:10:18 +02:00
Edward Hervey
9819a3519d
tests/adder: Add stream consistency checking. Fixes #588748
2009-07-20 11:30:07 +02:00