Tim-Philipp Müller
dbcf68abc9
tests: fix videoscale test after video format addition
2013-07-16 18:50:09 +01:00
Young-Ho Cha
6cea51c962
tests: update sami parser testcases
...
Remove libxml dependency for sami parser
and add more testcases.
https://bugzilla.gnome.org/show_bug.cgi?id=693056
2013-07-16 18:10:37 +01:00
Sebastian Dröge
f2bc24a5a9
playbin: Fix assumptions in the unit test
...
Unused sinks are still set to READY now during autoplugging
to check their caps. Also playsink owns a ref to the sinks too.
2013-07-10 13:20:34 +02:00
Sreerenj Balachandran
eabd2a5c7b
tests: add more unit test for playbin
...
Add unit test for autoplugging of video_decoder/video_sink combination
based on capsfeatures.
2013-06-11 15:17:37 +02:00
Sebastian Dröge
f763a2364f
playbin: Rename compressed unit test to complex
...
It's not really about compressed streams anymore, but also
about stream switching and stream combiners.
2013-05-29 10:37:55 +02:00
Sebastian Dröge
0dee7777ff
playbin: Set custom stream-combiners to NULL and unref before finalizing
2013-05-29 10:35:11 +02:00
Brendan Long
f45a102c2c
playbin: Add playbin audio-stream-combiner test using adder
2013-05-29 09:53:46 +02:00
Tim-Philipp Müller
1bc94d4aa3
tests: ignore new NV16 format in videoscale unit test
...
https://bugzilla.gnome.org/show_bug.cgi?id=700377
2013-05-16 11:09:11 +01:00
Sebastian Dröge
061b3e5fec
opus: Fix event handling in unit test
2013-05-15 10:18:01 +02:00
Sebastian Dröge
d8a3895ac9
tests: Fix event order and missing events
2013-05-10 12:29:15 +02:00
Sebastian Dröge
341d67ea94
playbin-compressed: Fix unit test
2013-05-09 18:02:57 +02:00
Sebastian Dröge
fbe295f275
streamsynchronizer: Create element with gst_element_factory_make()
...
Otherwise plugin_init() is not called and initialization is missing.
2013-04-24 11:11:41 +02:00
Thibault Saunier
fbe80a688d
adder: Do not try to wait for flush_stop after receiving a segment event
...
+ Add a simple test
2013-04-21 16:11:41 +02:00
Jonas Holmberg
4ff3972aa7
tests: avoid assert in adder test if no audio sources work
...
The array of factories should not contain a NULL element at the end
since the number of arguments is determined via G_N_ELEMENTS and the
NULL will be used as an argument to gst_element_factory_make() if
the other sources in the list weren't usable.
2013-04-12 11:06:49 +01:00
Sebastian Dröge
3de4200f61
videoscale: Fix unit test after latest videoconvert changes
2013-04-09 14:04:47 +02:00
Sebastian Dröge
99551d806c
videoconvert: Fix unit test after latest videoconvert changes
2013-04-09 13:59:34 +02:00
Tim-Philipp Müller
61bc909189
tests: fix some printf format compiler warnings
2013-03-31 17:37:36 +01:00
Edward Hervey
b3d94bd0e4
encodebin: Add action signal to get pad for a given profile
...
This allows getting a pad for a specific encoding profile, which can
be useful when there are several stream profiles of the same type.
Also update the encodebin unit tests so that we check that the returned
pad has the right caps.
https://bugzilla.gnome.org/show_bug.cgi?id=689845
2013-03-31 12:02:05 +02:00
Stefan Sauer
8fe9f5a6ea
adder: cleanup and reenable adder live source test
...
The test now passed a few rounds of nice -n19 make elements/adder.torture.
2013-03-29 11:49:47 +01:00
Tim-Philipp Müller
5127d31cce
tests: fix appsrc unit test spam
...
spam 1 spam 2 spam 3 spam 4 spam 5
2013-03-13 01:00:45 +00:00
Nicola Murino
2a1dc7ca56
appsrc: fix deadlock setting pipeline in NULL state with block=true
2013-03-12 11:16:57 +01:00
Tim-Philipp Müller
63eda9ddc0
tests: fix leaks in adder unit test
2013-03-03 17:26:03 +00:00
Tim-Philipp Müller
85558575b5
tests: fix leaks in videorate unit test
2013-03-03 17:11:25 +00:00
Tim-Philipp Müller
155468d6ce
tests: fix leak in audioresample unit test
2013-03-03 17:06:38 +00:00
Stefan Sauer
37bf14dafd
tests: add a loop test for adder
2013-02-27 22:07:11 +01:00
Tim-Philipp Müller
ed87e77baa
tests: fix encodebin unit test on 32-bit systems
...
Fixes critical warning on x86:
g_object_set_valist: object class `GstOggMux' has no property named `testingoggmux'
2013-02-16 23:55:57 +00:00
Stefan Sauer
cff9fccc69
adder: use the collect_pads_query func
...
We were setting the query-func on the sink-pad, which got overwritten when
adding the new pad to collect pads. Instead register our query-func with the
collect pads object. This fixes filter caps. Add a test for it.
2013-02-13 21:11:41 +01:00
Sebastian Dröge
c7e93ad043
decodebin: Fix MP3 parser unit test
...
The MP3 parser required fields on its caps that it
didn't need and never got from (e.g.) typefind.
2013-02-13 11:25:02 +01:00
Tim-Philipp Müller
804959ac5f
tests: don't use deprecated thread API in streamsynchronizer test
2013-02-09 16:50:05 +00:00
Stefan Sauer
8296b683ca
volume: a return value of FALSE from the controller is not fatal
...
A return value of FALSE here indicates that we don't have control-values. In
0.10 we were returning the default value of the property. Now we don't fill an
array with defaults in the ControlBinding, but leave it up to the element to
handle this case.
2013-01-09 23:15:06 +01:00
Thibault Saunier
e79f0e801e
encodebing: Use the preset_name as the factory name and preset as the name of the preset
...
The naming is not perfect, but at least we can keep the exact same behaviour as
before.
2012-12-17 10:12:11 -03:00
Thibault Saunier
12aef5f47d
tests: encodebin: Properly rename new preset test
2012-12-05 17:53:19 -03:00
Thibault Saunier
7358cba017
encodebin: Make use of the new preset_name when setting a preset
...
The behaviour is sensibly changed here. Instead of purely falling when a
preset is set on the #GstEncodingProfile, we now make sure that the
element that is plugged corresponds to the one specified as preset. Then,
if we have a preset_name, we use it, if it fails, we fail (we might rather
just keep working even without setting the element properties?)
+ Add tests that it behave correctly
2012-12-05 17:48:38 -03:00
Tim-Philipp Müller
0b172593fa
tcp: print warning if someone tries to add clients in NULL state
...
And mention this in docs.
https://bugzilla.gnome.org/show_bug.cgi?id=689326
2012-12-02 12:54:17 +00:00
Tim-Philipp Müller
64c4fa2ca0
test: add test for playbin in combination with appsink
...
Make sure appsink works multiple times in a row.
Disable it though for now though.
https://bugzilla.gnome.org/show_bug.cgi?id=644989
2012-11-29 15:00:39 +00:00
Sebastian Dröge
9e8e3dfef4
videoscale: Fix unit test to ignore unsupported color formats
2012-11-27 10:30:39 +01:00
Tim-Philipp Müller
3e208df632
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:09:59 +00:00
Tim-Philipp Müller
5f59b4f7ee
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-03 23:05:09 +00:00
Rasmus Rohde
c286f8ffa2
audioconvert: Prefer output formats with the same depth or at least a higher depth
...
Enhance current code to prefer an exact match on sample depth if
possible. Also ignore GST_AUDIO_FORMAT_FLAG_UNPACK when checking
equality on the flags.
2012-11-01 14:29:43 +01:00
Tim-Philipp Müller
3bc58b6309
tests: skip adder test_live_seeking test while it's unreliable
...
Was an issue in 0.10 as well.
https://bugzilla.gnome.org/show_bug.cgi?id=617418
2012-10-06 15:35:11 +01:00
Tim-Philipp Müller
6842698f0d
Purge all references to liboil
...
And remove unused ffmpegcolorspace tests in the process.
https://bugzilla.gnome.org/show_bug.cgi?id=673285
2012-09-29 11:47:52 +01:00
Mark Nauwelaerts
c629a44162
replace gst_tag_list_free with gst_tag_list_unref
2012-09-14 17:53:21 +02:00
Mark Nauwelaerts
f7c247b6a3
replace gst_element_class_set_details_simple with gst_element_class_set_metadata
2012-09-14 17:02:59 +02:00
Mark Nauwelaerts
536276eee1
tests: port to the new GLib thread API
2012-09-12 13:09:27 +02:00
Wim Taymans
35441abcde
tests: fix unit test
...
Add support for I422_10
2012-09-12 10:12:25 +02:00
Olivier Crête
24fa2ac653
test: Flush opus encoder between tests
2012-09-11 18:02:28 -04:00
Olivier Crête
f4f714fc6b
test: Flush opus encoder between tests
2012-09-11 18:01:58 -04:00
Tim-Philipp Müller
6b670d701c
gdp: move gdp plugin to -bad
...
It needs to be reworked for 1.0
2012-09-11 01:33:11 +01:00
Tim-Philipp Müller
175bd55a66
tests: fix socket leaks in multisocketsink unit test
2012-09-09 00:18:16 +01:00
Tim-Philipp Müller
fa454a6240
tests: fix audioresample unit test for big-endian systems
2012-09-07 01:39:38 +01:00
Tim-Philipp Müller
b3771378c9
tests: fix audiorate unit test on big-endian systems
2012-09-07 01:26:50 +01:00
Mark Nauwelaerts
3dd7e1f3c4
tests: playbin: do not leak uri strings
2012-09-06 15:04:33 +02:00
Tim-Philipp Müller
f4bd96d899
tests: make git ignore streamsynchronizer test binary
2012-09-03 18:57:00 +01:00
Tim-Philipp Müller
7c2e7b1a4f
text/plain + text/x-pango-markup -> text/x-raw
2012-09-02 02:45:41 +01:00
Edward Hervey
47d132e651
check: Don't fail on GST_MESSAGE_WARNING
...
we will get some because some elements aren't present.
If the availability of those elements was critical, we will
eventually get an error message
2012-08-30 16:54:17 -07:00
Edward Hervey
784ca61ced
check: Add streamsynchronizer unit test
2012-08-14 18:56:14 +02:00
Tim-Philipp Müller
5adc87c6bd
tests: fix vorbisdec test
...
There won't be a tag messages on the bus, because tags
are now sent downstream for sinks to post on the bus,
and there's no sink involved here that would do that.
Secondly, the audio decoder base class only sends the
tags out once it has received some non-header data as
input, which is not something we're providing here.
2012-08-09 00:54:30 +01:00
Tim-Philipp Müller
910e497421
tests: remove custom tcase_skip_broken_test define which is now in core
2012-08-05 17:25:59 +01:00
Tim-Philipp Müller
d4f582edd6
tests: silence FIXMEs when running videoscale unit test
2012-08-05 17:21:31 +01:00
Tim-Philipp Müller
ec13933aaa
tests: add adder test to check that caps are sent downstream
2012-08-04 22:25:08 +01:00
Tim-Philipp Müller
7892e1e22f
videoscale: fix 4-tap scaling for 64-bpp formats
...
Fix invalid memory access caused by broken pointer arithmetic.
If we have a uint16_t *tmpbuf and add n * dest->stride to it, we
skip twice as much as we intended to because dest->stride is in
bytes and not in pixels. This made us write beyond the end of
our allocated temp buffer, and made the unit test crash.
2012-08-04 22:05:21 +01:00
Tim-Philipp Müller
a0a9ebba43
tests: add videoconvert test that checks formats in template caps
2012-07-17 00:35:28 +01:00
Tim-Philipp Müller
94a9bf10f3
tests: no need to blacklist 64-bit formats in videoscale test any longer
...
Since we now use videoconvert, which supports these.
Unfortunately videoscale still crashes with 64-bit formats
right now because of a too small temp buffer, but I'm sure
someone is going to fix this real soon now, just like the
other unit tests.
2012-07-17 00:31:57 +01:00
Tim-Philipp Müller
73330fc568
tests: add videoscale test to check pad template formats
2012-07-17 00:31:14 +01:00
Stefan Sauer
2f8b9829c7
adder: add a tests for the aggregation of durations
2012-07-16 11:27:57 +02:00
Stefan Sauer
ff120f6aa9
adder: cleanup test
...
Use right type for StateChangeReturn and avoid needless G_OBJECT casts.
2012-07-16 11:27:57 +02:00
Stefan Sauer
7921f4b26e
tests: use more expressive check assertion macros
2012-07-09 19:59:53 +02:00
Sebastian Dröge
233622437f
elements: Use gst_pad_set_caps() instead of manual event fiddling
2012-06-08 15:51:06 +02:00
Wim Taymans
29d24d4658
playbin: add current-*uri properties
...
Make the uri property getter return the next uri, like it was configured in the
setter.
Make a new current-uri and current-suburi property that reflects the currently
playing uri and suburi.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=676665
2012-05-25 15:18:46 +02:00
Stefan Sauer
ad090a612d
volume: add a control point for the test
2012-04-25 20:09:17 +02:00
Stefan Sauer
bcbb58ccbd
volume: cast outputs to correct type before comparing
2012-04-25 20:09:17 +02:00
Sebastian Dröge
69b18ab09d
gst-libs: Remove interfaces libs and mixer/tuner interfaces
...
The navigation interface is now in the video library.
2012-04-13 13:14:13 +02:00
Mark Nauwelaerts
67b29f85a2
tests: videorate: remove obsolete color-matrix caps field
2012-04-13 12:21:34 +02:00
Edward Hervey
5fd3f8f2c1
check: Fix one leak in volume test
2012-04-12 15:06:15 +02:00
Mark Nauwelaerts
9c90e728ad
tests: port some more to 1.0
2012-04-10 17:29:12 +02:00
Mark Nauwelaerts
0acef1dbe9
tests: various fixes
...
... such as setting input caps, ensuring to unmap and bearing in
mind that gst_buffer_make_writable usually does not provide
a separate memory copy/area.
2012-04-03 18:31:27 +02:00
Mark Nauwelaerts
fd9b69fb33
tests: videoscale: fix passthrough unit test
...
... to really only test the indicated scaling method rather than
all of them.
2012-04-02 17:03:48 +02:00
Wim Taymans
345dc31f20
update for buffer api change
2012-03-30 18:15:30 +02:00
Mark Nauwelaerts
9289476e77
tests: plug various caps leaks
2012-03-30 16:56:45 +02:00
Edward Hervey
4935af23e7
tests: Fix subparse test
...
It wasn't checking the srt_input2
2012-03-30 11:56:18 +02:00
Edward Hervey
2325a2beae
videoscale: Fix comparision
2012-03-30 11:56:18 +02:00
Wim Taymans
8e13d30a5a
tests: don't include element header files
2012-03-21 13:19:50 +01:00
Wim Taymans
679b9b166f
tests: update for caps api changes
2012-03-12 17:16:46 +01:00
Tim-Philipp Müller
29c266ccff
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
common
docs/libs/gst-plugins-base-libs.types
ext/pango/gsttextoverlay.c
ext/vorbis/gstvorbisdec.c
gst/playback/gstplaysink.c
gst/playback/gstplaysinkconvertbin.c
sys/ximage/ximagesink.c
sys/xvimage/xvimagesink.c
2012-03-08 20:31:34 +00:00
Edward Hervey
752ba3149f
check: Disable another lanczos videoscale test
...
Segfaults hard
2012-03-08 15:25:02 +01:00
Wim Taymans
c3672b88f1
tests: fix more caps
2012-03-08 11:32:27 +01:00
Wim Taymans
591ff74d7d
tests: deal with lists of formats
2012-03-08 10:59:48 +01:00
Sebastian Dröge
f7939bb43f
Merge branch 'master' into 0.11
...
Conflicts:
NEWS
RELEASE
configure.ac
docs/plugins/gst-plugins-base-plugins.args
docs/plugins/gst-plugins-base-plugins.hierarchy
docs/plugins/gst-plugins-base-plugins.interfaces
docs/plugins/inspect/plugin-adder.xml
docs/plugins/inspect/plugin-alsa.xml
docs/plugins/inspect/plugin-app.xml
docs/plugins/inspect/plugin-audioconvert.xml
docs/plugins/inspect/plugin-audiorate.xml
docs/plugins/inspect/plugin-audioresample.xml
docs/plugins/inspect/plugin-audiotestsrc.xml
docs/plugins/inspect/plugin-cdparanoia.xml
docs/plugins/inspect/plugin-encoding.xml
docs/plugins/inspect/plugin-ffmpegcolorspace.xml
docs/plugins/inspect/plugin-gdp.xml
docs/plugins/inspect/plugin-gio.xml
docs/plugins/inspect/plugin-gnomevfs.xml
docs/plugins/inspect/plugin-libvisual.xml
docs/plugins/inspect/plugin-ogg.xml
docs/plugins/inspect/plugin-pango.xml
docs/plugins/inspect/plugin-playback.xml
docs/plugins/inspect/plugin-subparse.xml
docs/plugins/inspect/plugin-tcp.xml
docs/plugins/inspect/plugin-theora.xml
docs/plugins/inspect/plugin-typefindfunctions.xml
docs/plugins/inspect/plugin-uridecodebin.xml
docs/plugins/inspect/plugin-videorate.xml
docs/plugins/inspect/plugin-videoscale.xml
docs/plugins/inspect/plugin-videotestsrc.xml
docs/plugins/inspect/plugin-volume.xml
docs/plugins/inspect/plugin-vorbis.xml
docs/plugins/inspect/plugin-ximagesink.xml
docs/plugins/inspect/plugin-xvimagesink.xml
gst-libs/gst/app/gstappsink.c
gst-libs/gst/audio/mixer.c
gst-libs/gst/audio/mixer.h
gst-libs/gst/tag/gstxmptag.c
gst-libs/gst/video/colorbalance.c
gst-libs/gst/video/colorbalance.h
gst/adder/gstadder.c
gst/playback/gstplaybasebin.c
gst/playback/gstplaybin2.c
gst/playback/gstplaysink.c
gst/videoscale/gstvideoscale.c
tests/check/elements/videoscale.c
tests/examples/seek/seek.c
tests/examples/v4l/probe.c
win32/common/_stdint.h
win32/common/audio-enumtypes.c
win32/common/config.h
2012-03-02 10:00:55 +01:00
Stefan Sauer
22bef18b96
test: improve adder test on event handling
...
Use new consitency checker api to test event handling in more detail.
2012-02-29 21:51:00 +01:00
Edward Hervey
59918e841f
Suppress deprecation warnings in selected files, for g_value_array_* mostly
2012-02-27 14:28:15 +01:00
Tim-Philipp Müller
2b0b1e4ece
tests: add some videoscale tests for new Lanczos-based method
...
Some crash. Others show invalid memory access in valgrind.
2012-02-26 23:46:50 +00:00
Tim-Philipp Müller
63d1316c0f
videoscale: fix negotiation after addition of new formats and methods
...
Now that we no longer support all methods for all formats, we
need to cater for that in the transform function: we can't
transform formats not supported by the currently-selected
mehod.
make check, folks. It's da bomb.
2012-02-26 23:46:50 +00:00
Tim-Philipp Müller
92ebd6bd2a
videoscale: fix videoscale test for new methods
...
Not all scaling methods are supported for all formats, so
can't just iterate over the template caps.
2012-02-26 23:46:50 +00:00
Tim-Philipp Müller
7bf7b32cd5
tests: add multisocketsink test binary to .gitignore
2012-02-25 13:01:53 +00:00
Tim-Philipp Müller
8f6d23d6ed
tests: fix multisocketsink unit test
...
Activate pad properly before using it.
2012-02-25 00:49:27 +00:00
Wim Taymans
63f3f27164
update for new memory api
2012-02-22 02:05:24 +01:00
Tim-Philipp Müller
a350c28aed
tests: activate pad in multifdsink test before pushing on it
2012-02-17 19:29:10 +00:00
Wim Taymans
d1beba8b6d
tests: fix after baseparse api change
2012-02-14 10:50:45 +01:00
Thomas Vander Stichele
a69a438d6c
fix up tests
2012-02-12 22:28:31 +01:00
Thomas Vander Stichele
029b9b49de
multihandle: rename num-fds/-sockets to num-handles
2012-02-12 22:23:45 +01:00
Thomas Vander Stichele
d4429ecef9
tests multihandle: verify number of handles
2012-02-12 22:23:45 +01:00
Thomas Vander Stichele
14ac8bb585
multihandlesink: rework to use GST_TYPE_FORMAT
2012-02-12 22:23:44 +01:00
Thomas Vander Stichele
8b6ade8113
multisocketsink: fix tests by setting units properly
2012-02-12 22:23:44 +01:00
Thomas Vander Stichele
16a675081d
test: use more literal enums
2012-02-12 22:23:44 +01:00
Thomas Vander Stichele
020739664a
multihandlesink: further refactoring
2012-02-12 22:23:44 +01:00
Thomas Vander Stichele
99185cc8f5
multisocketsink: fix refcounting bug
2012-02-12 22:17:56 +01:00
Thomas Vander Stichele
d21c42a709
multihandlesink: fix one bug in multisocketsink refactoring
2012-02-12 22:10:51 +01:00
Thomas Vander Stichele
684aa4baaf
gst/tcp: Factor out common symbols; fix tests.
2012-02-12 22:07:29 +01:00
Thomas Vander Stichele
3b0fae73ae
multifdsink: put back multifdsink before refactoring
2012-02-12 22:07:29 +01:00
Thomas Vander Stichele
34ce295d3b
multisocketsink: copy over multifdsink unit tests, with FIXME
2012-02-12 22:07:28 +01:00
Wim Taymans
be22feb106
tests: don't run with unsupported formats
...
videoconvert does not work with GRAY formats yet so don't try to run the unit
test with it.
2012-02-10 15:41:36 +01:00
Wim Taymans
a75e9102c5
GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING
2012-02-08 15:17:49 +01:00
Wim Taymans
1f4b819a90
tests: fix volume test
2012-02-03 15:01:50 +01:00
Wim Taymans
a8a4ff9428
tests: video testsrc unit test
2012-02-03 12:53:49 +01:00
Wim Taymans
d8b6baacae
tests: fix more unit tests
2012-02-03 12:41:10 +01:00
Wim Taymans
62b43b3bcd
tests: don't set NULL caps
2012-02-03 12:09:34 +01:00
Wim Taymans
c24df0e50f
gdp: fixup unit tests
2012-02-03 11:38:55 +01:00
Wim Taymans
48b190c7be
tests: fix audioresample test
2012-02-03 10:47:22 +01:00
Wim Taymans
8c894ce8b4
tests: fix audiorate test
...
We need to add the layout to the audio caps.
2012-02-03 09:57:21 +01:00
Wim Taymans
29cc1d2ce1
tests: fix audioresample formats
2012-01-31 17:56:04 +01:00
Wim Taymans
f95d340758
tests: improve tests
2012-01-31 17:47:40 +01:00
Wim Taymans
a948398e85
tests: fix some more tests
2012-01-31 16:56:03 +01:00
Wim Taymans
d389b12df9
tests: update after controller changes
2012-01-31 16:12:33 +01:00
Stefan Sauer
ace90e6e2b
controller: adapt to control-source type changes
2012-01-31 12:28:30 +01:00
Stefan Sauer
1696b14f8f
controller: rename control-bindings
...
gst_control_binding_xxx -> gst_xxx_control_binding for consistency.
2012-01-30 21:38:41 +01:00
Wim Taymans
be0cadac03
update for HEADER flag changes
2012-01-30 17:16:17 +01:00
Wim Taymans
fcdc385aa1
port to new map API
2012-01-25 12:30:53 +01:00
Stefan Sauer
b55d67b1d2
controller: move from control-binding to control-binding-direct
2012-01-23 11:03:53 +01:00
Stefan Sauer
ee434b8471
controller: adapt to control_binding changes
2012-01-20 14:44:19 +01:00
Stefan Sauer
0e370d4902
controller: adapt to controller api changes
...
Don't use the convenience api for control sources.
2012-01-20 11:39:10 +01:00
Wim Taymans
ea9ef0ee63
tests: fix some tests
2012-01-19 15:32:52 +01:00
Sebastian Dröge
cd3eeed6b3
tcp: Remove remaining unused stuff
2012-01-16 11:31:46 +01:00
Vincent Penquerc'h
3cb98f2674
tests: fix buffer leaks in opus tests
2012-01-11 13:32:36 +00:00
Sebastian Dröge
d7c1b90a50
audioconvert: Update unit test for the new multichannel caps
2012-01-05 10:34:20 +01:00
Wim Taymans
a01fad7024
tests: port and enable more unit tests
2012-01-04 16:41:53 +01:00
Wim Taymans
e9c23ca4fb
tests: small cleanup
2012-01-02 18:31:05 +01:00
Tim-Philipp Müller
26e612aeda
playback, mixerutils: gst_registry_get_default() -> gst_registry_get()
2012-01-02 14:32:11 +00:00
Wim Taymans
73c4a4ffc6
tests: remove unsupported formats
...
Remove tests for a format that is no longer supported
2012-01-02 15:00:51 +01:00
Stefan Sauer
68c362c0e5
controller: port to latest API changes
2011-12-31 09:59:08 +01:00
Edward Hervey
f562a29284
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
ext/theora/gsttheoraenc.c
gst-libs/gst/tag/gstexiftag.c
gst/adder/gstadder.c
gst/adder/gstadder.h
gst/playback/gstdecodebin2.c
gst/playback/gstsubtitleoverlay.c
tests/check/libs/tag.c
2011-12-30 13:21:35 +01:00
Edward Hervey
b6d3b1ac97
check/decodebin: Fix callback signature
...
The "gboolean last" argument is gone.
2011-12-28 16:34:56 +01:00
Tim-Philipp Müller
862d9f741e
gdp: move dataprotocol library into gdp plugin and make private
...
We have removed things like protocol=gdp in the tcp elements
in favour of explicit gdppay/depay elements, so there's no need
to keep a public API and library for now. We can still add it
back later. Someone needs to think hard about 0.11 and gdp
anyway one of these days.
2011-12-25 23:25:42 +00:00
Tim-Philipp Müller
bb351f404e
tests: remove more propertyprobe cruft
2011-12-25 21:37:42 +00:00
Stefan Sauer
6e1b51d02c
controller: port to new interpolation-mode api
2011-12-19 23:41:25 +01:00
Stefan Sauer
1e14fb131e
controller: port to new controller api
2011-12-19 22:53:14 +01:00
Tim-Philipp Müller
177525f89f
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
gst-libs/gst/netbuffer/gstnetbuffer.c
gst/ffmpegcolorspace/avcodec.h
gst/ffmpegcolorspace/gstffmpegcodecmap.c
gst/ffmpegcolorspace/imgconvert.c
gst/ffmpegcolorspace/imgconvert_template.h
gst/ffmpegcolorspace/mem.c
gst/playback/README
gst/playback/gstplaybasebin.c
gst/playback/gstplaybasebin.h
gst/playback/gstplaybin.c
sys/v4l/v4lmjpegsrc_calls.c
sys/v4l/videodev_mjpeg.h
tests/check/elements/gnomevfssink.c
2011-12-02 11:10:17 +00:00
Piotr Fusik
14644457b0
various: typo fixes
...
Fix typos in code and docs. Fixes. #658984
2011-12-02 12:03:27 +01:00
Tim-Philipp Müller
ec0d3566bf
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
ext/alsa/gstalsasrc.c
ext/alsa/gstalsasrc.h
gst/adder/gstadder.c
gst/playback/gstplaybin2.c
gst/playback/gstplaysinkconvertbin.c
win32/common/libgstvideo.def
2011-12-02 00:07:39 +00:00
Tim-Philipp Müller
3c87d7dc77
tests: fix caps leak in audioresample tests
2011-12-01 01:22:19 +00:00
Edward Hervey
8274abcb69
tests: More fixes for moved interfaces
2011-11-30 11:34:23 +01:00
Vincent Penquerc'h
96374054ac
various: fix pad template leaks
...
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:09:02 +00:00
René Stadler
2094171aae
tests: update for gstcheck API change
2011-11-24 21:47:02 +01:00
Vincent Penquerc'h
e7228fc0b3
opus: add test
2011-11-22 19:08:39 +00:00
Wim Taymans
7402d3a3d2
update for _get_caps() -> _query_caps()
2011-11-15 18:04:17 +01:00
Tim-Philipp Müller
c76e5804b3
Update for GstURIHandler get_protocols() changes
2011-11-13 23:44:23 +00:00
Wim Taymans
308f6301a8
update for pad probe api changes
2011-11-08 11:08:21 +01:00
Stefan Sauer
0019bcaa47
controller: port to new location and api changes
2011-11-04 20:14:54 +01:00
Wim Taymans
cf8481b990
fix pad template names for request pads
2011-11-04 10:49:48 +01:00
Tim-Philipp Müller
b52c5819fb
Update for pad API changes
...
GstProbeType, GstProbeReturn and GstActivateMode -> GstPad*
2011-11-01 00:34:28 +00:00
Tim-Philipp Müller
5ee51e47a1
ext, gst, gst-libs, tests: update for tag list API changes
2011-10-31 14:22:39 +00:00
Wim Taymans
8417a7103a
tests: fix compilation
2011-10-27 17:33:06 +02:00
Tim-Philipp Müller
303dbaf84b
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
tests/check/pipelines/vorbisdec.c
tests/check/pipelines/vorbisenc.c
2011-10-09 16:08:36 +01:00
Mark Nauwelaerts
12b54cccd1
tests: vorbisdec: remove empty header buffer check
...
... as empty buffers are discarded, and header buffers are now
also optionally retrieved from caps anyway.
2011-10-08 20:50:06 +02:00
Wim Taymans
73b894107a
Merge branch 'master' into 0.11
...
Conflicts:
ext/vorbis/gstvorbisdec.c
ext/vorbis/gstvorbisenc.c
ext/vorbis/gstvorbisenc.h
gst/audiotestsrc/gstaudiotestsrc.c
2011-10-08 10:19:06 +02:00
Vincent Penquerc'h
be39ab28c3
tests: actually test what we said we would
...
All tests were testing the default sine wave
https://bugzilla.gnome.org/show_bug.cgi?id=661106
2011-10-06 20:46:03 +02:00
Wim Taymans
d3f6a95cff
tests: update for new audio caps
2011-09-29 13:46:36 +02:00
Tim-Philipp Müller
754b22d7ee
libs: remove unused floatcast header-only library
...
There's no code whatsoever that uses these macros. If anyone
ever feels the need to resurrect them, we should add them to
gstutils.h in core or libgstaudio or so.
2011-09-23 21:18:47 +01:00
Edward Hervey
17bfba09f1
Merge branch 'master' into 0.11
...
Conflicts:
ext/ogg/gstoggdemux.c
ext/pango/gsttextoverlay.c
gst-libs/gst/audio/gstaudioencoder.c
gst-libs/gst/audio/gstbaseaudiosrc.c
gst/playback/gstsubtitleoverlay.c
gst/videorate/gstvideorate.c
2011-09-23 18:27:11 +02:00
Sjoerd Simons
8ab3947733
videorate: Add tests for the max-rate case
2011-09-21 11:24:59 +01:00
Sjoerd Simons
8c9e6346b4
videorate: Print which caps didn't match up
2011-09-21 11:24:59 +01:00
Sjoerd Simons
ee3dfd4471
videorate: Add test for caps negotiation
2011-09-21 11:24:59 +01:00
Sebastian Dröge
7e1e169b1b
decodebin2: Fix unit test by strictly implementing parser behaviour instead of relying on basetransform
2011-09-20 13:46:41 +02:00
Sebastian Dröge
0f654f3feb
Merge branch 'master' into 0.11
...
Conflicts:
docs/libs/Makefile.am
tests/check/elements/decodebin2.c
2011-09-08 14:42:00 +02:00
Sebastian Dröge
0e54d2c343
decodebin2: Don't use bufferalloc in the test elements
...
This will cause not-linked errors that usually don't happen
because normal decoders/parsers will set srcpad caps before
allocating buffers from downstream.
2011-09-07 16:44:59 +02:00
Sebastian Dröge
2d1dd857aa
audiorate: Use complete audio caps, including the endianness field
2011-09-07 14:10:46 +02:00
Sebastian Dröge
490518cfa6
decodebin2: Add unit test for correct parser/converter negotiation
2011-09-06 13:16:44 +02:00
Sebastian Dröge
a883ecfc31
decodebin2: Add Tim as author for the parser test
2011-09-06 13:16:44 +02:00
Wim Taymans
c81c62d03a
fourcc: remove fourcc
...
Remove fourcc in caps.
Fix pbutils descriptions.
Add more video macros
Fix some unit test
2011-08-22 12:22:02 +02:00
Wim Taymans
33467d9629
Merge branch 'master' into 0.11
...
Conflicts:
configure.ac
ext/pango/gsttextoverlay.c
ext/theora/gsttheoradec.c
gst/adder/gstadder.c
gst/adder/gstadder.h
gst/audioresample/gstaudioresample.c
gst/encoding/gstencodebin.c
gst/playback/gstdecodebin.c
gst/playback/gstdecodebin2.c
tests/check/elements/decodebin2.c
tests/check/elements/playbin-compressed.c
win32/common/libgsttag.def
2011-08-16 18:01:14 +02:00
Vincent Penquerc'h
505bae099e
audioresample: add FFT based checks
...
Send a few simple tones through audioresample and check
that the main frequency spot is the same for the input and
the resampled output.
https://bugzilla.gnome.org/show_bug.cgi?id=656392
2011-08-16 08:14:18 +02:00
Stefan Kost
4019e919f6
tests: rename the test suite to match the binary
...
This unbreaks determining the name for make elements/playbin2-compressed.check
from the test output.
2011-07-26 12:37:11 +02:00
Tim-Philipp Müller
69dcacf148
tests: add decodebin2 test for parser autoplugging
...
Make sure decodebin2 doesn't try to plug the same parser twice
in a row.
2011-07-15 16:47:44 +01:00
Tim-Philipp Müller
b3a39daed6
tests: add decodebin1 test for parser autoplugging
...
Make sure decodebin1 doesn't try to plug the same parser twice
in a row (so we can change all parsers to accept parsed input as
well without breaking applications still using the old decodebin1
element).
2011-07-15 16:41:10 +01:00
Tim-Philipp Müller
34d1d7a8d4
tests: make adder test and libgstvideo test compile, disable some tests
...
Don't fully work yet though
2011-07-08 16:37:33 +01:00
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
Wim Taymans
e5d8551552
Add method to install callbacks on appsink
...
Based on pacth by Martin Samuelsson <martin dot samuelsson at axis dot com>
Fixes #571299 .
Add gst_app_sink_set_callbacks() to install a set of callbacks. This is a more
performant alternative to connecting to the signals.
Add a unit test for appsink.
Clean up some of the appsink docs.
API: GstAppSink::gst_app_sink_set_callbacks()
2009-02-19 10:44:31 +01:00
Sebastian Dröge
5dfcb63252
Rename files and types from speexresample to audioresample
...
Rename files and types from speexresample to audioresample
to finish the move and to prevent any confusion.
2009-01-23 12:33:41 +01:00
Sebastian Dröge
153406eef5
Rename the moved speexresample to audioresample, integrate into the build system and remove the old audioresample fro...
...
Original commit message from CVS:
* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* docs/plugins/gst-plugins-base-plugins.args:
* docs/plugins/gst-plugins-base-plugins.hierarchy:
* docs/plugins/gst-plugins-base-plugins.interfaces:
* docs/plugins/gst-plugins-base-plugins.prerequisites:
* docs/plugins/inspect/plugin-adder.xml:
* docs/plugins/inspect/plugin-alsa.xml:
* docs/plugins/inspect/plugin-audioconvert.xml:
* docs/plugins/inspect/plugin-audiorate.xml:
* docs/plugins/inspect/plugin-audioresample.xml:
* docs/plugins/inspect/plugin-audiotestsrc.xml:
* docs/plugins/inspect/plugin-cdparanoia.xml:
* docs/plugins/inspect/plugin-decodebin.xml:
* docs/plugins/inspect/plugin-ffmpegcolorspace.xml:
* docs/plugins/inspect/plugin-gdp.xml:
* docs/plugins/inspect/plugin-gio.xml:
* docs/plugins/inspect/plugin-gnomevfs.xml:
* docs/plugins/inspect/plugin-libvisual.xml:
* docs/plugins/inspect/plugin-ogg.xml:
* docs/plugins/inspect/plugin-pango.xml:
* docs/plugins/inspect/plugin-playback.xml:
* docs/plugins/inspect/plugin-queue2.xml:
* docs/plugins/inspect/plugin-subparse.xml:
* docs/plugins/inspect/plugin-tcp.xml:
* docs/plugins/inspect/plugin-theora.xml:
* docs/plugins/inspect/plugin-typefindfunctions.xml:
* docs/plugins/inspect/plugin-uridecodebin.xml:
* docs/plugins/inspect/plugin-video4linux.xml:
* docs/plugins/inspect/plugin-videorate.xml:
* docs/plugins/inspect/plugin-videoscale.xml:
* docs/plugins/inspect/plugin-videotestsrc.xml:
* docs/plugins/inspect/plugin-volume.xml:
* docs/plugins/inspect/plugin-vorbis.xml:
* docs/plugins/inspect/plugin-ximagesink.xml:
* docs/plugins/inspect/plugin-xvimagesink.xml:
* gst/speexresample/gstspeexresample.c: (plugin_init):
* gst/speexresample/Makefile.am:
* tests/check/Makefile.am:
* tests/check/elements/speexresample.c: (setup_speexresample),
(GST_START_TEST), (test_pipeline):
Rename the moved speexresample to audioresample, integrate into the
build system and remove the old audioresample from the build system.
Fixes bug #558124 , #385061 , #346218 , #116051 .
2008-11-27 16:57:09 +00:00
Sebastian Dröge
ecf6fe6455
tests/check/elements/speexresample.c: Make unit test again faster to prevent timeouts with valgrind.
...
Original commit message from CVS:
* tests/check/elements/speexresample.c: (test_pipeline):
Make unit test again faster to prevent timeouts with valgrind.
2008-11-25 16:37:50 +00:00
Jon Trowbridge
0bdeaae59e
gst/volume/gstvolume.*: Cleanup volume, define and use default values.
...
Original commit message from CVS:
* gst/volume/gstvolume.c: (volume_choose_func),
(volume_update_volume), (gst_volume_set_volume),
(gst_volume_get_volume), (gst_volume_set_mute),
(gst_volume_class_init), (gst_volume_init),
(volume_process_double), (volume_process_float),
(volume_process_int32), (volume_process_int32_clamp),
(volume_process_int24), (volume_process_int24_clamp),
(volume_process_int16), (volume_process_int16_clamp),
(volume_process_int8), (volume_process_int8_clamp), (volume_setup),
(volume_transform_ip), (volume_set_property),
(volume_get_property):
* gst/volume/gstvolume.h:
Cleanup volume, define and use default values.
Recalculate new volume and mute setup before processing. Fixes #561789 .
* tests/check/elements/volume.c: (GST_START_TEST), (volume_suite):
Add controller unit test. Patch by: Jonathan Matthew
Fix bogus test that messed with basetransform's internal state.
2008-11-24 12:03:11 +00:00
Sebastian Dröge
f31ea1e221
tests/check/elements/speexresample.c: Make the unit test a bit faster to prevent timeouts, especially with valgrind.
...
Original commit message from CVS:
* tests/check/elements/speexresample.c: (GST_START_TEST):
Make the unit test a bit faster to prevent timeouts, especially
with valgrind.
2008-11-22 15:02:15 +00:00
Sebastian Dröge
b2cbf8f91d
tests/check/elements/speexresample.c: Add pipeline unit tests for testing all supported formats with up/downsampling ...
...
Original commit message from CVS:
* tests/check/elements/speexresample.c: (element_message_cb),
(eos_message_cb), (test_pipeline), (GST_START_TEST),
(speexresample_suite):
Add pipeline unit tests for testing all supported formats with
up/downsampling and different in/outrates.
* gst/speexresample/gstspeexresample.c:
(gst_speex_resample_push_drain), (gst_speex_resample_process):
* gst/speexresample/speex_resampler_wrapper.h:
Fix bugs identified by the testsuite.
2008-10-30 14:46:31 +00:00
Sebastian Dröge
d80b5c4aae
Add support for double samples as input and refactor the usage of the different compilation flavors of the speex resa...
...
Original commit message from CVS:
* gst/speexresample/Makefile.am:
* gst/speexresample/arch.h:
* gst/speexresample/gstspeexresample.c: (gst_speex_resample_stop),
(gst_speex_resample_get_unit_size), (gst_speex_resample_get_funcs),
(gst_speex_resample_init_state), (gst_speex_resample_update_state),
(gst_speex_resample_reset_state), (gst_speex_resample_parse_caps),
(_gcd), (gst_speex_resample_transform_size),
(gst_speex_resample_set_caps), (gst_speex_resample_push_drain),
(gst_speex_resample_process), (gst_speex_resample_transform),
(gst_speex_resample_query), (gst_speex_resample_set_property):
* gst/speexresample/gstspeexresample.h:
* gst/speexresample/resample.c:
* gst/speexresample/speex_resampler.h:
* gst/speexresample/speex_resampler_double.c:
* gst/speexresample/speex_resampler_wrapper.h:
* tests/check/elements/speexresample.c: (setup_speexresample),
(test_perfect_stream_instance), (GST_START_TEST),
(test_discont_stream_instance):
Add support for double samples as input and refactor the usage
of the different compilation flavors of the speex resampler.
2008-10-30 12:43:44 +00:00
Sebastian Dröge
f5b4fa17ff
gst/speexresample/gstspeexresample.*: Rewrite timestamp tracking to make it more robust and guarantee a continous str...
...
Original commit message from CVS:
* gst/speexresample/gstspeexresample.c: (gst_speex_resample_start),
(gst_speex_resample_get_unit_size),
(gst_speex_resample_push_drain), (gst_speex_resample_event),
(gst_speex_resample_check_discont), (gst_speex_resample_process),
(gst_speex_resample_transform):
* gst/speexresample/gstspeexresample.h:
Rewrite timestamp tracking to make it more robust and guarantee
a continous stream.
* tests/check/Makefile.am:
* tests/check/elements/speexresample.c: (setup_speexresample),
(cleanup_speexresample), (fail_unless_perfect_stream),
(test_perfect_stream_instance), (GST_START_TEST),
(test_discont_stream_instance), (live_switch_alloc_only_48000),
(live_switch_get_sink_caps), (live_switch_push),
(speexresample_suite):
Add unit tests for speexresample based on the audioresample unit tests.
2008-10-29 12:11:20 +00:00
Sebastian Dröge
60bf63486b
Add support for subtitle files with UTF-8 BOM at the beginning by simple stripping it from the first line before pass...
...
Original commit message from CVS:
* gst/subparse/gstsubparse.c:
(gst_sub_parse_data_format_autodetect), (handle_buffer),
(gst_sub_parse_change_state):
* gst/subparse/gstsubparse.h:
* tests/check/elements/subparse.c: (GST_START_TEST):
Add support for subtitle files with UTF-8 BOM at the beginning
by simple stripping it from the first line before passing it
to any parsing code. Fixes bug #555257 and playback of files
created by Gnome Subtitles.
2008-10-10 17:13:40 +00:00
Sebastian Dröge
b735321f58
Make the detection of the used subtitle a bit less strict for srt subtitles. Fixes bug #555607 .
...
Original commit message from CVS:
Based on a patch by: xavierb at gmail dot com
* gst/subparse/gstsubparse.c:
(gst_sub_parse_data_format_autodetect):
* tests/check/elements/subparse.c: (GST_START_TEST):
Make the detection of the used subtitle a bit less strict
for srt subtitles. Fixes bug #555607 .
2008-10-10 15:32:10 +00:00
Stefan Kost
1875564b65
Rework last change, so that we build subparse, but just disable the sami parse functionality, if we're configured to ...
...
Original commit message from CVS:
* configure.ac:
* gst/subparse/Makefile.am:
* gst/subparse/gstsubparse.c:
* gst/subparse/samiparse.c:
* tests/check/elements/subparse.c:
Rework last change, so that we build subparse, but just disable the
sami parse functionality, if we're configured to not use xml. In the
tests only the sami test is disabled now.
2008-09-03 10:12:04 +00:00
Edward Hervey
162cb885c6
tests/check/elements/audioresample.c: Now that GstBaseTransform is 'fixed' ... remove cruft from tests.
...
Original commit message from CVS:
* tests/check/elements/audioresample.c: (setup_audioresample),
(fail_unless_perfect_stream), (test_perfect_stream_instance),
(test_discont_stream_instance):
Now that GstBaseTransform is 'fixed' ... remove cruft from tests.
Add debugging for coherence.
2008-09-01 16:05:45 +00:00
Sebastian Dröge
59a0c5373d
tests/check/: Enable unit tests on PPC again as the bugs are now fixed.
...
Original commit message from CVS:
* tests/check/elements/gdpdepay.c: (gdpdepay_suite):
* tests/check/pipelines/streamheader.c: (streamheader_suite):
Enable unit tests on PPC again as the bugs are now fixed.
2008-06-30 09:46:15 +00:00
Sebastian Dröge
fdd708c418
gst/audioconvert/gstaudioconvert.c: Allow up to 11 positioned channels now that audioconvert can handle this but add ...
...
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c:
(structure_has_fixed_channel_positions),
(gst_audio_convert_transform_caps):
Allow up to 11 positioned channels now that audioconvert can handle
this but add no default positions for > 8 channels.
* tests/check/elements/audioconvert.c: (GST_START_TEST):
Add some unit tests for the above change: Test conversion of
11 positioned channels to stereo and the other way around, test
conversion of 15 unpositioned channels in different ways.
2008-05-30 08:42:17 +00:00
Sebastian Dröge
ca7a0b8e9e
tests/check/elements/vorbisdec.c: Remove wrong_channels_identification_header unit test as we now support 7 (and more...
...
Original commit message from CVS:
* tests/check/elements/vorbisdec.c: (vorbisdec_suite):
Remove wrong_channels_identification_header unit test as we now
support 7 (and more channels).
2008-05-29 19:37:47 +00:00