Tim-Philipp Müller
dd56714b14
ffmpegcolorspace -> videoconvert
2011-07-07 23:59:59 +01:00
Wim Taymans
3802d2365c
test: port some more tests
2011-06-16 13:41:25 +02:00
Tim-Philipp Müller
a9e4949238
gnomevfs: remove GnomeVFS plugin
...
The gio plugin replaces it.
2011-06-15 00:52:47 +01:00
Tim-Philipp Müller
6b33226281
tests: fix up unit tests for playbin2/decodebin2 renames and updates
...
Even if they don't work yet.
2011-06-15 00:35:58 +01:00
Edward Hervey
4857f50aa4
check/vorbistag: Convert to new probe API
2011-06-03 19:28:33 +02:00
Edward Hervey
e8d11f4ef7
check/playbin2: Update for caps and structure API changes
2011-06-03 19:28:32 +02:00
Edward Hervey
e367798945
check: Use new gst_event_new_segment() API
2011-06-03 19:28:32 +02:00
Wim Taymans
f9967e4aac
Merge branch 'master' into 0.11
...
Conflicts:
gst-libs/gst/video/video.h
gst/playback/gstplaysinkaudioconvert.c
gst/playback/gstplaysinkvideoconvert.c
tests/check/libs/rtp.c
2011-06-02 12:18:13 +02:00
Sebastian Dröge
8f967e9e70
volume: Fix handling of volume>=4.0 for 8 and 16 bit integer formats
...
Also add a unit test for this. Previously volumes bigger than 4.0
would have resulted in overflows in the fixed point processing.
Fixes bug #649642 .
2011-05-31 11:07:11 +02:00
Tim-Philipp Müller
4f6da2bcbc
tests: fix some more unused-but-set-variable warnings with gcc 4.6
2011-05-29 13:32:04 +01:00
Tim-Philipp Müller
0a9600be50
Ignore new playbin2-compress test binary
...
And add old testchannels binary to CRUFT_FILES.
2011-05-28 12:39:06 +01:00
Sebastian Dröge
992e01eb63
audioconvert: Fix audioconvert unit test to work again
2011-05-27 12:13:32 +02:00
Wim Taymans
e614c6bd81
feature: use object name instaed of feature name
2011-05-24 18:21:06 +02:00
Sebastian Dröge
5348de76b1
tests: Update for caps/pad template related API changes
2011-05-17 13:06:01 +02:00
Sebastian Dröge
d0362c2b87
Merge branch 'master' into 0.11
...
Conflicts:
configure.ac
ext/alsa/gstalsasrc.c
gst-libs/gst/audio/gstbaseaudiosink.c
gst-libs/gst/tag/gstxmptag.c
gst/playback/gstsubtitleoverlay.c
gst/videorate/gstvideorate.c
sys/xvimage/xvimagesink.c
2011-05-16 17:06:22 +02:00
Sebastian Dröge
b0e608e308
playbin2: Disable some compressed stream tests that are racy without a stream-activate event
2011-05-14 11:42:33 +02:00
Sebastian Dröge
0e9203df11
playbin2: Reset buffer counter in playbin2-compressed tests every time when going to READY
2011-05-14 11:42:33 +02:00
Sebastian Dröge
22dae31c2d
playbin2: Add unit test for compressed stream support in playbin2/playsink
2011-05-14 11:42:32 +02:00
Wim Taymans
dae5dc1e65
tests: make unit tests compile
2011-04-29 13:48:39 +02:00
Wim Taymans
1514cd7b50
tests: fix test
2011-04-25 11:32:27 +02:00
Wim Taymans
079c152e62
Merge branch 'master' into 0.11
...
Conflicts:
gst/videoscale/gstvideoscale.c
2011-04-25 11:20:45 +02:00
Tim-Philipp Müller
0b5e203b19
tests: add unit test for basetransform/videoscale negotiation regression
...
Turn Rene's test pipeline into a unit test.
https://bugzilla.gnome.org/show_bug.cgi?id=648220
2011-04-21 14:11:49 +01:00
Sebastian Dröge
143c9a089e
tests: Use G_DEFINE_TYPE instead of GST_BOILERPLATE
2011-04-19 14:22:46 +02:00
Sebastian Dröge
352edd1dd9
Merge branch 'master' into 0.11
2011-04-16 09:12:31 +02:00
Sebastian Dröge
86f679aaac
encodebin: Unref encoding profiles after usage in the test
2011-04-14 13:15:08 +02:00
Sebastian Dröge
10e0b85a56
encodebin: Release pads after setting the state to NULL in the unit test
...
See bug #647756 .
2011-04-14 12:55:00 +02:00
Wim Taymans
730b87271c
bufferlist: fixes for new API
2011-03-31 17:47:43 +02:00
Wim Taymans
adaf08f143
Merge branch 'master' into 0.11-fdo
...
Conflicts:
gst-libs/gst/tag/gstxmptag.c
2011-03-30 20:23:54 +02:00
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
Wim Taymans
afc6dbab61
tests: fix more tests
...
refcounts are always 1 because subbuffers don't ref the original buffer anymore,
just the memory.
2011-03-28 17:53:39 +02:00
Wim Taymans
6cb590ba16
tests: fix more unit tests
2011-03-28 17:46:52 +02:00
Wim Taymans
e6dc4c189d
tests: fix some unit tests
2011-03-28 16:54:30 +02:00
Wim Taymans
40dc12da3a
tests: work on porting the unit tests
2011-03-28 14:12:24 +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
Jan Schmidt
de02af8d4f
adder: One more attempt to fix the adder test
...
Give up and discard and recreate the alsasrc after checking it can
be opened, due to some strange crash inside alsa when we don't.
2009-07-14 15:31:13 +01:00
Jan Schmidt
7753d46350
adder: Perform get_state() in the unit test
...
Wait for the alsasrc to return to NULL after setting it to PAUSED for
testing, otherwise it leads to segfaults later on.
2009-07-14 15:06:41 +01:00
Jan Schmidt
b26eae25d0
adder: Don't fail when alsasrc is unavailable
...
Make the liveadder test succeed silently when it can't be completed
either because alsasrc is unavailable, or because the device is
inaccessible.
2009-07-14 14:39:32 +01:00
Stefan Kost
4736429c59
adder: skip live-seek text if we have no audiosrc, add new test
...
The seek-test needs a real audiosrc. Also add a test that checks that adder is
reusable. Finaly handle warnings as warnings to fix a assertion.
2009-07-10 19:01:25 +01:00
Stefan Kost
92ecca7f24
adder: make test more robust
...
Add audioconverts to the live-seeking test to make it negotiate.
2009-07-06 20:44:00 +01:00
Branko Subasic
55a5679d89
Added unit tests for buffer list support in appsink.
2009-06-29 11:59:47 +02:00
Stefan Kost
6688af35eb
adder: test seek handling in adder
...
This tests seeking on an adder that has a normal and a live source connected.
Wheter the current behavior is the desired one needs to be discussed still
(see #586033 )
2009-06-22 22:18:03 +03:00
Tim-Philipp Müller
40bea96ff6
subparse: recognise more subrip timestamp variants
...
Be even less restrictive in what we accept for .srt timestamps when
typefinding and parsing subrip subtitles and add a unit test for
the 'new' format. Fixes #585197 .
2009-06-10 14:41:41 +01:00
Tim-Philipp Müller
a18128a3f6
tests: fix audioresample unit test on big endian architectures
...
Don't hardcode endianness=1234 in the filtercaps, it will cause
pad link failures which will result in the test timing out.
2009-05-12 23:51:08 +01:00
Jan Schmidt
2f01e624f5
check: Fix the input uri in playbin2 test.
...
Don't try and use a random file in wim's home directory as a test input
2009-04-16 00:41:42 +01:00
Wim Taymans
4f89685217
check: add a unit test for playbin2
...
Add unit test for playbin2 and include the refcount test in #577794 .
2009-04-10 13:44:40 +02:00
Wim Taymans
4cdfc4b900
check: fix appsink test
...
Fix the appsink test now that the method signature changed.
2009-04-10 12:27:53 +02:00
Jan Schmidt
df660e91c2
ignores: Ignore the videoscale check binary
2009-04-02 12:18:07 +01:00
Tim-Philipp Müller
d271c8de53
audioresample: fix negotiation so that upstream can actually fixate to downstream's rate
...
If one side has a preference for a particular sample rate or set of sample rates, we
should honour this in the caps we advertise and transform to and from, so that elements
actually know about the other side's sample rate preference and can negotiate to it
if supported. Also add unit test for this.
2009-04-01 15:36:38 +01:00
Sebastian Dröge
5545a9704e
videoscale: Add some more unit tests
2009-03-28 12:48:04 +01:00
Sebastian Dröge
8bb44e0f32
videoscale: Add a lot of unit tests
2009-03-28 10:25:12 +01:00
Wim Taymans
eb7b313369
tests: fix include in the appsink test
...
Fix dist by doing the right include.
2009-03-17 11:03:57 +01:00
Wim Taymans
661f2da6e0
Appsink: add padding for callbacks + docs
...
Add some padding to the callbacks structure just to be safe.
Remove the now invisible marshaller methods from the docs.
Fix a comment in the unit test.
2009-02-26 11:42:44 +01:00