Commit graph

1486 commits

Author SHA1 Message Date
Thiago Santos 4fefd48f05 tests: videoencoder: check that tags are pushed before eos
Check that if a new tag event is received right before eos it
is pushed before the eos
2014-01-29 12:33:59 -03:00
Thiago Santos 6684aa42cd tests: videoencoder: basic videoencoder base class test
Adds a single test for video encoding
2014-01-29 12:33:59 -03:00
Sebastian Rasmussen fa393e5d60 rtpbasepayload: Add statistics property
This property allows for an atomically retrieved set of properties that
can e.g. be used to generate RTP-Info headers.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=719415
2014-01-27 15:11:09 +01:00
Sebastian Dröge 5dd8e9cdd4 examples: Port Qt examples to Qt5 2014-01-20 09:46:15 +01:00
Thiago Santos 1d75bdca92 tests: videodecoder: plug a few leaks
Remove leaks of caps and events references
2014-01-17 11:21:33 -03:00
Thiago Santos 36efe20679 tests: audiodecoder: add another test for negotiation with gap event
Check that even if the subclass doesn't call set_output_format, the base
class should use upstream provided caps to fill the output caps that is
pushed before the gap event is forwarded, otherwise it ends again fixating
the rate and channels to 1.

https://bugzilla.gnome.org/show_bug.cgi?id=722144
2014-01-15 15:20:39 -03:00
Thiago Santos bbbd9f7d49 tests: audiodecoder: check that negotiation works buffers and gaps
Adds 2 tests to verify that output caps are the expected value, reusing
input structure values for both buffers and gaps

https://bugzilla.gnome.org/show_bug.cgi?id=722144
2014-01-14 09:34:44 -03:00
Thiago Santos 755414ed1e tests: audiodecoder: add basic playback test for audio decoder
Simple test that just check that audio decoding works as expected

https://bugzilla.gnome.org/show_bug.cgi?id=722144
2014-01-14 09:34:44 -03:00
Wim Taymans d899e6df5a video: rename NV12T -> NV12_64Z32
Is a bit more descriptive and allows us to add more tiled types
later.

https://bugzilla.gnome.org/show_bug.cgi?id=707361
2014-01-13 10:46:52 -05:00
Wim Taymans 12eedf86e8 tests: fix videoscale test for NV12T
https://bugzilla.gnome.org/show_bug.cgi?id=707361
2014-01-13 10:46:24 -05:00
Thiago Santos 561a4fff15 tests: videodecoder: check that segment events are not dropped
Adds a test that simulates a scenario where the first buffers after
a segment can't be decoded and the decoder asks for those frames
to be released. The videodecoder base class should make sure that
the events attached to those first buffers are pushed even if the
buffers aren't going to be.

https://bugzilla.gnome.org/show_bug.cgi?id=721835
2014-01-13 06:11:09 -03:00
Thiago Santos b1e728a854 tests: videodecoder: add test for reverse playback
Checks that buffers are pushed backwards in reverse playback

https://bugzilla.gnome.org/show_bug.cgi?id=721666
2014-01-13 06:11:09 -03:00
Thiago Santos c564d5b2c9 tests: videodecoder: add check for serialization of events
Tests that events are properly serialized with buffers, also checks
that the usual events are sent (stream start, caps, segment and eos).
2014-01-07 22:08:14 -03:00
Thiago Santos 27530a0196 tests: videodecoder: add simple playback test
Add a simple playback test that makes sure that video decoder pushes
buffers in the same order it receives and that it respects the
set timestamps and durations
2014-01-07 22:08:14 -03:00
Sebastian Dröge 230307f842 Revert "test-effect-switch: Change one of the pad blocks to and idle probe"
This reverts commit 40fe5dcc84.

Using an idle probe here is not ideal because we'll send an EOS event
from the application thread... which might block for quite some time.
Go back to a block probe.
2013-12-31 09:37:36 +01:00
Sebastian Dröge eff2119e6a test-effect-switch: Don't put two format fields into the first capsfilter 2013-12-30 19:40:29 +01:00
Sebastian Dröge 40fe5dcc84 test-effect-switch: Change one of the pad blocks to and idle probe
Just because we can.
2013-12-30 19:13:37 +01:00
Tim-Philipp Müller d24f554a3c tests: make git ignore new test binary 2013-12-22 22:07:43 +00:00
Sebastian Dröge 4f4ff6bda6 subparse: Add unit test for LRC subtitles 2013-12-18 15:52:53 +01:00
Stefan Sauer 51038d70aa pbutils: add typefinder and descriptions for audio/x-xi
xi files can be read by libsndfile.
2013-12-17 18:06:12 +01:00
Sebastian Rasmussen 1966b85b20 tests: Add test for rtpbasepayload/-depayload
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=720162
2013-12-10 14:42:13 +01:00
Sebastian Rasmussen c734f9fba8 rtpbuffer: Allow subbuffering of empty buffers
See https://bugzilla.gnome.org/show_bug.cgi?id=720162
2013-12-10 12:38:56 +01:00
Tim-Philipp Müller 60e87090eb tests: add unit test for samiparser issue
https://bugzilla.gnome.org/show_bug.cgi?id=712805
2013-11-21 16:34:25 +00:00
Tim-Philipp Müller 92967c3d2a tests: fix input-selector-test
Update for pad template name changes.
2013-11-18 19:27:14 +00:00
Tim-Philipp Müller b79d6b1c09 tests: fix appsrc test with latest GLib version
With the latest GLib, g_source_remove() complains about not finding
the timeout source with the given ID here, since it was already
destroyed by returning FALSE from the timeout callback. Also return
FALSE from the bus watches when we don't want to be called any more.
2013-11-18 16:03:07 +00:00
Tim-Philipp Müller 7509343e53 tests: fix race in streamsynchronizer test
Wait for thread to exit before starting to free the
to_push list, otherwise thread might check the final
to_push->next node only after we've freed it already.
2013-11-12 19:03:19 +00:00
Sebastian Dröge 2b9118f58c adder: Free consistency checker instance in test_live_seeking test 2013-11-06 12:16:31 +01:00
Sebastian Dröge 69e95ffb24 adder: Release some request pads properly in the unit test 2013-11-06 12:01:14 +01:00
Sebastian Dröge 2dda08478a audio: Add unit test for filling memory with silence samples 2013-11-03 15:58:35 +01:00
Julien Isorce 973d1dcf39 examples/overlay: handle the case when xvimagesink is not found
So that ximagesink can have a chance to be found.
In qtgv-videooverlay.
2013-10-10 16:14:07 +01:00
Julien Isorce e0dfbe9dfa examples/overlay: unref sink only when found
In gtk-videooverlay and qt-videooverlay examples.
2013-10-10 16:14:07 +01:00
Thiago Santos 7dfb903cb4 videotestsrc: improve test for backwards playback
Improve test by checking that timestamps are decreasing
2013-10-08 16:20:03 -03:00
Thiago Santos c2eb3d4e71 videotestsrc: implement duration query
Add duration query to videotestsrc, it can answer this query when
the num-buffers property is set.

https://bugzilla.gnome.org/show_bug.cgi?id=709646
2013-10-08 16:10:54 -03:00
Thibault Saunier 8bcd1a2f8d tests: test videotestsrc in reverse playback
https://bugzilla.gnome.org/show_bug.cgi?id=701813
2013-10-08 11:17:17 -03:00
Tim-Philipp Müller 953a3479ff tests: fix uridecodebin signal used in playback test6
"new-decoded-pad" no longer exists.
2013-08-17 16:59:07 +01:00
Tim-Philipp Müller 001e08e5a4 tests: add test-header-compile script
https://bugzilla.gnome.org/show_bug.cgi?id=695889
2013-08-16 14:14:07 +01:00
Edward Hervey 2cf8ac87aa check: Update .gitignore 2013-08-13 17:39:34 +02:00
Sebastian Dröge 8d65deb7ed playbin-complex: Set fakesink as audio-sink to not use a real audio device
https://bugzilla.gnome.org/show_bug.cgi?id=705157
2013-08-13 13:44:21 +02:00
David Schleef b851a6dacc tests: move orc removal to distclean 2013-08-02 16:57:43 -07:00
Tim-Philipp Müller dbcf68abc9 tests: fix videoscale test after video format addition 2013-07-16 18:50:09 +01:00
Young-Ho Cha 6cea51c962 tests: update sami parser testcases
Remove libxml dependency for sami parser
and add more testcases.

https://bugzilla.gnome.org/show_bug.cgi?id=693056
2013-07-16 18:10:37 +01:00
Sebastian Dröge f2bc24a5a9 playbin: Fix assumptions in the unit test
Unused sinks are still set to READY now during autoplugging
to check their caps. Also playsink owns a ref to the sinks too.
2013-07-10 13:20:34 +02:00
Edward Hervey a9e4750674 pbutils: descriptions: Allow smart codec tag handling
We already have internally the information on what type of stream (audio,
video, container, subtitle, ...) a certain caps is.
Instead of forcing callers to specify which CODEC_TAG category a certain
caps is, use that information to make a smart choice.

Does not break previous behaviour of gst_pb_utils_add_codec_description_to_tag_list
(if tag is specified it will be used, if caps is invalid it will be rejected,
...).

https://bugzilla.gnome.org/show_bug.cgi?id=702215
2013-06-28 07:09:53 +02:00
Branko Subasic 4dd5c5b808 rtpbuffer: add gst_rtp_buffer_get_payload_bytes
The function gst_rtp_buffer_get_payload can not be used in Python
because it lacks necessary length parameter. This patch adds a new
function, gst_rtp_buffer_get_payload_bytes, to use from Python
bindings. The new function has the advisory "Rename to:" annotation
so it can replace the gst_rtp_buffer_get_payload whan creating
bindings.

The function gst_rtp_buffer_get_extension_bytes is also added. It wraps
gst_rtp_buffer_get_extension_data which doesn't work in Python due to
incomplete annotation and because it returns the length as number of
32-bit words.

https://bugzilla.gnome.org/show_bug.cgi?id=698562
2013-06-18 11:23:40 +02:00
Sreerenj Balachandran eabd2a5c7b tests: add more unit test for playbin
Add unit test for autoplugging of video_decoder/video_sink combination
based on capsfeatures.
2013-06-11 15:17:37 +02:00
Sebastian Dröge f763a2364f playbin: Rename compressed unit test to complex
It's not really about compressed streams anymore, but also
about stream switching and stream combiners.
2013-05-29 10:37:55 +02:00
Sebastian Dröge 0dee7777ff playbin: Set custom stream-combiners to NULL and unref before finalizing 2013-05-29 10:35:11 +02:00
Brendan Long f45a102c2c playbin: Add playbin audio-stream-combiner test using adder 2013-05-29 09:53:46 +02:00
Tim-Philipp Müller 1bc94d4aa3 tests: ignore new NV16 format in videoscale unit test
https://bugzilla.gnome.org/show_bug.cgi?id=700377
2013-05-16 11:09:11 +01:00
Sebastian Dröge d8a3895ac9 tests: Fix event order and missing events 2013-05-10 12:29:15 +02:00