Luis de Bethencourt
1c77d12ce8
tests: check jpegparse for progressive marker
2015-02-24 17:42:15 +00:00
Alex Ashley
a08dd85608
hlsdemux: select correct starting position for live streams
...
When playing live HLS streams, the media playback starts from the
beginning of the media playlist. When playing a live HLS stream,
media playback should start from 3 fragments from the end of the
playlist.
See section 6.3.3. of the HLS draft [1]
This commit changes the logic to select 3 fragments from the end when
playing a live stream.
[1] http://tools.ietf.org/html/draft-pantos-http-live-streaming-12#page-29
https://bugzilla.gnome.org/show_bug.cgi?id=727742
2015-02-20 19:00:01 -03:00
Tim-Philipp Müller
9c21327a8d
tests: remove GST_DISABLE_PARSE guards from two tests that don't require it
2015-02-13 16:25:14 +00:00
Tim-Philipp Müller
337bff3c82
tests: compositor: add unit test for proper segment.base handling
...
As adjusted by gst_pad_set_offset(), or when doing segment seeks
or looping for example.
2015-02-05 15:48:41 +00:00
Tim-Philipp Müller
689f627412
tests: audiomixer: add unit test for proper segment.base handling
...
As adjusted by gst_pad_set_offset(), or when doing segment seeks
or looping for example. See previous audiomixer commit.
2015-02-05 15:23:04 +00:00
Olivier Crête
fb6ba27ae5
audiomixer: Make flush start/stop test non-racy
...
The flush stop could have happened between the source trying
to push the segment event and the buffer, this would cause a warning.
Prevent that by taking the source's stream lock while flushing.
https://bugzilla.gnome.org/show_bug.cgi?id=742684
2015-01-29 10:24:18 +01:00
Olivier Crête
f98e457f99
audiomixer: Replace racy timeout based tested with drain query
...
Using the drain query, we can be certain that the buffer has done going
through the aggregator by taking the stream locks.
https://bugzilla.gnome.org/show_bug.cgi?id=742684
2015-01-29 10:24:18 +01:00
Olivier Crête
94e2d78479
audiomixer: Avoid race in caps negotiation
...
With the current audiomixer, the input caps need to be the same,
otherwise there is an unavoidable race in the caps negotiation. So
enforce that using capsfilters
https://bugzilla.gnome.org/show_bug.cgi?id=742684
2015-01-29 10:24:18 +01:00
Tim-Philipp Müller
ad25461dac
tests: gdpdepay: update for internal gdp refactoring
...
This test uses some internal/private API, so needs to
be updated for recent changes.
2014-12-26 13:44:35 +00:00
Tim-Philipp Müller
c184a4bb04
gdppay: refactor a little
...
Get rid of now-useless packetizer struct and just
call internal functions directly. Also remove
version property which is now defunct, not least
because we create the packetizer with the
version in the init function before a version
can be set.
2014-12-26 13:44:32 +00:00
Tim-Philipp Müller
3e74746d72
tests: gdppay: initialise memory of buffers used in unit test
2014-12-26 13:44:32 +00:00
Sebastian Dröge
7c575af6df
audiomixer: Change blocksize property to output-buffer-duration in time format
...
This makes the interface of audiomixer independent of the actual caps.
2014-12-23 11:45:50 +01:00
Sebastian Dröge
e82ec36863
audiomixer: Add queues after the (live) sources in the unit test
2014-12-17 18:41:41 +01:00
Olivier Crête
8cddfe6477
rtponviftimestamp: Automatically discover the ntp-offset by default.
...
This only works if no packets are pushed in before the pipeline goes
to playing. So it helps to have a live source.
https://bugzilla.gnome.org/show_bug.cgi?id=731769
2014-12-11 16:28:43 -05:00
Guillaume Desmottes
189005184c
add rtponvifextract element
...
https://bugzilla.gnome.org/show_bug.cgi?id=731769
2014-12-11 14:00:59 -05:00
Guillaume Desmottes
b424b72df1
add rtponviftimestamp element
...
https://bugzilla.gnome.org/show_bug.cgi?id=731769
2014-12-11 14:00:59 -05:00
Julien Isorce
91efa58371
tests: add glimagesink unit test to .gitignore
2014-12-03 07:46:50 +00:00
Julien Isorce
7bb1ea7094
gl: add unit test that checks for glimagesink drain query handling
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=732694
2014-11-12 00:09:21 +00:00
Sebastian Dröge
67bc805a8d
tests: Add x265enc unit test to .gitignore
2014-11-10 16:01:25 +01:00
Tim-Philipp Müller
6df60cfb6a
tests: fix audiomixer test on big endian systems
2014-10-25 21:09:30 +01:00
Thijs Vermeir
fb9248b8ea
tests/x265enc: add simple unit test
2014-10-15 17:11:47 +02:00
Aurélien Zanelli
a1ed734076
test: use G_GSIZE_FORMAT in audiomixer test
...
https://bugzilla.gnome.org/show_bug.cgi?id=738227
2014-10-09 16:20:07 +03:00
Sebastian Dröge
341b336e71
hlsdemux: Fix M3U8 parsing unit test after API changes
2014-10-07 15:24:10 +03:00
Thibault Saunier
dd65d70f65
audiomixer: Port to GstAggregator
...
https://bugzilla.gnome.org/show_bug.cgi?id=737183
Co-Authored by: Mathieu Duponchelle <mathieu.duponchelle@opencreed.com>
2014-10-06 18:57:28 +02:00
Sebastian Dröge
ef8bf75151
templatematch: Compare the correct loop variables
2014-09-16 01:15:31 +03:00
Thiago Santos
288efd4f99
tests: hlsdemux: fix compilation
...
In file included from /home/thiagoss/gst/head/gstreamer/gst/gst.h:54:0,
from /home/thiagoss/gst/head/gstreamer/libs/gst/check/gstcheck.h:34,
from elements/hlsdemux_m3u8.c:27:
../../ext/hls/gstfragmented.h:8:28: error: redundant redeclaration of ‘fragmented_debug’ [-Werror=redundant-decls]
GST_DEBUG_CATEGORY_EXTERN (fragmented_debug);
Move the definition of the category to after the declaration.
2014-09-05 16:11:08 -03:00
Sebastian Dröge
3c14457b47
hlsdemux: Include the m3u8.c file directly in the test because of an automake bug
...
$(top_srcdir) doesn't seem to work with _SOURCES because that would be too
obvious.
http://lists.gnu.org/archive/html/automake/2013-09/msg00005.html
2014-09-05 12:25:01 +03:00
Sebastian Dröge
96c273f18a
hlsdemux: Add unit test for parsing of M3U8 playlists
...
Ported from https://github.com/ylatuya/gst-plugins-bad
This still has some unit tests for alternative renditions and
seeking, which are commented out for the time being until we
support them properly.
2014-09-04 17:51:21 +03:00
Thiago Santos
30a51ca547
h264parse: tests: fix caps for avc format
...
If it has a codec_data field, it should also use the stream-format=avc as
codec_data doesn't make sense otherwise and the default should
be bytestream
2014-08-25 13:37:57 -03:00
Thiago Santos
03ef435c45
tests: gitignore: update with new tests
2014-07-28 19:11:41 -03:00
Thiago Santos
06243b7eee
tests: templatematch: add test to check that we use the correct rgb format
...
templatematch should use the same RGB format that opencv uses (BGR), make sure
we keep it that way with this test.
https://bugzilla.gnome.org/show_bug.cgi?id=678485
2014-07-28 15:57:07 -03:00
Thiago Santos
ea7b843244
gdppay: put all sticky events in streamheader
...
Use the sticky events to compose the streamheader as they are the
ones that are persisted to config new pads linked. Instead of storing
them ourselves rely on the pad storage that already orders it for us
https://bugzilla.gnome.org/show_bug.cgi?id=732596
2014-07-22 08:51:32 -03:00
Gwenole Beauchesne
804c0ac27b
tests: h264parse: add test for byte-stream/au output.
...
Check that conversion to byte-stream/au formats work and that we
can effectively drop broken/invalid NAL units from the resulting
access unit buffer.
https://bugzilla.gnome.org/show_bug.cgi?id=732203
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2014-07-01 16:26:48 +02:00
Gwenole Beauchesne
fb22636325
tests: h264parse: check SEI buffering_period() message is output.
...
If an SEI NAL unit with a buffering_period() message is inserted
between an SPS and PPS NAL unit, check that the output buffer still
contain it. i.e. make sure that this SEI message is not dropped.
https://bugzilla.gnome.org/show_bug.cgi?id=732156
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2014-07-01 16:26:48 +02:00
Sebastian Dröge
225f03f80e
h264parse: Fix memory leak in unit test
2014-06-29 23:22:13 +02:00
Thiago Santos
1004f8d8ea
compositor: tests: Fix pad leak
...
Remember to unref requested pad
2014-06-28 09:44:22 -03:00
Thiago Santos
f1b99f04dc
tests: camerabin: fix caps leak in test
...
The gst_query_set_caps_result doesn't take ownership of caps
2014-06-27 17:35:32 -03:00
Mathieu Duponchelle
11fa711c34
compositor: Add a new compositor based on the new GstVideoAggregator base class
...
It is a replacement for videomixer with a similare API
Co-Authored by: Thibault Saunier <tsaunier@gnome.org>
https://bugzilla.gnome.org/show_bug.cgi?id=731919
2014-06-20 19:53:33 +02:00
Olivier Crête
e72f0eadd8
tests: Take account of memory alignment in shm test
2014-06-02 21:51:38 -04:00
L. Sorin
9c1e66302d
curlsftpsink: authenticate remote host via public key fingerprint
...
Expose one more libcurl option: CURLOPT_SSH_HOST_PUBLIC_KEY_MD5.
This allows authenticating the server by the MD5 fingerprint of
the server's public key.
https://bugzilla.gnome.org/show_bug.cgi?id=723167
2014-05-20 08:58:08 +02:00
Sebastian Dröge
24224f86bc
mpegtsmux: Use complete caps for setting up the streams in the test
2014-05-03 12:02:58 +02:00
Sebastian Rasmussen
54d160be5f
curl*sink: improve return value checks in test cases
...
https://bugzilla.gnome.org/show_bug.cgi?id=728960
2014-04-26 10:21:10 +02:00
Sebastian Rasmussen
da987a3219
curl*sink: fix typos
...
https://bugzilla.gnome.org/show_bug.cgi?id=728960
2014-04-26 10:20:33 +02:00
Edward Hervey
1f0a67f295
check: Fix mpegtsmux caps
...
Incoming streams need to be parsed. Doesn't fix the test completely though
2014-04-08 07:48:28 +02:00
Vincent Penquerc'h
8a8a02e756
tests: fix shm test deadlock
...
The test was not bringing the source back to NULL, so its thread
could start creating a buffer while the pads were being shutdown.
2014-04-07 13:00:21 +01:00
Wim Taymans
385ae4ace1
check: fix make check
...
The mpeg parser now flags the stream as mpeg2 if there is a picture
extension header, so remove it for mpeg1 data.
2014-03-21 16:00:46 +01:00
Tim-Philipp Müller
fc4ffd078a
tests: fix mpg123audiodec test for big-endian architectures
2014-03-05 10:37:53 +00:00
Sebastian Dröge
35e0ffa227
opus: Remove unused variable from unit test
2014-02-08 20:08:29 +01:00
Sebastian Dröge
2139a18272
kate: Remove unused variable from unit test
2014-02-08 20:07:57 +01:00
Sebastian Dröge
6f178ea8dc
assrender: Fix compiler warning in test
...
error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
2014-02-08 20:07:16 +01:00