Commit graph

818 commits

Author SHA1 Message Date
Thibault Saunier
6c349d6ec3 videomixer: Send EOS if buf_end >= segment.stop
That means the whole segment is already played, and we are sure we
are EOS at that point.

Also handle segment seeks, and do not send EOS in that case.
2013-08-11 19:05:18 +02:00
Tim-Philipp Müller
67eb029a50 tests: skip https test if there's no TLS support in soup/glib 2013-08-04 14:32:47 +01:00
David Schleef
4a2ae4c001 tests: create/remove orc directory at proper time
Before automake creates .deps directories, and during distclean.
2013-08-02 17:38:34 -07:00
Tim-Philipp Müller
7a740479b9 tests: ignore new test binaries 2013-07-29 19:48:54 +01:00
Tim-Philipp Müller
a53dcf98f8 tests: fix test ID3 tags up not to rely on dodgy typefinding code
Change 0xff 0xfb 'mp3' marker to 'fLaC' marker, so we can fix
the typefinder.

https://bugzilla.gnome.org/show_bug.cgi?id=681368
2013-07-25 10:43:13 +01:00
Nicolas Dufresne
01b20ab901 videocrop: Fix unit for GRAY16 formats 2013-07-18 10:54:50 -04:00
Douglas Bagnall
cff0b179d3 level: Fix the spectrum example for 1.0
The "message" property has been replaced by "post-messages".

Pre-patch output:

(test_spectrum:23101): GLib-GObject-WARNING **: g_object_set_valist:
object class `GstSpectrum' has no property named `message'
New spectrum message, endtime 0:00:00.100000000

(test_spectrum:23101): GStreamer-CRITICAL **:
gst_value_list_get_value: assertion `GST_VALUE_HOLDS_LIST (value)' failed
[...]

Post-patch:

New spectrum message, endtime 0:00:00.100000000
band 0 (freq 400): magnitude -65.988777 dB phase 1.533397
band 1 (freq 1200): magnitude -65.545563 dB phase -0.780900
band 2 (freq 2000): magnitude -64.791946 dB phase -0.799611
band 3 (freq 2800): magnitude -64.556175 dB phase -0.063615
[...]

https://bugzilla.gnome.org/show_bug.cgi?id=704179
2013-07-15 08:02:01 +02:00
Sebastian Dröge
1a11a9be0c rtp: Fail payloading unit test if an error message is received 2013-07-08 14:15:34 +02:00
Stefan Sauer
115b117878 audiopanorama: cleanup and expand the tests
Split out two more tests. Extract more common code into helpers. Add coverage for float.
2013-06-11 21:48:18 +02:00
Stefan Sauer
1602f50195 level: rework the tests to cover other formats too 2013-06-09 20:39:48 +02:00
Stefan Sauer
bf250a90dc tests: cleanup level tests
Split out a few more tests to avoid checking the same stuff over and over again.
2013-06-02 13:05:09 +02:00
Stefan Sauer
19b23d3b90 level: add a test for continous timestamps
A test that checks that msg[n].ts + msg[n].dur == msg[n+1].ts.
2013-06-01 21:34:37 +02:00
Wim Taymans
1516c14881 Revert "rtph264pay/depay: Add frame dimensions a payloaded caps"
This reverts commit 3dca756a5d.

The H264 RTP spec has no attributes for width and height.
2013-05-31 15:11:12 +02:00
Wim Taymans
f870cef8bc Revert "rtpjpegpay/depay: Replace framerate caps field with fraction"
This reverts commit 9fd25a810b.

We deal with sdp attributes in application/sdp, which are always strings.
2013-05-31 15:05:51 +02:00
Thibault Saunier
03fc515f66 tests: videomixer: Add a testsuite for videomixer
This is mostly copy pasted from -base/tests/check/elements/adder.c
2013-05-25 11:05:37 -04:00
Sebastian Rasmussen
9fd25a810b rtpjpegpay/depay: Replace framerate caps field with fraction
The previous implementation had the formatting of SDP attributes happen
in each RTP payloader, now instead the constituent values are propagated
as caps fields. This allows for applications to do SDP offer/answer
based on caps negotiation.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=700748
2013-05-23 21:05:49 +02:00
Sebastian Rasmussen
3dca756a5d rtph264pay/depay: Add frame dimensions a payloaded caps
This allows for applications to format SDP attributes and still do SDP
offer/answer based on caps negotiation.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=700749
2013-05-23 21:04:11 +02:00
Thibault Saunier
f1f149b503 tests: Re-enable videomixer test
https://bugzilla.gnome.org/show_bug.cgi?id=684237
2013-05-19 09:28:04 -04:00
Sebastian Dröge
381e6912a5 rgvolume: Fix event handling in the unit test 2013-05-14 17:29:18 +02:00
Sebastian Dröge
4bf7dabed1 rglimiter: Fix event handling in unit tests 2013-05-14 16:34:54 +02:00
Sebastian Dröge
4d81538090 rganalysis: Fix event handling in unit test 2013-05-14 16:31:57 +02:00
Sebastian Dröge
0e76ed510c qtmux: Fix event handling in unit test 2013-05-14 16:08:54 +02:00
Sebastian Dröge
924d7eeadf multifile: Fix event handling in unit test 2013-05-14 16:00:58 +02:00
Sebastian Dröge
3909eced0e mulaw: Fix event handling in unit test 2013-05-14 13:58:01 +02:00
Sebastian Dröge
da95e53c73 interleave: Fix event handling in unit test 2013-05-14 10:25:56 +02:00
Nicolas Dufresne
04c9f43567 rtpmux: Send stream-start before caps 2013-05-13 15:37:05 +02:00
Nicolas Dufresne
7719b19aec rtpjitterbuffer-test: Send stream-start before caps followed by segment 2013-05-13 15:36:49 +02:00
Nicolas Dufresne
c561ce0b9f rtpbin-test: Send missing stream-start and segment events 2013-05-13 15:36:34 +02:00
Sebastian Dröge
3dd14e968a tests: Fix some more event handling in tests 2013-05-13 15:36:19 +02:00
Sebastian Dröge
e1c959c60c icydemux: Fix event handling in unit test 2013-05-13 15:19:36 +02:00
Sebastian Dröge
511fb95ef8 deinterleave: Fix event handling in test 2013-05-13 14:55:27 +02:00
Nicolas Dufresne
e6a14a95ea shapewipe-test: Send inital events
https://bugzilla.gnome.org/show_bug.cgi?id=700033
2013-05-11 09:12:35 +02:00
Nicolas Dufresne
5abd7698f3 spectrum-test: Send inital events
https://bugzilla.gnome.org/show_bug.cgi?id=700033
2013-05-11 09:12:12 +02:00
Nicolas Dufresne
890e9e3738 videofilter-test: Send inital events
https://bugzilla.gnome.org/show_bug.cgi?id=700033
2013-05-11 09:12:06 +02:00
Nicolas Dufresne
96df3472ba wavpackparse-test: Send inital events
https://bugzilla.gnome.org/show_bug.cgi?id=700033
2013-05-11 09:12:01 +02:00
Nicolas Dufresne
93bd95f518 y4menc-test: Send inital events
https://bugzilla.gnome.org/show_bug.cgi?id=700033
2013-05-11 09:11:56 +02:00
Sebastian Dröge
c5c2827114 tests: Fix some more unit tests 2013-05-10 13:34:16 +02:00
Sebastian Dröge
044fcbe901 tests: Fix parser tests 2013-05-10 13:10:29 +02:00
Nicolas Dufresne
6b56ad5d09 jpegenc-test: Send inital events
https://bugzilla.gnome.org/show_bug.cgi?id=700033
2013-05-10 09:24:53 +02:00
Nicolas Dufresne
c944987a2a vp8enc-test: Send inital events
https://bugzilla.gnome.org/show_bug.cgi?id=700033
2013-05-10 09:24:47 +02:00
Nicolas Dufresne
f3bb4d6b34 vp8dec-test: Send inital events
https://bugzilla.gnome.org/show_bug.cgi?id=700033
2013-05-10 09:24:35 +02:00
Nicolas Dufresne
67ade43a4f wavpackdec-test: Send initial events
https://bugzilla.gnome.org/show_bug.cgi?id=700033
2013-05-10 09:24:28 +02:00
Nicolas Dufresne
8a9a3039fc videofilter: Unit test send SEGMENT before CAPS
https://bugzilla.gnome.org/show_bug.cgi?id=699966
2013-05-09 09:08:01 +02:00
Nicolas Dufresne
43f9934ba5 avimux: Unit test sends SEGMENT before caps
https://bugzilla.gnome.org/show_bug.cgi?id=699966
2013-05-09 09:07:43 +02:00
Nicolas Dufresne
9bd526ef4a audiowsincband: Test should send segment after CAPS
This makes the unit test pass again.

https://bugzilla.gnome.org/show_bug.cgi?id=699966
2013-05-09 09:07:29 +02:00
Nicolas Dufresne
22d64ea3be audiowsinclimit: Test should send segment after CAPS
This makes the unit test pass again.

https://bugzilla.gnome.org/show_bug.cgi?id=699966
2013-05-09 09:07:10 +02:00
Alexander Schrab
3ec9673dfc mulawdec: change base class to GstAudioDecoder
https://bugzilla.gnome.org/show_bug.cgi?id=698894
2013-04-26 08:46:34 +02:00
Sebastian Dröge
fb0384fa0d mulaw: Some minor memleak fixes and cleanup 2013-04-25 12:44:15 +02:00
Alexander Schrab
f0edb5fb70 mulawenc: change to gstaudioencoder base, added bitrate tags 2013-04-25 12:36:15 +02:00
Tim-Philipp Müller
a8e7cd0860 tests: fix some printf format issues in debug messages 2013-04-11 22:55:58 +01:00