Commit graph

768 commits

Author SHA1 Message Date
Tim-Philipp Müller
7e91057934 tests: refactor new wavparse test a little
Use fakesrc instead of filesrc with /dev/null.

https://bugzilla.gnome.org/show_bug.cgi?id=696684
2013-04-09 00:28:54 +01:00
Alexander Schrab
79d5a7d03c wavparse: error out if we receive eos before any valid data
https://bugzilla.gnome.org/show_bug.cgi?id=696684
2013-04-09 00:27:31 +01:00
Stefan Sauer
2e56032031 level: subdivide buffers for sample accurate interval handling
Previously we would skip level message when processing buffers > the requested
interval. Also the message frequency would contain quite some jitter due to only
considering them at the end of buffers.

Cleanup the tests while we're at it.
2013-04-03 21:40:17 +02:00
Jonas Holmberg
08c5a04691 autodetect checktest: Do not fail without videosink
If there is no videosink available autovideosink will contain a
fakesink instead which needs special treatment in the unit test.
2013-03-11 10:54:48 +01:00
Tim-Philipp Müller
694dbcc5a0 dtmf: move dtmf plugin from -bad to -good
https://bugzilla.gnome.org/show_bug.cgi?id=687416
2013-03-09 01:18:30 +00:00
Tim-Philipp Müller
a4c5aa38ec Merge branch 'dtmf-moved-from-bad'
https://bugzilla.gnome.org/show_bug.cgi?id=687416
2013-03-09 00:30:38 +00:00
Tim-Philipp Müller
0427524d73 tests: re-add suppression for GValueArray warnings to unit test as well 2013-02-28 17:38:47 +00:00
Jonas Holmberg
fba30e3384 tests: use relative include for out-of-tree builds in dtmf test 2013-02-28 12:30:51 +00:00
Stefan Sauer
b62cb3edcd level: add a "post-messages" property and deprecate "message"
In spectrum this was changed from 0.10 to 1.0, lets do this here too.
2013-02-28 09:43:12 +01:00
Olivier Crête
ab2a342f42 tests: Add tests for dtmfsrc 2013-02-27 18:56:56 -05:00
Olivier Crête
0233eb9f79 tests: Fix ref leak in dtmf test 2013-02-27 16:15:33 -05:00
Thomas Vander Stichele
52b7aab711 level: send last message on EOS 2013-02-25 00:19:22 +01:00
Tim-Philipp Müller
7de14c5dbe tests: fix some h264 caps
Doesn't fix anything in particular, but is
still needed here for correctness.
2013-02-16 15:05:34 +00:00
Sebastian Dröge
a7ddbc03fe rtp-payloading: Fix unit test caps and AMR depayloader sink template caps
Fields were missing from the actual caps, or too many fields
existed in the template caps.
2013-02-13 12:02:46 +01:00
Sebastian Dröge
ae291fc40c aacparse: Fix caps used in the unit test
The AAC caps passed were incomplete.
2013-02-13 11:53:01 +01:00
Sebastian Dröge
17513dae66 wavpack: Fix unit tests, width is now called depth in the caps in 1.0 2013-02-13 11:49:40 +01:00
Tim-Philipp Müller
7d02a4dacb tests: make souphttpsrc unit test work even if http_proxy is set
We're testing with an http server on localhost, but don't support
an exception list for the http_proxy, so just unset the environment
variable to make sure we can run this test properly even if the
environment has http_proxy set.

Also, don't skip all tests if there is an issue with the SSL server,
just run the non-SSL tests then.

https://jenkins.qa.ubuntu.com/view/Raring/view/JHBuild%20Gnome/job/jhbuild-amd64-gst-plugins-good/
2013-02-12 23:34:38 +00:00
Stefan Sauer
02956d7778 level-example. avoid taking the arrays again for each channel for clarity
Also introduce some blank lines for better readability and update the comments.
2013-02-05 18:47:59 +01:00
B.Prathibha
7bb368ee4c tests: use g_timeout_add_seconds instead of g_timeout_add
https://bugzilla.gnome.org/show_bug.cgi?id=692615
2013-01-27 15:38:12 +00:00
Olivier Crête
6105510a7a tests: Add test for rtpdtmfdepay and rtpdtmfsrc 2013-01-25 21:05:39 -05:00
Tim-Philipp Müller
066600c18b tests: skip souphttpsrc tests if there is no local http server to use
Skip tests if the server couldn't be started or we can't connect
to it for some reason (e.g. draconic build bot environments).
2013-01-16 18:03:44 +00:00
Martin Pitt
b46dcf379a tests: use _1_0 variants for the various registry variables
These override the variants without version suffix. Makes 'make check' work
properly in environments that set the suffixed variant for 1.0, such as
jhbuild.
2013-01-16 11:10:19 +00:00
Tim-Philipp Müller
baac8ad663 tests: add test for souphttpsrc error handling with data
https://bugzilla.gnome.org/show_bug.cgi?id=678429
2013-01-01 19:14:36 +00:00
Tim-Philipp Müller
08702be68f cairo: port cairooverlay to 0.11
The other elements are not that interesting now that we're
using pangocairo in the pango plugin, and should probably
just be removed.
2013-01-01 11:52:09 +00:00
Tim-Philipp Müller
1a073355bc examples: check for uri argument in decodebin-h264p-amr server example
Otherwise people get a rather confusing error message.
2012-12-31 18:59:18 +00:00
Jonas Holmberg
60fa4536e2 tests: add jpegpay unit test
See also https://bugzilla.gnome.org/show_bug.cgi?id=684955
2012-12-20 16:15:13 +01:00
Tim-Philipp Müller
3295b5d791 rtpmanager: move rtpmux and rtpdtmfmux elements from -bad
https://bugzilla.gnome.org/show_bug.cgi?id=629117
2012-12-16 16:36:39 +00:00
Tim-Philipp Müller
de204ba754 rtpmux: Fix FSF address
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-12-16 16:36:39 +00:00
Olivier Crête
15dfdc58d4 rtpmux: Misc fix for 0.11
Convert the incoming caps before proxying them
Clear the last_pad when going to ready

tests: Implement accept_caps, don't leak event
2012-12-16 16:36:38 +00:00
Olivier Crête
f20a6b1d16 rtpmux: port to 0.11 2012-12-16 16:35:26 +00:00
Olivier Crête
5bd023fb96 tests: Change tests to not use the priority pads instead of the events 2012-12-16 16:35:14 +00:00
Olivier Crête
8e58646f5c rtpmux: Aggregate incoming segments 2012-12-16 16:35:14 +00:00
Benjamin Otte
ed35e485b7 Add -Wmissing-declarations -Wmissing-prototypes to configure flags
And fix all warnings
2012-12-16 16:35:14 +00:00
Olivier Crête
f3f1fa80c3 tests: Add test for rtpdtmfmux locking 2012-12-16 16:33:46 +00:00
Olivier Crête
c0806e59bf tests: Add unit test for rtpmux 2012-12-16 16:33:46 +00:00
Wim Taymans
50391c7773 check: add (but disable) more rtp jitterbuffer tests
Tests need to be ported to 1.0 before they can be enabled but added here so they
don't get forgotten.

See https://bugzilla.gnome.org/show_bug.cgi?id=667838
2012-12-13 12:36:20 +01:00
Tim-Philipp Müller
672ab8fb5b webmux: fix linking with shout2send element
Shout2send only accepts webm format, not matroska, but due
to a bug in matroskamux, webmmux's source pad is also created
with the matroska source pad template as pad template, which
makes the link function think it can't link webmmux to shout2send.

Also add unit test.

https://bugzilla.gnome.org/show_bug.cgi?id=689336
2012-11-30 17:22:34 +00:00
Nicolas Dufresne
1ad8ebac44 videocrop: Add support for automatic cropping
This change enable automatic cropping using -1 set to left, top, right or
bottom property. In the case both side are set to automatic cropping, the
croping will be done equally on both side (in the odd case, right and
bottom cropping will be 1 pixel more).

https://bugzilla.gnome.org/show_bug.cgi?id=687761
2012-11-07 11:20:24 +01:00
Tim-Philipp Müller
230cf41cc9 Fix FSF address
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:07:18 +00:00
Wim Taymans
0de4b76d39 tests: fix level example
Use the GValueArray in the message.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=687154
2012-10-30 11:10:49 +00:00
Tim-Philipp Müller
49f49a2fbf tests: add multifilesrc test for fix in previous commit
Make sure the stop-index set is honoured.

https://bugzilla.gnome.org/show_bug.cgi?id=654853
2012-10-26 11:04:02 +01:00
Tim-Philipp Müller
ff33d8d263 tests: remove superfluous g_type_init() call
It's deprecated in newer GLib and not needed here.

https://bugzilla.gnome.org/show_bug.cgi?id=686456
2012-10-20 13:01:41 +01:00
Tim-Philipp Müller
3bbbcd266c examples: update some element names for 1.0 in RTP examples
gstrtpbin -> rtpbin
ffdec_*   -> avdec_*
ffenc_*   -> avenc_*
2012-10-11 22:36:21 +01:00
Patricia Muscalu
7a863e4d8d rtph264pay: do not push unmapped data
Also do not use a GstBuffer after it has been pushed into the adapter.

https://bugzilla.gnome.org/show_bug.cgi?id=685213
2012-10-04 09:22:50 +01:00
Tim-Philipp Müller
2c4b7e03a2 tests: port gdkpixbufsink test 2012-10-01 14:03:19 +01:00
Tim-Philipp Müller
e6d37eb30a Purge references to liboil
https://bugzilla.gnome.org/show_bug.cgi?id=673285
2012-09-29 12:41:37 +01:00
Tim-Philipp Müller
626e0258e3 videomixer: fix warnings when using transparent background
gst_video_frame_map() increases the refcount, which makes
the buffer not writable any more technically, so calling
gst_buffer_memset() on it will cause nasty warnings.

Unit test disabled because it very rarely (for me)
fails, possibly negotiation-related.

https://bugzilla.gnome.org/show_bug.cgi?id=684398
2012-09-25 23:31:34 +01:00
Tim-Philipp Müller
df83b4e730 tests: remove g_printerr() that's not needed any longer
now that tcase_skip_broken_test() prints it as well.
2012-09-24 11:56:56 +01:00
Tim-Philipp Müller
63c4a29ac0 tests: disable failing replaygain tests 2012-09-23 19:50:42 +01:00
Tim-Philipp Müller
e3ba13632b tests: dist image.jpg for jpeg test 2012-09-17 18:23:11 +01:00