Commit graph

559 commits

Author SHA1 Message Date
Stefan Sauer
1f255a585b equalizer: enable presets for the n-band equalizer
Add a test for saving and restoring the preset.
2012-08-17 15:01:40 +02:00
Olivier Crête
264bcf7d6f rtph264pay: Make it actually work after cleanups 2012-08-08 19:49:05 -07:00
Tim-Philipp Müller
c074bfd0b9 gst_tag_list_free -> gst_tag_list_unref 2012-08-04 16:10:16 +01:00
Sebastian Dröge
0827f54b93 tag: Update for taglist/tag event API changes 2012-07-28 00:19:51 +02:00
Mathias Hasselmann
fc578e7699 tests: drop redundant elements_level_LDADD line
https://bugzilla.gnome.org/show_bug.cgi?id=676302
2012-07-08 13:34:08 +01:00
Tim-Philipp Müller
f3f71b9749 tests: minor jpegdec clean-ups and fixes
Fix race condition in eos checking and a leak. And
build pipeline without parse_launch.
2012-07-08 13:30:34 +01:00
Mathias Hasselmann
0da9456ba2 tests: Add some basic tests for jpegdec
https://bugzilla.gnome.org/show_bug.cgi?id=676302
2012-07-08 12:56:31 +01:00
Tim-Philipp Müller
cf9b2149dd isomp4: remove gppmux, which was deprecated in favour of 3gppmux 2012-07-06 12:54:02 +01:00
Tim-Philipp Müller
48706beb70 rtph263ppay: accept any h263 input unless downstream forces specific requirements
rtph263ppay should accept any input compatible with its sink template
caps if it just outputs to e.g. udpsink or fakesink.

rtph263ppay ! rtph263pdepay should also work with any compatible input.
This would fail before with not-negotiated errors because the get_caps
function would see the encoding-name in the depayloader's template caps
and default to baseline H.263 because there's no profile/level information
in those caps, which is the right thing to do if downstream has filtercaps
from an SDP, but not if those fields are absent because they can be
anything like with the depayloader's template caps. Makes

  videotestsrc ! avenc_h263p ! rtph263ppay ! rtph263pdepay ! fakesink

work.
2012-07-06 11:57:38 +01:00
Tim-Philipp Müller
76625d20d7 tests: fix h263p payload ! depayload unit test
Need to add h263version field to input caps since the
payloader sink get_caps function will contain it in the
the caps, and the stricter caps subset check requires
this to be present in the input caps as well then.
2012-07-06 11:57:38 +01:00
Tim-Philipp Müller
91d97d31e2 tests: fix rgvolume unit test event handling
Must flush after EOS before sending more buffers or
another EOS event, or the event or buffer will be
rejected. Also send a SEGMENT event at the start
of each stream for good measure.
2012-07-05 15:14:33 +01:00
Tim-Philipp Müller
a94c1a7fdb tests: fix rganalysis unit test event handling
Must flush after EOS before sending more buffers or
another EOS event, or the event or buffer will be
rejected. Also send a SEGMENT event at the start
of each stream for good measure.
2012-07-04 23:57:18 +01:00
Tim-Philipp Müller
94e54887fb tests: disable deinterlace test for now, element still needs to be ported
But leave it active and print a FIXME. Porting is in progress.
2012-07-04 12:39:07 +01:00
Wim Taymans
d1b0ff6c06 update for bus api changes 2012-06-20 12:31:01 +02:00
Wim Taymans
f65495d405 update for audio api change 2012-06-08 10:11:12 +02:00
Wim Taymans
443a14bdbf tests: add test for rtpsession cleanup 2012-06-07 10:44:31 +02:00
Wim Taymans
b5df4f0e62 update for tag event change 2012-06-06 13:02:12 +02:00
Wim Taymans
37df608fdc fix Y800 format 2012-06-06 13:00:58 +02:00
Tim-Philipp Müller
dd75c21670 annodex: remove annodex plugin and CMML elements
This never really took off and is most likely completely
unused. If there is still a need for this, it should
probably be done differently, perhaps inside oggdemux/mux.
2012-05-13 19:21:19 +01:00
Tim-Philipp Müller
95da93fcb7 tests: fix matroskamux unit test after media type changes 2012-04-28 23:14:24 +01:00
Sebastian Dröge
d99eb6d2cb Update everything for the removal of the interface library and mixer/tuner interfaces 2012-04-13 13:15:11 +02:00
Tim-Philipp Müller
be9baf1a0b tests: disable simple smokeenc/dec launch lines test
Disable test for smoke elements, which aren't ported yet
(and maybe shouldn't be ported).
2012-04-09 12:55:34 +01:00
Tim-Philipp Müller
fa5edd2680 interleave: make channel-poisitions property a GValueArray again
Or perhaps it should just be a guint64 channel mask, which would
be nicer in C, but more awkward for bindings (even more so since
we can't add a flags type for it, since that only supports guint
size flags). Fixes wavenc unit test.

https://bugzilla.gnome.org/show_bug.cgi?id=669643
2012-04-09 11:13:05 +01:00
Mark Nauwelaerts
6a0339bf24 tests: make few tests more valgrind-friendly 2012-04-05 19:17:48 +02:00
Mark Nauwelaerts
0c49dcd0c6 (de)interleave: fix ported unit test and enable as ported 2012-04-05 19:17:42 +02:00
Mark Nauwelaerts
ac0d2254f0 tests: cmmldec: adjust to tag events no longer posted on bus by element 2012-04-05 19:17:38 +02:00
Mark Nauwelaerts
732f29dbbe tests: qtmux: ensure initialized test buffer memory 2012-04-04 21:38:14 +02:00
Sebastian Dröge
5cdd49bf25 gst: Update versioning 2012-04-04 14:37:47 +02:00
Wim Taymans
068ee88862 update for child proxy api change 2012-03-31 15:43:49 +02:00
Wim Taymans
3d61d12e03 update for buffer api change 2012-03-30 18:15:34 +02:00
Mark Nauwelaerts
81c4f56e1b tests: wavpack: fewer buffers are also adequate and more convenient 2012-03-29 17:22:23 +02:00
Mark Nauwelaerts
fce8f3486b tests: videocrop: unmap video frame and unref caps 2012-03-29 17:22:19 +02:00
Mark Nauwelaerts
9f93f503a1 tests: audiowsincband: unmap examined output buffers 2012-03-29 17:22:04 +02:00
Mark Nauwelaerts
4ac5eebade tests: tagschecking: muxers need TIME format 2012-03-28 16:26:56 +02:00
Mark Nauwelaerts
e9c802d834 tests: flacdec: needs flacparse nowadays 2012-03-28 16:26:15 +02:00
Wim Taymans
69002aa24f update for buffer changes 2012-03-28 12:53:05 +02:00
Mark Nauwelaerts
8f68db9cc3 tests: audiodynamic: correctly port original test to mind in place transform 2012-03-28 12:23:56 +02:00
Mark Nauwelaerts
2ed647a900 tests: audiofirfilter: negotiate the intended raw audio format 2012-03-28 12:23:56 +02:00
Wim Taymans
e310ee8218 caps: improve caps handling
Avoid caps copy and leaks
2012-03-27 16:42:41 +02:00
Mark Nauwelaerts
8f52f8c5c8 tests: icydemux: activate internal test helper src pad 2012-03-27 14:05:27 +02:00
Mark Nauwelaerts
117de9fd47 tests: replaygain: misc compatibility fixes
Discard caps event when checking for and counting various tag events,
and remove all testing of 8 bits depth in 16 bits width format since
it no longer exists.
2012-03-26 18:38:34 +02:00
Mark Nauwelaerts
85bf98fe1a tests: rtp: misc compatibiliy fixes
... such as always setting pad caps and providing needed caps fields.
2012-03-26 18:38:34 +02:00
Mark Nauwelaerts
9c1787851d tests: videofilter: ensure initial segment event 2012-03-26 18:38:34 +02:00
Mark Nauwelaerts
e937d38544 tests: imagefreeze: remove extraneous _unref 2012-03-23 18:49:01 +01:00
Mark Nauwelaerts
e94f68fd6b tests: avimux: adjust to modified sink pad template name 2012-03-23 18:49:01 +01:00
Mark Nauwelaerts
43ceadb0df tests: qtmux: cleanup element sooner
... to avoid stray refs in sticky caps events.
2012-03-23 18:49:01 +01:00
Mark Nauwelaerts
6bb7fdf4c5 tests: arrange for sending an initial segment event
... which is needed nowadays since various gst_segment_to_...
no longer automatically set the format to the specified one
(from _UNDEFINED).
2012-03-23 18:49:01 +01:00
Wim Taymans
3e8ae7603c tests: update for memory api changes 2012-03-21 13:22:43 +01:00
Wim Taymans
ecaea36c3d update for memory api changes 2012-03-15 13:36:17 +01:00
Wim Taymans
075cd54019 fix for caps _normalize changes 2012-03-12 12:23:15 +01:00
Wim Taymans
bb8bc237b5 tests: improve more tests 2012-03-08 11:36:01 +01:00
Wim Taymans
65d59232b1 tests: fix some more tests 2012-03-08 11:20:43 +01:00
Mark Nauwelaerts
e637cfb212 tests: port wavpack tests to 0.11 2012-03-05 13:44:21 +01:00
Mark Nauwelaerts
f189f62b13 Merge branch 'master' into 0.11
Conflicts:
	ext/wavpack/gstwavpackenc.c
	tests/check/elements/audioiirfilter.c
	tests/examples/v4l2/probe.c
2012-03-01 11:29:50 +01:00
Mark Nauwelaerts
a5144cbba0 wavpackdec: adjust to audio format limitations
... which does not allow expressing arbitrary depth in a GstAudioFormat.

Also adjust unit test to modified behaviour.
2012-02-27 23:46:15 +01:00
Mark Nauwelaerts
b863df570f wavpackenc: port to audioencoder
Also adjust unit test to slightly modified behaviour.
2012-02-27 23:45:54 +01:00
Edward Hervey
9beda57c3a Suppress deprecation warnings in selected files, for g_value_array_* mostly 2012-02-27 14:47:25 +01:00
Wim Taymans
ca9532ccc5 update for new memory api 2012-02-22 02:10:33 +01:00
Tim-Philipp Müller
dc3beab0ab tests: fix up level test for GstValueList -> GValueArray change
https://bugzilla.gnome.org/show_bug.cgi?id=670303
2012-02-18 11:38:36 +00:00
Philippe Normand
4945af5eff interleave: port to 0.11
Port of the interleave element and its unittests.

https://bugzilla.gnome.org/show_bug.cgi?id=669643
2012-02-16 14:40:59 +00:00
Wim Taymans
f7faea3915 tests: fix test, use videoconvert 2012-02-14 11:22:46 +01:00
Wim Taymans
63ec4ca38b Merge branch 'master' into 0.11
Conflicts:
	tests/check/elements/flacparse.c
2012-02-14 10:51:38 +01:00
Mark Nauwelaerts
ec6b2e8659 tests: flacparse: check and compare intended data 2012-02-13 12:07:17 +01:00
Wim Taymans
225e98d623 Merge branch 'master' into 0.11
Conflicts:
	ext/flac/gstflacenc.c
	ext/jack/gstjackaudioclient.c
	ext/jack/gstjackaudiosink.c
	ext/jack/gstjackaudiosrc.c
	ext/pulse/plugin.c
	ext/shout2/gstshout2.c
	gst/matroska/matroska-mux.c
	gst/rtp/gstrtph264pay.c
2012-02-10 16:23:14 +01:00
Tim-Philipp Müller
dca42d4767 tests: clean up rtp-payloading test a little
Feed data into the pipeline using appsrc instead of fdsrc and
a pipe. Store unsigned byte values in guint8 instead of char.
Getting rid of the capsfilter also helps to avoid 'format is
not fully specified' warnings when pushing "video/x-h264" data
into rtph264pay with fully specified h264 caps in the sink template.
2012-02-10 14:07:45 +00:00
Mark Nauwelaerts
507f936778 tests: mpegaudioparse: remove stray declaration 2012-02-09 22:13:11 +01:00
Wim Taymans
9737bf26f0 tests: fix compilation 2012-02-09 18:09:45 +01:00
Philippe Normand
640be49e21 deinterleave: port to 0.11
Port of the deinterleave element and its unittests. The interleave
element will be ported as part of another patch, hence disabling it
for now.

https://bugzilla.gnome.org/show_bug.cgi?id=668847
2012-02-08 10:40:39 +01:00
Wim Taymans
412510d6ed tests: improve tagmux tests 2012-02-07 10:47:19 +01:00
Wim Taymans
3644e23184 tests: fix jpeg test 2012-02-07 10:30:28 +01:00
Wim Taymans
02034ce772 tests: fix more tests 2012-02-07 10:30:28 +01:00
Wim Taymans
92a0c01732 test: fix more tests 2012-02-06 18:35:01 +01:00
Wim Taymans
9a76a00a4d tests: fix more tests 2012-02-06 15:52:49 +01:00
Wim Taymans
dd26b14930 iirequalizer: fix equalizer and unit test 2012-02-06 15:20:55 +01:00
Wim Taymans
41648135b2 tests: fix some more tests 2012-02-06 13:44:20 +01:00
Wim Taymans
f3f54403b1 tests: fix more unit tests 2012-02-06 13:29:24 +01:00
Wim Taymans
ef0686c52c tests: fix more tests 2012-02-06 10:07:06 +01:00
Wim Taymans
16cc9b3807 tests: improve some tests 2012-02-06 09:49:38 +01:00
Wim Taymans
f75fa8e3c3 tests: fix jitterbuffer test 2012-02-06 09:23:49 +01:00
Wim Taymans
8f2ef99b5b tests: fix more tests 2012-02-03 17:23:48 +01:00
Wim Taymans
56eb65babc tests: fix some more tests 2012-02-03 16:14:08 +01:00
Wim Taymans
a6370cdb50 tests: fix more tests 2012-01-31 15:39:09 +01:00
Wim Taymans
2a91bbbc0b tests: update some tests for new memory api 2012-01-31 13:42:55 +01:00
Wim Taymans
bb2bd604e0 update for HEADER flag 2012-01-30 17:16:51 +01:00
Sebastian Dröge
0b517ce9fb Merge branch '0.11' of ssh://git.freedesktop.org/git/gstreamer/gst-plugins-good into 0.11 2012-01-25 12:49:34 +01:00
Sebastian Dröge
10554b271f Merge branch 'master' into 0.11
Conflicts:
	ext/flac/gstflacdec.c
	ext/jpeg/gstjpegenc.c
	ext/pulse/pulsesink.c
	sys/v4l2/gstv4l2src.c
2012-01-25 12:49:11 +01:00
Wim Taymans
b4630dd3e0 more memory API porting 2012-01-25 12:30:29 +01:00
Tim-Philipp Müller
7cb9b7ab9d Use new GLib API unconditionally 2012-01-22 23:15:19 +00:00
Wim Taymans
1584806634 port to new gthread API 2012-01-19 11:33:53 +01:00
Vincent Penquerc'h
e9e0bebde3 tests: fix autodetect test not testing correctly for state change success
State change to PAUSED can be done async, so if this happens, we need
to wait for the change to be done (or failed).
2012-01-16 16:10:08 +00:00
Vincent Penquerc'h
4c2a2063cf tests: fix caps leak in videotestsrc test 2012-01-13 15:57:20 +00:00
Tim-Philipp Müller
8580dd86c9 eqMerge remote-tracking branch 'origin/master' into 0.11
Conflicts:
	ext/jack/gstjackaudiosink.c
	ext/jack/gstjackaudiosrc.c
	gst/matroska/matroska-mux.c
	gst/matroska/matroska-read-common.c
	gst/rtpmanager/gstrtpssrcdemux.c
2012-01-12 23:48:50 +00:00
Leo Singer
56353e24d2 audiofx: Use most common convention for definitions of IIR filter coefficients.
Most signal processing texts, including MATLAB, use the following convention for IIR filter coefficients:

a_0 y[n] + a_1 y[n-1] + ... + a_M y[n-M] = b_0 x[n] + b_1 x[n-1] + ... + b[N] x[n-N]

Usually, a_0 is set to 1 because the coefficients can always be rescaled, giving

y[n] = b_0 x[n] + b_1 x[n-1] + ... + b[N] x[n-N] - a_1 y[n-1] - ... - a_M y[n-M]

The convention that was previously used by audiofxbaseiirfilter and derived class had the a and b coefficients swapped, and did not have the minus signs.

This change makes the audiofx plugin use the more common convention described above.
2012-01-11 15:24:00 +01:00
Tim-Philipp Müller
834e58be9e tests: fix wavenc test on big endian
wavenc only accepts little-endian PCM, but most of our
elements such as audiotestsrc only produce or process
audio in native endianness, so we need to plug a
converter before wavenc on big endian systems.
2012-01-11 01:47:38 +00:00
Sebastian Dröge
93e3ed5a86 Merge branch 'master' into 0.11
Conflicts:
	ext/cairo/gsttextoverlay.c
	ext/pulse/pulseaudiosink.c
	gst/audioparsers/gstaacparse.c
	gst/avi/gstavimux.c
	gst/flv/gstflvmux.c
	gst/interleave/interleave.c
	gst/isomp4/gstqtmux.c
	gst/matroska/matroska-demux.c
	gst/matroska/matroska-mux.c
	gst/matroska/matroska-mux.h
	gst/matroska/matroska-read-common.c
	gst/multifile/gstmultifilesink.c
	gst/multipart/multipartmux.c
	gst/shapewipe/gstshapewipe.c
	gst/smpte/gstsmpte.c
	gst/udp/gstmultiudpsink.c
	gst/videobox/gstvideobox.c
	gst/videocrop/gstaspectratiocrop.c
	gst/videomixer/videomixer.c
	gst/videomixer/videomixer2.c
	gst/wavparse/gstwavparse.c
	po/ja.po
	po/lv.po
	po/sr.po
	tests/check/Makefile.am
	tests/check/elements/qtmux.c
	tests/check/elements/rgvolume.c
2012-01-10 14:32:32 +01:00
Tim-Philipp Müller
12ff707854 tests: fix some leaks and remove files when done in qtmux test 2012-01-04 18:05:41 +00:00
Edward Hervey
63ee1009c2 alphacolor: More fixes/cleanup 2012-01-04 13:26:45 +01:00
Wim Taymans
386ccc52e7 tests: rewrite test a little
Rewrite the tag check so that we don't need to deal with tag lists.
2012-01-03 14:42:28 +01:00
Wim Taymans
8e39d52bbb tests: make more tests compile 2012-01-03 14:16:28 +01:00
Wim Taymans
06b3c265b8 test: make more unit tests compile 2012-01-03 11:56:25 +01:00