Olivier Crête
155ed569c3
rtpdtmfsrc: clock-base and seqnum-base -> timestamp-offset and seqnum-offset
...
These were renamed in GstRTPBasePayload in 1.0
2014-10-10 18:12:32 -04:00
Olivier Crête
b3069634bd
rtpmux: clock-base and seqnum-base -> timestamp-offset and seqnum-offset
...
These were renamed in GstRTPBasePayload in 1.0
2014-10-10 18:12:23 -04:00
Edward Hervey
5765db50a1
check/soup: Temporarily disable G_ENABLE_DIAGNOSTIC
...
The SOUP_SERVER_PORT property has been deprecated in recent libsoup
versions.
2014-09-23 09:48:27 +02:00
Edward Hervey
9e47ea2dc8
check/soup: Define minimum version required
...
To avoid deprecation warnings
2014-09-23 09:48:27 +02:00
Tim-Philipp Müller
d9a7954dc9
tests: udpsrc: add check to make sure multiple memory chunks are used
2014-09-09 17:42:02 +01:00
Tim-Philipp Müller
5c76255bc1
tests: udpsrc: wait for buffers with GCond instead of sleeping
...
Avoids half-second sleep for no reason.
2014-09-09 17:42:02 +01:00
Tim-Philipp Müller
7b1774513e
tests: udpsrc: split out socket setup
2014-09-09 17:42:02 +01:00
Thiago Santos
0430ea87a3
tests: vp8dec: add test for caps renegotiation
...
Check that vp8dec can properly accept a new caps when upstream
changes it
https://bugzilla.gnome.org/show_bug.cgi?id=734266
2014-09-02 01:01:43 -03:00
Mark Nauwelaerts
6ea83d97c5
tests: rtp-payloading: adjust test data to avoid NAL chopping
...
... and correspondingly unexpected buffer sizes.
2014-08-10 12:32:38 +02:00
Philippe Normand
b8b5704445
interleave: set output caps layout to interleaved
...
Set output caps layout independently from input caps layout which can
be either non-interleaved or interleaved.
https://bugzilla.gnome.org/show_bug.cgi?id=733866
2014-07-29 11:49:32 +02:00
Tim-Philipp Müller
46f6687bf6
tests: qtmux: suppress glib criticals caused by testing deprecated dts methods
2014-07-04 19:46:41 +01:00
Sebastian Dröge
0e13172837
rtpsession: Fix memory leaks in unit test
2014-06-30 00:00:43 +02:00
Tim-Philipp Müller
4edbd4c368
tests: matroskaparse: fail on errors and disable pull mode test
...
Actually look for error messages on the bus and fail if there
is one before the EOS message. Disable pull mode test which is
pointless as long as matroskaparse only supports push mode
(pull mode support has not been ported over to 1.0).
2014-06-28 17:40:45 +01:00
Ravi Kiran K N
e4f0133cb1
videobox: Add unit test
...
https://bugzilla.gnome.org/show_bug.cgi?id=732144
2014-06-26 18:52:17 +02:00
Tim-Philipp Müller
f7aeb57858
tests: add udpsink test to check client add/remove
2014-06-24 10:48:39 +01:00
Tim-Philipp Müller
495dfe3c5b
tests: port udpsink tests to 1.0
...
They all seem a bit pointless though.
2014-06-24 10:48:32 +01:00
Tim-Philipp Müller
c7c72c00b1
rtph264pay: push single buffer directly, no need to wrap it in a bufferlist
...
No point in a buffer list if we just have one single
buffer to push. Fix up unit test to handle that case
as well.
2014-06-18 14:54:58 +01:00
Olivier Crête
4377dfeadd
rtprtx: Reset state on each iteration
...
Otherwise it didn't wait for the test to finish before checking the results.
https://bugzilla.gnome.org/show_bug.cgi?id=728501
2014-06-03 17:59:32 -04:00
George Kiagiadakis
b19c830a1c
tests/check: rtpsession: test internal sources timing out
2014-05-14 16:01:50 +02:00
Wim Taymans
b2e1598e4a
rtpjitterbuffer: increment accepted packets after loss
...
When we detect a lost packet, expect packets with higher
seqnum on the input.
Also update the unit test.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=729524
2014-05-09 18:10:32 +02:00
Jason Litzinger
9068e1bb8e
Add new test case.
2014-05-09 18:10:32 +02:00
Wim Taymans
5c90f17cf0
shapewipe: no need to activate pads
...
Activation will happen in the state change
2014-05-09 18:10:31 +02:00
Tim-Philipp Müller
c3bd2bdcf4
tests: fix compilation of souphttpsrc test for libsoup 2.40 for real
...
https://bugzilla.gnome.org/show_bug.cgi?id=727329
2014-05-07 15:49:39 +01:00
Tim-Philipp Müller
cf94d498e6
tests: fix compilation of souphttpsrc test for libsoup 2.40
...
SOUP_CHECK_VERSION was only added in 2.41, but we only
depend on 2.40.
https://bugzilla.gnome.org/show_bug.cgi?id=727329
2014-05-07 13:27:10 +01:00
Olivier Crête
985897d8d9
rtpaux/rtprtx: Make tests non-racy
...
Fix the raciness by iterating on a condition instead of using the gmainloop.
Don't use the EOS as the target, otherwise the retransmission of the last
packets are lost. Also count the retranmissions requests that are dropped.
Check the condition before blocking on the GCond
https://bugzilla.gnome.org/show_bug.cgi?id=728501
2014-05-04 22:37:26 -04:00
Olivier Crête
0742a5a257
rtpmux: Always let upstream chose the ssrc if it wishes
2014-05-04 19:11:03 -04:00
Olivier Crête
2e54d38dd0
rtpsession: Keep local conflicting addresses in the session
...
As we now replace the local RTPSource on a conflict, it's no longer possible
to keep local conflicts in the RTPSource, so they instead need to be kept
in the RTPSession.
Also fix the rtpcollision test to generate multiple collisions instead of
one by change the address, as otherwise we detected that it was a single one.
2014-05-03 18:30:20 -04:00
Sebastian Dröge
3b5deb2b45
shapewipe: Send initial events after setting the elements to PLAYING
...
Otherwise we send them too early, and setting the elements to PLAYING
afterwards will drop all the events again.
2014-05-03 11:43:21 +02:00
Sebastian Dröge
2149d5a9bd
rtprtx: Don't forget to unmap rtp buffer in the test
2014-04-17 18:07:09 +02:00
Sebastian Dröge
5dba8dfe59
rtprtx: Provide an ssrc in the test
...
And increase timeout to allow all tests to run in valgrind.
2014-04-17 17:43:12 +02:00
Sebastian Dröge
02d9b5e6f8
rtpsession: Fix memory leaks in test
2014-04-17 17:33:46 +02:00
Sebastian Dröge
02e62c139d
rtpjitterbuffer: Fix hundreds of memory leaks in the test
2014-04-17 17:26:36 +02:00
Sebastian Dröge
0c073b2d1d
rtpcollision: Fix memory leaks in unit test
2014-04-17 16:39:59 +02:00
Sebastian Dröge
cd4c17031b
videomixer: Fix memory leak in unit test
2014-04-16 19:03:47 +02:00
Sebastian Dröge
6c02593386
aacparse: Fix memory leak in the test
2014-04-16 17:35:42 +02:00
Reynaldo H. Verdejo Pinochet
f187d9fc7c
tests: souphttpsrc: use SoupKnownStatusCode if needed
...
From libsoup docs:
Prior to 2.44 SoupStatus was called SoupKnownStatusCode,
but the individual values have always had the names they
have now.
Fixes:
https://bugzilla.gnome.org/show_bug.cgi?id=727329
2014-04-07 17:48:35 -03:00
Sebastian Rasmussen
1a91ab31d1
tests: Don't build disabled plugins' check tests
...
https://bugzilla.gnome.org/show_bug.cgi?id=723502
2014-02-26 21:07:57 +01:00
Stefan Sauer
ce683b0031
autodetect: improve the tests
...
Add fake audio/video sinks. Previously running the test might be flaky due to
the use of real elements (hardware in use), which we don't want to test here.
Add two more tests that check that the fakes are chosen.
2014-02-19 21:07:28 +01:00
Stefan Sauer
02e59756a9
autodetect: fix the disabled test
...
Use a shared helper for both tests. It turns out that the valgrind variant is
fine (maybe due to picking up pulsesink though).
2014-02-19 11:26:22 +01:00
Stefan Sauer
c40e8b1210
autodetect: remove cruft from the test
...
Remove the obsolete version check and use the ignore macro for the disabled test.
2014-02-19 11:05:35 +01:00
Wim Taymans
6af234e29e
tests: fix typecast to fix compilation
2014-02-14 15:53:55 +01:00
Sebastian Dröge
1a78a7eb22
souphttpsrc: Fix implicit enum conversion compiler warning
...
error: implicit conversion from enumeration type
'SoupStatus' to different enumeration type 'SoupKnownStatusCode'
2014-02-08 17:43:32 +01:00
Sebastian Dröge
ec1899e456
interleave: Fix unitialized variable compiler warning in test
...
error: variable 'mask' is used uninitialized
whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
2014-02-08 17:41:21 +01:00
Edward Hervey
ceb602073a
check: Use fakesink sync=True instead of an audio sink
...
Ensures the test can run on systems without alsa (or any audio output for
that matter), and will avoid people running build slaves wondering what
the hell was beeping during the night :)
2014-01-29 10:37:53 +01:00
George Kiagiadakis
016e1562a6
tests: rtprtx::test_rtxreceive_data_reconstruction: remove useless code for triggering retransmission
...
There is no need anymore to push yet another buffer in rtxsend
in order to trigger the previously requested retransmissions
to actually happen.
2014-01-21 15:00:54 +01:00
George Kiagiadakis
184553151d
tests: rtprtx::test_rtxreceive_data_reconstruction: fix race condition
...
Now with rtprtxsend pushing rtx buffers from a different thread,
this is necessary to ensure that the result of the test is deterministic.
This code makes use of GstCheck's global GMutex and GCond that are
being used inside GstCheck's sink pad chain() function in order
to synchronize with it.
2014-01-21 15:00:53 +01:00
George Kiagiadakis
7677aec2fa
tests: rtprtx::test_rtxsender_packet_retention: fix race condition
...
Now with rtprtxsend pushing rtx buffers from a different thread,
this is necessary to ensure that the result of the test is deterministic.
This code makes use of GstCheck's global GMutex and GCond that are
being used inside GstCheck's sink pad chain() function in order
to synchronize with it.
2014-01-21 15:00:53 +01:00
George Kiagiadakis
7011f98d7e
tests: rtprtx::test_push_forward_seq: fix race condition
...
Now with rtprtxsend pushing rtx buffers from a different thread,
this is necessary to ensure that the result of the test is deterministic.
This code makes use of GstCheck's global GMutex and GCond that are
being used inside GstCheck's sink pad chain() function in order
to synchronize with it.
2014-01-21 15:00:53 +01:00
George Kiagiadakis
c702e37091
tests: rtprtx::test_push_forward_seq: fix buffer refcounting
2014-01-21 15:00:53 +01:00
Olivier Crête
8a143dfcbc
tests: Remove usage of the system clock from the rtprtx test
2014-01-15 10:13:12 +01:00