Commit graph

249 commits

Author SHA1 Message Date
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