hoonhee.lee
04b006cd12
tests: audiomixer: remove duplicated word in comment
...
https://bugzilla.gnome.org/show_bug.cgi?id=753915
2015-08-21 11:12:04 +03:00
Alex Ashley
48fefd8c84
check: hlsdemux: make duration unit test robust to floating point rounding
...
The test_playlist_with_doubles_duration() test fails on some platforms
due to rounding errors that occur when m3u8.c converts from the floating
point value in the HLS manifest to a GstClockTime.
Using assert_equals_float() fixes this because this function handles
the rounding error issues by accepting almost equal.
https://bugzilla.gnome.org/show_bug.cgi?id=753881
2015-08-20 17:13:48 +03:00
Sebastian Dröge
551e7b97f3
dashdemux: Handle encoding specified in the <xml> element when dumping nodes
...
Previous patch did not handle the case where an encoding (e.g. UTF-8) is
specified in the <xml ?> element. Added an extra test for with and without
encoding.
https://bugzilla.gnome.org/show_bug.cgi?id=753813
2015-08-19 21:33:47 +03:00
Alex Ashley
2ebebdbfbb
dashdemux: replace xmlNodeDump with xmlNodeDumpOutput
...
When running on an STB, the function
gst_mpdparser_get_xml_node_as_string causes a segmentation fault. This
code works correctly on a Linux desktop.
Looking at the libxml documentation, the xmlNodeDump is deprecated.
Replacing the use of xmlNodeDump with xmlNodeDumpOutput fixes the
segfault on the STB and removes the use of the deprecated function.
2015-08-19 16:30:58 +03:00
Edward Hervey
c5a2936c6d
check: Link against GModule for tests using g_module_*
2015-08-15 23:36:01 +02:00
Edward Hervey
c90f6b990b
checks: Ensure thread-safe libX11/GL when running tests
2015-08-15 19:04:42 +02:00
Alex Ashley
95c705ae8f
dashdemux: add support for UTCTiming elements for clock drift compensation
...
Unless the DASH client can compensate for the difference between its
clock and the clock used by the server, the client might request
fragments that either not yet on the server or fragments that have
already been expired from the server. This is an issue because these
requests can propagate all the way back to the origin
ISO/IEC 23009-1:2014/Amd 1 [PDAM1] defines a new UTCTiming element to allow
a DASH client to track the clock used by the server generating the
DASH stream. Multiple UTCTiming elements might be present, to indicate
support for multiple methods of UTC time gathering. Each element can
contain a white space separated list of URLs that can be contacted
to discover the UTC time from the server's perspective.
This commit provides parsing of UTCTiming elements, unit tests of this
parsing and a function to poll a time server. This function
supports the following methods:
urn:mpeg:dash:utc:ntp:2014
urn:mpeg:dash:utc:http-xsdate:2014
urn:mpeg:dash:utc:http-iso:2014
urn:mpeg:dash:utc:http-ntp:2014
The manifest update task is used to poll the clock time server,
to save having to create a new thread.
When choosing the starting fragment number and when waiting for a
fragment to become available, the difference between the server's idea
of UTC and the client's idea of UTC is taken into account. For example,
if the server's time is behind the client's idea of UTC, we wait for
longer before requesting a fragment
[PDAM1]: http://www.iso.org/iso/home/store/catalogue_tc/catalogue_detail.htm?csnumber=66068
dashdemux: support NTP time servers in UTCTiming elements
Use the gst_ntp_clock to support the use of an NTP server.
https://bugzilla.gnome.org/show_bug.cgi?id=752413
2015-08-14 06:47:20 -03:00
Edward Hervey
a7444ad850
check: Rename states unit test
...
Makes it easier to differentiate from other modules states unit test
2015-08-14 11:13:59 +02:00
Matthew Waters
4fd7b2408e
tests/glcontext: fix INVALID_ENUM GL error in test
2015-08-08 15:32:17 +02:00
Thiago Santos
9d431e605f
tests: dash_mpd: add check for segmenttemplate inheritance
...
Checks if the values are properly inherited and overwriten
2015-08-01 16:11:07 -03:00
Thiago Santos
9c291904f5
tests: dash_mpd: add one more baseURL test
...
This other type of baseURL test was replaced by a more complex one,
better have both to keep both options working
Also adds another 2 variations of how baseURL can be generated
https://bugzilla.gnome.org/show_bug.cgi?id=752776
2015-08-01 16:11:01 -03:00
Florin Apostol
6ce65709bd
dashdemux: tests: added duration format test
...
https://bugzilla.gnome.org/show_bug.cgi?id=752776
2015-08-01 16:10:55 -03:00
Florin Apostol
86c12c7357
dashdemux: tests: update unit test for baseURL
...
Update the unit test for baseURL to test that it is properly
resolved taking into account parent baseURL elements.
https://bugzilla.gnome.org/show_bug.cgi?id=752776
2015-08-01 11:52:26 -03:00
Olivier Crête
035e51b010
tests: Add test for seeking live pipelines
...
https://bugzilla.gnome.org/show_bug.cgi?id=745768
2015-07-30 14:00:05 -04:00
Olivier Crête
1cb49c429b
tests: Make source live to re-enable aggregator timeout tests
...
The live mode is only enabled if one of the sources if live.
https://bugzilla.gnome.org/show_bug.cgi?id=745768
2015-07-30 14:00:05 -04:00
Olivier Crête
ce6206388c
tests: Add audiointerleave test to show that queuing works
...
This tests fails without the queuing patch because incoming buffers are
not delivered before they are needed.
https://bugzilla.gnome.org/show_bug.cgi?id=745768
2015-07-30 14:00:05 -04:00
Sebastian Dröge
b88d93ff7b
compositor: Add unit tests for the new aggregator start-time-selection property
...
https://bugzilla.gnome.org/show_bug.cgi?id=749966
2015-07-29 14:35:50 +01:00
Nicolas Dufresne
47e436916d
glcolorconvert-test: Test notify function for setup_wrapped
...
gst_gl_memory_setup_wrapped() now takes a destroy notify function. This
destroy notify is called to track the memory life time, hence will
notify each time a memory get destroyed. This test check that the
callback count is correct.
2015-07-28 11:20:40 -04:00
Nicolas Dufresne
3d9d4869f4
glcolorconvert-test: Fix build
2015-07-28 11:06:43 -04:00
Nirbheek Chauhan
ad8cb458ba
audioaggregator: Sync pad values before aggregating
...
We need to sync the pad values before taking the aggregator and pad locks
otherwise the element will just deadlock if there's any property changes
scheduled using GstController since that involves taking the aggregator and pad
locks.
Also add a test for this.
https://bugzilla.gnome.org/show_bug.cgi?id=749574
2015-07-22 19:50:38 +01:00
Matthew Waters
d5996de5d7
glcontext: fix get_current_gl_api on x11/nvidia drivers
...
They require to get_proc_address some functions through the
platform specific {glX,egl}GetProcAddress rather than the default
GL library symbol lookup.
2015-07-18 18:18:22 +10:00
Matthew Waters
be9ad5eeb2
glcontext: track sharedness with a cookie
...
The previous approach of traversing the other_context weak ref tree was
1. Less performant
2. Incorrect for context destruction removing a link in the tree
Example of 2:
c1 = context_create (NULL)
c2 = context_create (c1)
c3 = context_create (c2)
context_can_share (c1, c3) == TRUE
context_destroy (c2)
unref (c2)
context_can_share (c1, c3) returns FALSE when it should be TRUE!
This does not remove the restriction that context sharedness can only
be tracked between GstGLContext's.
2015-07-18 15:34:55 +10:00
Matthew Waters
abde710f42
gtk: add to the generic/states test
2015-07-09 16:40:19 +10:00
Sebastian Dröge
cd47556351
mpdparser: Fix some memory leaks in the MPD parser and unit test
2015-07-08 23:15:14 +03:00
Florin Apostol
d525d9c391
dashdemux: tests: added unit tests to test all functions
...
Added unit tests for all functions. Code coverage:
Overall coverage rate:
lines......: 83.8% (1941 of 2316 lines)
functions..: 100.0% (141 of 141 functions)
2015-07-08 23:15:14 +03:00
Florin Apostol
57042af9d6
dashdemux: tests: added indentation in xml strings to improve readability
...
https://bugzilla.gnome.org/show_bug.cgi?id=752027
2015-07-07 14:13:53 +03:00
Florin Apostol
397fa37093
dashdemux: tests: corrected code layout
...
deleted the empty line between gst_mpd_parse call and its check so that
the assert is next to the function it is testing
https://bugzilla.gnome.org/show_bug.cgi?id=752027
2015-07-07 14:01:03 +03:00
Stian Selnes
158f8d5b68
tests: pcapparse: add unit test for frames with eth padding
...
https://bugzilla.gnome.org/show_bug.cgi?id=751879
2015-07-03 10:28:34 +01:00
Florin Apostol
e2d1126391
dashdemux: corrected recognition of $$$ in segment templates
...
fixed recognition of $$ after a $ that ends an identifier, eg $Time$$$
https://bugzilla.gnome.org/show_bug.cgi?id=751682
2015-06-29 19:28:56 -03:00
Florin Apostol
87a4d523b9
tests: dashdemux: renamed functions
...
Renamed 2 testcase functions:
- dash_mpdparser_program_information
- dash_mpdparser_base_URL
2015-06-25 10:13:23 +02:00
Florin Apostol
b8cb37f04d
tests: dashdemux: added explicit type conversions
...
flexelint (http://www.gimpel.com/html/flex.htm ) static code analyser
complained about implicit conversions from unsigned to signed, so I added
explicit conversions.
Ideally, the size parameter of gst_mpd_parse function should be unsigned,
but I don't want to change the API.
2015-06-24 12:22:44 +02:00
Florin Apostol
d02f9d30af
tests: dashdemux: corrected return type for duration_to_ms function
...
The duration_to_ms function converts a time specified by year, month, day,
hour, minute, second, millisecond to a millisecond value. Because all the
arguments are positive numbers, the result must also be positive.
This patch changes the returned value from a gint64 to a guint64 type.
2015-06-24 12:22:33 +02:00
Florin Apostol
d310a1edcf
tests: dashdemux: added parsing of period element
...
Improved dash_mpd unit tests by adding new tests that parse the Period element.
Code coverage reported by lcov for dash/gstmpdparser.c is:
lines......: 43.0% (985 of 2290 lines)
functions..: 47.5% (67 of 141 functions)
2015-06-22 18:22:57 +02:00
Florin Apostol
05198e2df1
tests: dashdemux: extended MPD element test to test xml namespaces
...
Extended the dash_mpdparser_mpd testcase to also test parsing the xml
namespace attribute.
https://bugzilla.gnome.org/show_bug.cgi?id=750863
2015-06-22 13:55:46 +02:00
Florin Apostol
8336d7a60b
dashdemux: corrected computation of period's duration
...
According to ISO/IEC 23009-1:2014(E), chapter 5.3.2.1
"The Period extends until the PeriodStart of the next Period, or until
the end of the Media Presentation in the case of the last Period."
This means that a configured value for optional attribute period duration
should be ignored if the next period contains a start attribute or it is
the last period and the MPD contains a mediaPresentationDuration attribute.
https://bugzilla.gnome.org/show_bug.cgi?id=750797
2015-06-22 13:47:54 +02:00
Florin Apostol
9f56cc27ab
dashdemux: fixed getting representation based on max bandwidth
...
The gst_mpdparser_get_rep_idx_with_max_bandwidth function assumes
representations are ordered by bandwidth and incorrectly returns the
first one when wanting the one with minimum bandwidth.
Corrected gst_mpdparser_get_rep_idx_with_max_bandwidth function to get the
correct representation in case max_bandwidth parameter is 0.
https://bugzilla.gnome.org/show_bug.cgi?id=751153
2015-06-18 11:29:45 -03:00
Florin Apostol
b23e4452a2
dashdemux: fixed segfault for missing default namespace
...
Added a check for a_node->ns before accessing a_node->ns->href in
gst_mpdparser_get_xml_node_namespace. This could happen if the xml
is missing the default namespace.
https://bugzilla.gnome.org/show_bug.cgi?id=750866
2015-06-12 22:45:51 +02:00
Nirbheek Chauhan
220a133479
tests: Add test for the 'ignore-eos' compositor sink pad property
...
When the 'ignore-eos' property is set on a pad, compositor will keep resending
the last buffer on the pad till the pad is unlinked. We count the buffers
received on appsink, and if it's more than the buffers sent by videotestsrc, the
test passes.
2015-06-12 19:45:41 +01:00
Matthew Waters
97dfc5f5a6
gl/tests: remove reference to undefined buffer test
2015-06-12 21:31:48 +10:00
Matthew Waters
c3a47c910d
glmemory: separate pbo transfer from texture transfers
...
When supported, the potentially longer pbo upload/download can be
initiated before the texture upload/download, potentially increasing
throughput.
2015-06-12 16:59:20 +10:00
Matthew Waters
7d8d1f8206
glmemory: implement on top of glbasebuffer
...
Provides convenient access to PBO usage.
Currently texture updates are coupled tightly to data transfers.
2015-06-12 16:59:20 +10:00
Matthew Waters
23fb666dd7
Implement gtk sinks
...
two sinks are provided. gtksink which is a cairo/software based renderer
and gtkglsink which utilises the GL support in gtk and gstreamer.
2015-06-11 22:01:03 +10:00
Florin Apostol
8b18be5bfb
tests: dashdemux: add unit tests for checking the parsing of MPD element
...
Create a dash test target and add unit tests that check the parsing of
attributes of the MPD element and the following child elements:
- baseURL
- program information
- location
- metrics
These tests check the compliance of parts of the MPD parser in the
dashdemux element against the DASH specification [1].
[1] http://standards.iso.org/ittf/PubliclyAvailableStandards/c065274_ISO_IEC_23009-1_2014_Electronic_inserts.zip
http://standards.iso.org/ittf/PubliclyAvailableStandards/c065274_ISO_IEC_23009-1_2014.zip
https://bugzilla.gnome.org/show_bug.cgi?id=750390
2015-06-08 13:17:49 -03:00
Stefan Sauer
4243db850c
zbar: split test
...
Lets not cram everything into a single test - this would render the test name
useless for quick diagnosis. Having separate tests for the optional feature is
also verifying the behaviour when the feature is off.
2015-06-07 16:27:13 +02:00
Thiago Santos
045bfa10fe
Fix a common typo: retreive -> retrieve
...
Seems to have been copy pasted around a few places
2015-06-05 09:43:35 -03:00
Olivier Crête
06d9b61fc2
tests: audiointerleave: test not setting positions
...
Disable "channel-positions-from-input", but without actually giving
a position table, so every position should be NONE
2015-06-02 15:45:13 -04:00
Olivier Crête
8dcb1c6df6
tests: Fix indentation in audiointerleave test
2015-06-02 15:44:57 -04:00
Edward Hervey
e899abea14
check: Use GST_CHECK_MAIN () macro everywhere
...
Makes source code smaller, and ensures we go through common initialization
path (like the one that sets up XML unit test output ...)
2015-06-02 16:04:40 +02:00
Reynaldo H. Verdejo Pinochet
8f2b65c74d
tests: zbar: check for frame field on attach-frame=true
...
Also check for the sample to have a buffer and caps
associated with it.
Related to:
https://bugzilla.gnome.org/show_bug.cgi?id=747557
2015-06-01 12:33:41 -03:00
Matthew Waters
904cdf3f58
tests/gl: fix typo
2015-05-14 18:35:35 +10:00
Matthew Waters
0870e8785e
gl: remove useless gl{En,Dis}able (GL_TEXTURE_*) calls
...
We are using shaders everywhere and so they are not needed
2015-05-14 16:42:09 +10:00
Matthew Waters
c519169052
compositor: fix rectangle obscure test to clamp against the output frame size
...
Rather than one of the input pad video info's.
The test checking this was not constraining the output frame size
to ensure that the out of frame stream was not being displayed.
2015-05-13 17:44:30 +10:00
Nirbheek Chauhan
105a5cce92
tests: Add a check for the new compositor pad-is-obscured optimization
...
We verify that all the buffers on an obscured sinkpad are skipped by overriding
the map() function in the GstVideoMeta of the buffers to set a variable when
called. We also test that the buffers do get mapped when they're not obscured.
Blame^WCredit for the GstVideoMeta map() idea goes to Tim.
https://bugzilla.gnome.org/show_bug.cgi?id=746147
2015-05-01 11:57:00 +01:00
Thiago Santos
dd2dba632e
tests: camerabin: add tests for GstPhotography image capture
...
GstPhotography enables new paths in wrappercamerabinsrc that allows
the source to be notified about the capture caps and provide an
alternative caps if desired bypassing the negotiation (this doesn't
seem like a good idea these days). To make sure it keeps working
until we remove it from the API in favor of standard caps negotiation
features this test was added.
It adds 3 extra tests with a simple test source that will:
1) Test that capturing with ANY caps work
2) Test that capturing with a fixed caps work
3) Test that capturing with a fixed caps and having the source
pick a different resolution from GstPhotography API works
by having wrappercamerabinsrc crop the capture to the final
requested dimensions
2015-04-24 15:12:47 -03:00
Thiago Santos
de5f0dd221
camerabin: tests: remove unused macros
...
Those macros were with the wrong name (likely a copy n paste mistake)
and were unused.
2015-04-24 15:12:46 -03:00
Thiago Santos
7774126c5d
tests: camerabin: remove obsolete check for 0.10 feature
2015-04-24 15:12:46 -03:00
Tim-Philipp Müller
179444efad
tests: define GST_CHECK_TEST_ENVIRONMENT_BEACON
...
Make sure the test environment is set up.
https://bugzilla.gnome.org//show_bug.cgi?id=747624
2015-04-23 16:40:49 +01:00
Thiago Santos
87e306fe4a
tests: camerabin: add test for capture with different caps
...
Adds a test to verify that viewfinder and image capture caps
can be set to non-intersecting caps and still work.
https://bugzilla.gnome.org/show_bug.cgi?id=724868
2015-04-21 10:00:44 -03:00
Vincent Penquerc'h
d8dd4bea00
tests: fix type mismatch in varargs passing
...
A bitmask is 64 bits, but integer immediates are passed as int
in varargs, which happen to be 32 bit with high probability.
This triggered a valgrind jump-relies-on-uninitalized-value
report well away from the site, since it doesn't trigger on
stack accesses, and there must have been enough zeroes to stop
g_object_set at the right place.
2015-04-09 16:20:44 +01:00
Edward Hervey
fe9a87d563
check: Don't run the state change test on the dtls elements
...
There isn't really any way to test the elements standalone.
2015-04-09 15:41:57 +02:00
Edward Hervey
fdae6af7de
tests: Use AM_TESTS_ENVIRONMENT
...
Needed by the new automake test runner
2015-04-08 16:46:11 +02:00
Reynaldo H. Verdejo Pinochet
b31f3a88e4
aggregator: fix typo in test suite
2015-04-03 18:17:35 -03:00
Reynaldo H. Verdejo Pinochet
b24971f2dd
aggregator: add gap event handling unit test
...
https://bugzilla.gnome.org/show_bug.cgi?id=746249
2015-04-03 18:17:35 -03:00
Olivier Crête
34a921c31b
audiomixer: Allow downstream caps with a non-default channel-mask
...
Instead of failing, take the downstream channel mask if the channel
count is 1.
2015-04-01 20:32:41 -04:00
Olivier Crête
84eff5cca9
audiointerleave: Add unit tests
...
Almost a copy of the "interleave" unit tests, improved to support
the thread on the src pad on GstAggregator.
https://bugzilla.gnome.org/show_bug.cgi?id=740236
2015-03-16 16:44:03 -04:00
Tim-Philipp Müller
ec6e93d45f
tests: mpegtsmux: add test for keyframe/delta flag propagation
...
The first output MPEG-TS packet that corresponds to a video input
buffer which had the delta flag cleared (i.e. was a keyframe)
should have the delta flag cleared as well.
This is needed e.g. by tcpserversink in order to keep track
of the last keyframe and be able to burst data to newly-
connected clients.
https://bugzilla.gnome.org/show_bug.cgi?id=706872
2015-03-15 15:54:01 +00:00
Tim-Philipp Müller
ab52bfbfa6
tests: mpegtsmux: add unit test for "alignment" property
...
https://bugzilla.gnome.org/show_bug.cgi?id=722129
2015-03-15 12:07:53 +00:00
Matthew Waters
e5debcaff4
gl/tests: fix deadlock on glcontext wrapped context test
2015-03-13 12:30:20 +00:00
hoonhee.lee
3beb48162f
tests: glcontext: remove unnecessary semicolon
...
https://bugzilla.gnome.org/show_bug.cgi?id=745875
2015-03-09 08:41:25 +01:00
Nicolas Dufresne
56d4ff8773
gl-test: Port unit tests to new API
2015-03-01 00:08:42 -05:00
Luis de Bethencourt
b383ae0fbd
jpegparse: interlaced doesn't mean progressive scan
...
Removing interlaced variable since it is meant to mean progressive scan
and that isn't used.
2015-02-24 18:50:28 +00:00
Luis de Bethencourt
e45db8ca1e
Revert "tests: check jpegparse for progressive marker"
...
This reverts commit 1c77d12ce8
.
"interlaced" in the caps don't mean the same thing as the SOF2 marker in the
JPEG format. This test passes because of broken behaviour.
2015-02-24 18:38:31 +00:00
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
3c2ee8ece5
aggregator: use new gst_aggregator_pad_drop_buffer()
2015-02-13 16:25:45 +00: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
Matthew Waters
438b83c9fc
gl: update unit test for glmemory api change
2015-01-30 18:51:17 +11:00
Thibault Saunier
d8eef43123
aggregator: Hide GstAggregatorPad buffer and EOS fileds
...
And add a getter for the EOS.
The user should always use the various getters to access
those fields
https://bugzilla.gnome.org/show_bug.cgi?id=742684
2015-01-29 10:24:18 +01: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
Matthew Waters
75b808d072
gl/tests: update glwindow api change
2015-01-23 17:27:42 +11:00
Matthew Waters
d5c3693791
gl: split glcolorconvert usage from glupload
...
the separation allows the transfer operation to occur in a separate
thread/time which may increase performance in specific circumstances.
2015-01-14 22:22:13 +11:00
Matthew Waters
4c73e20553
glcontext: allow wrapped contexts to be utilised like non-wrapped contexts
...
Fill in the missing pieces like get_proc_address, the gl function vtable
2015-01-13 15:18:41 +11:00
Stefan Sauer
4732962c85
gitignore: ignore more files
2015-01-12 22:52:36 +01:00
Mark Nauwelaerts
824f6a3f48
tests: nodist for orc generated code
2015-01-02 14:32:54 +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
Nicolas Dufresne
046639ddaa
gltest: Port to new API
...
https://bugzilla.gnome.org/show_bug.cgi?id=740900
2014-12-19 13:19:34 -05:00
Sebastian Dröge
d4c4af699e
aggregator: Add a timeout parameter to ::aggregate()
...
When this is TRUE, we really have to produce output. This happens
in live mixing mode when we have to output something for the current
time, no matter if we have enough input or not.
2014-12-17 18:41:41 +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
Tim-Philipp Müller
9d79b65a55
tests: fix aggregator unit test after property renaming
2014-12-16 19:49:56 +00:00
Sebastian Rasmussen
01dc7edd8b
tests/aggregator: Use correct type when setting property
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=741495
2014-12-14 11:29:19 +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
Matthew Waters
810d38c29f
glupload: rearchitecture for non GLMemory inputs/outputs
...
Allows other memory types to be implemented/returned/used by the caller.
2014-11-23 17:13:36 +11:00
Julien Isorce
92796446a2
tests: add CFLAGS and LADD for glimagesink unit test
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=732694
2014-11-12 12:33:11 +01: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
Matthew Waters
81ceca1aea
glcontext: add api for retreiving the current context and api
...
that is current in the calling thread.
2014-10-28 17:33:20 +11:00
Tim-Philipp Müller
6df60cfb6a
tests: fix audiomixer test on big endian systems
2014-10-25 21:09:30 +01:00
Aurélien Zanelli
81c5fd3c1e
vc1parser: fix expected level in sequence-layer parsing unit test
...
Sequence-layer used for unit test have a level set to 2 which should
match the medium level, not the high.
https://bugzilla.gnome.org/show_bug.cgi?id=738230
2014-10-20 12:40:54 +02: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
Matthew Waters
fa90c07ff2
tests/aggregator: add timeout handling test for the timeout parameter
2014-10-09 23:52:11 +11: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
Matthew Waters
66e65b3333
tests/glcolorconvert: do reorder checking for rgba formats
2014-09-30 18:26:34 +10:00
Matthew Waters
ce7226da06
tests/glmemory: add simple transfer test
...
tests transferring to/from the GL with a 1x1 RGBA pixel.
2014-09-30 01:49:42 +10:00
Matthew Waters
229e9911cb
gl/tests: update for upload API changes
2014-09-22 20:02:44 +10:00
Aurélien Zanelli
bd050201ba
vc1parser: add unit test for sequence-layer parsing
...
Check that a sequence-layer header is successfully parsed.
https://bugzilla.gnome.org/show_bug.cgi?id=736871
2014-09-18 13:36:35 +03: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
2b7e0d0e73
hlsdemux: And fix Makefile yet again
2014-09-05 12:56:13 +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
eca4eaf183
hlsdemux: Also get the m3u8.c source file from the $(top_srcdir) for the test
...
Should fix make distcheck for real now.
2014-09-04 21:43:07 +03:00
Sebastian Dröge
70d7837718
hlsdemux: Use $(top_srcdir) instead of $(top_builddir) for the include path
2014-09-04 19:01:45 +03:00
Sebastian Dröge
ea555c6595
hlsdemux: Compile the m3u8.c directly instead of re-using the .o file
2014-09-04 17:52:35 +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
Tim-Philipp Müller
64f92ce628
tests: remove defunct test code for old colorspace element
...
https://bugzilla.gnome.org/show_bug.cgi?id=734538
2014-08-10 11:35:41 +01:00
Matthew Waters
81e71aa01b
gl/tests: update for API changes
2014-08-01 10:02:34 +10: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
1a455c25cd
tests: h264parser: add test to identify EOSEQ / EOS NALs.
...
Check that end_of_seq() [EOSEQ] and end_of_stream [EOS] NAL units
are correctly parsed and the reported NAL unit size yields 1 byte,
i.e. the only NalHeaderBytes in there.
https://bugzilla.gnome.org/show_bug.cgi?id=732553
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2014-07-01 16:54:44 +02: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
Edward Hervey
8c53dfcfb6
mpegts: Expose GstMpegtsDescriptor free function
...
Nothing earth shattering, but avoids people having to use g_boxed_free()
2014-07-01 10:03:49 +02:00
Thibault Saunier
71c81a5176
aggregator: Avoid destroying sources we do not own
...
+ Unref the maincontext in a new dispose function
+ Make sure to remove all sources on dispose
https://bugzilla.gnome.org/show_bug.cgi?id=732445
2014-06-30 14:24:49 +02:00
Sebastian Dröge
225f03f80e
h264parse: Fix memory leak in unit test
2014-06-29 23:22:13 +02:00
Sebastian Dröge
5cd10a10ab
glupload: Fix memory leak in unit test
2014-06-29 21:57:32 +02:00
Sebastian Dröge
d4a8d67982
glcontext: Fix memory leaks in unit test
2014-06-29 21:53:21 +02:00
Sebastian Dröge
426f9e6097
mpegts: Fix memory leaks in the test and the library
...
Currently uses g_boxed_free() in the unit test, this needs to
be fixed properly when cleaning up the API.
https://bugzilla.gnome.org/show_bug.cgi?id=730914
2014-06-29 21:34:50 +02:00
Thiago Santos
133c67a6a6
tests: aggregator: fix various leaks in the tests
2014-06-28 11:20:43 -03: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
Edward Hervey
22dfd9aef3
mpegts: Unify API : GstMpegts / gst_mpegts_ / GST_*_MPEGTS_
...
It was previously a mix and match of both variants, introducing just too much
confusion.
The prefix are from now on:
* GstMpegts for structures and type names (and not GstMpegTs)
* gst_mpegts_ for functions (and not gst_mpeg_ts_)
* GST_MPEGTS_ for enums/flags (and not GST_MPEG_TS_)
* GST_TYPE_MPEGTS_ for types (and not GST_TYPE_MPEG_TS_)
The rationale for chosing that is:
* the namespace is shorter/direct (it's mpegts, not mpeg_ts nor mpeg-ts)
* the namespace is one word under Gst
* it's shorter (yah)
2014-06-25 14:50:05 +02:00
Edward Hervey
123f642d5e
mpegts: Fix descriptor_from_dvb_service
...
Various leaks/overwrites issues
2014-06-24 14:51:32 +02: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
Thibault Saunier
55c65d079f
aggregator: Add new GstAggregator base class
...
This base class has been added to a newly created libgstbadbase library
Co-Authored by: Mathieu Duponchelle <mathieu.duponchelle@opencreed.com>
https://bugzilla.gnome.org/show_bug.cgi?id=731917
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
Thiago Santos
89fadbcfe4
tests: mpegts: add test for STT parsing
...
Specially for the time to UTC datetime conversion
Example taken from the A65 spec
https://bugzilla.gnome.org/show_bug.cgi?id=730435
2014-05-29 10:38:00 +02:00
Matthew Waters
5867eb42f3
tests: update for glupload changes
2014-05-29 18:32:48 +10:00
Matthew Waters
8d6198d934
tests: update for recent glupload changes
...
GstGLUploadMeta object is now the GstVideoGLTextureUploadMeta
provider.
2014-05-28 23:22:15 +10: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
Matthew Waters
a49a371710
gl/upload: implement lazy init
...
Rename init_format to set_format
2014-05-08 15:33:43 +10:00
Matthew Waters
29014c726b
tests: reenable camerabin element test
2014-05-06 21:17:59 +10:00
Matthew Waters
f19e5abcb8
gl/display: clean up pre gstglcontext api and struct fields
...
https://bugzilla.gnome.org/show_bug.cgi?id=729551
2014-05-06 21:08:30 +10: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
Luis de Bethencourt
db68e036e9
gl: check the correct GstGLMemory in basic_test
2014-04-25 16:18:07 -04:00
Zhao, Halley
26baaf51a1
tests: add test for VP8 bitstream parsing library.
...
[updated to new parser API]
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2014-04-18 16:32:40 +02:00
Matthew Waters
15d0c04933
gl/mem: allocate the memory per plane
...
This patch provides the basic infrastructure required for this.
Upload and Download has been ported to this.
Has the nice effect of allowing GstGLMemory to be our
refcounted texture object for any texture type (not just RGBA).
Should not lose any features/video formats.
2014-04-11 10:37:06 +10: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
Tim-Philipp Müller
c6164e3569
tests: fix gl unit tests for recent API changes
2014-04-02 13:48:02 +01:00
Tim-Philipp Müller
0593b19fa2
tests: fix LDADD order for insertbin test
2014-03-28 19:46:33 +00:00
Tim-Philipp Müller
1e2744bb70
tests: don't link codecparser tests twice to the lib
2014-03-28 19:41:25 +00:00
Tim-Philipp Müller
564488fcbd
tests: fix build of gl unit tests in uninstalled setup
...
Put local .la files first, and add link to libgstvideo
for tests that use the libgstvideo API directly.
2014-03-28 19:30:16 +00: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
Matthew Waters
6b3fe44185
Move gst-plugins-gl to bad
2014-03-16 15:17:59 +01:00
Matthew Waters
870503dc6b
gl: silence all the compiler warnings
2014-03-16 15:17:44 +01:00
Matthew Waters
18ebef308c
[900/906] tests/gstglcontext: reduce the number of frames displayed
...
Was causing timeouts on intel hardware due to vsync handling.
2014-03-15 18:37:07 +01:00
Matthew Waters
3ad466945e
[891/906] context: add support for wrapping external contexts
2014-03-15 18:37:07 +01:00
Matthew Waters
df0cfcbfa5
[878/906] tests: update for glmem api change
2014-03-15 18:37:06 +01:00
Matthew Waters
57422186b5
[869/906] tests: add some upload tests
2014-03-15 18:37:05 +01:00
Matthew Waters
636d307715
[853/906] display: remove _{set,get}_context
...
A GstGLDisplay doesn't need a GstGLContext and its use
was cause a reference cycle
2014-03-15 18:37:04 +01:00
Matthew Waters
b90d824626
[838/906] gl: Use GL_TEXTURE_2D instead of GL_TEXTURE_RECTANGLE
...
We create our textures (in Desktop GL) with GL_TEXTURE_RECTANGLE,
vaapi attempts to bind our texture to GL_TEXTURE_2D which throws a
GL_INVALID_OPERATION error and as thus, no video.
Also, by moving exclusively to GL_TEXTURE_2D and the npot extension
we also remove a difference between the Desktop GL and GLES2 code.
https://bugzilla.gnome.org/show_bug.cgi?id=712287
2014-03-15 18:37:03 +01:00
Julien Isorce
ca9c2cce1a
[821/906] tests: fix test_share on GLESv2
2014-03-15 18:37:02 +01:00
Matthew Waters
9b22b0e0ba
[812/906] move the GL vtable from GstGLDisplay to GstGLContext
...
Conflicts:
tests/check/libs/gstglcontext.c
2014-03-15 18:37:02 +01:00
Matthew Waters
d139ac89a1
[811/906] tests: update for GstGLContext addition
2014-03-15 18:37:02 +01:00
Julien Isorce
ad3f202b34
[809/906] tests: port test_share to GLES2
...
Also add a deinit function to release fbo, tex and shader.
2014-03-15 18:37:02 +01:00
Matthew Waters
f93b804071
[802/906] add GstGLContext test that tests context sharing
2014-03-15 18:37:01 +01:00
Sebastian Dröge
19dff69a2e
[729/906] gl: Include config.h everywhere
2014-03-15 18:36:57 +01:00
Matthew Waters
13067b104c
[704/906] Use gst_object_[un]ref so we can get refcounts in the log
2014-03-15 18:36:56 +01:00
Matthew Waters
fa3c3b8434
[642/906] add gstglconfig.h for apps to find out what our capabilites are
...
ie libgstgl can be compiled with any combination of opengl/gles2
2014-03-15 18:36:52 +01:00
Matthew Waters
cc8e54541b
[624/906] OPENGL_ES2 => HAVE_GLES2 and add HAVE_OPENGL
...
use GstGLAPI to determine which code paths to execute.
perform some cleanups
2014-03-15 18:36:51 +01:00
Matthew Waters
93f7e993ad
[603/906] update FSF address
2014-03-15 18:36:50 +01:00
Matthew Waters
11508f6f7a
[599/906] GL|ES2: fix typos from recent changes and make downloading RGB formats work again
2014-03-15 18:36:49 +01:00
Matthew Waters
fc6d972b68
[597/906] tests: add some simple pipeline tests to check
2014-03-15 18:36:49 +01:00
Matthew Waters
0ef8174881
[554/906] GstGLMemory: update for GstAllocator API changes
2014-03-15 18:36:47 +01:00
Matthew Waters
1331611094
[514/906] add GstGLMemory and allocator
...
implement custom GstMemory for GL textures
currently map/unmap returns NULL although it might be favourable to upload/download/cache the image data
2014-03-15 18:36:44 +01:00
David Schleef
0569f75d95
[059/906] * configure.ac: * pkgconfig/Makefile.am: * pkgconfig/gstreamer-gl-uninstalled.pc.in: * pkgconfig/gstreamer-gl.pc.in: * pkgconfig/gstreamer-plugins-gl-uninstalled.pc.in: * pkgconfig/gstreamer-plugins-gl.pc.in: Rename pkgconfig files. And install them. * tests/check/Makefile.am: * tests/check/generic/states.c: * tests/check/pipelines/simple-launch-lines.c: Add some tests copied from -good.
2014-03-15 18:36:18 +01:00
Tim-Philipp Müller
fc4ffd078a
tests: fix mpg123audiodec test for big-endian architectures
2014-03-05 10:37:53 +00:00
Jesper Larsen
968dcf28b5
test: mpegts: Add check for SDT
...
https://bugzilla.gnome.org/show_bug.cgi?id=724981
2014-02-25 14:34:29 +01:00
Jesper Larsen
bb22c6e7c4
tests: Add test for mpegts library
...
Tests for PAT, PMT, and NIT
Creates a new table, and populates it with descriptors.
Parses the newly created tables, and checks the data.
Creates a GstMpegTsSection from the tables, and packetize the sections.
The packetized section data is byte-wise compared to a static byte array
https://bugzilla.gnome.org/show_bug.cgi?id=723953
2014-02-24 16:01:11 +01: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
Thiago Santos
05ea12eaea
tests: insertbin: update tests to 1.x scenario
...
The thread that calls the success/failure callback can be the
same that is adding/removing the element as the IDLE probe can
happen instantly if the pad is not 'busy'.
This required moving some checks for the callback counter around
as well as removing some pad pushes from the main test thread as
they were made useless after the IDLE pad probe was fixed in core
by commit 0324358ebc
2014-02-04 14:17:26 -03:00
Thiago Santos
f5cf601638
tests: camerabin: avoid warning if test is failing
...
In case the test fails the message won't be returned and it
will lead to an assertion that might be misleading to those
debugging the issue.
2014-02-04 14:17:26 -03:00
Thiago Santos
20b902fcfa
tests: gdpdepay: update to 1.x events
...
Tests needed stream start at beginning and segment after the
caps event
2014-01-31 23:44:11 -03:00
Thiago Santos
a029a35036
gdppay: update to 1.x reality
...
* stream-start-id is mandatory at the beginning, so add that to the
gdp headers
* caps must be sent before new segment, invert the order from legacy
0.10 code
And fix the tests as a ref is now kept for those buffers that compose
the header
2014-01-31 23:44:11 -03:00
Thiago Santos
e9a253640e
tests: gdppay: refactor and add missing bits
...
Most of the tests weren't updated after the sticky events order
and stream start. Fix that and refactor those tests check that
are the same to some common functions.
Those functions still don't actually test the content but at
least now they are in a single place and can be improved
without replication
2014-01-30 19:45:22 -03:00
Thiago Santos
68a19b5c7b
tests: gdppay: Do not forget to send stream-start event on test
...
Even if we don't want to push the caps event, a stream-start must
be present before any data in 1.x
2014-01-30 18:18:18 -03:00
Thiago Santos
8255f0bb10
tests: camerabin: improve preview handling in tests
...
Always erase the preview image data to allow the next check for
it to operate properly
2014-01-30 03:29:25 -03:00
Thiago Santos
68ce96a9e4
tests: h264parse: fix tests after leading 0x00 removal
...
Commit 6af387cd5a
made h264parse
strip a leading 0x00 byte from some output scenarios. This broke
tests as bs_to_nal test expects one more byte on the output.
Fix this by comparing the output with the expected stripped version,
too.
2014-01-24 12:48:43 -03:00
Haridass Selvaraj
23ab7d8c49
curlftpsink: Optionally create a temporary file during FTP transfer/upload
...
https://bugzilla.gnome.org/show_bug.cgi?id=711620
2013-12-17 12:18:01 +01:00
Sebastian Dröge
430175f3c9
audiomixer: Add test for the ORC code
2013-11-09 12:18:02 +01:00
Sebastian Dröge
21a6adf53c
audiomixer: Add unit test for handling unaligned buffers
...
That is, buffers that start or end in the middle of an output block.
2013-11-07 14:12:17 +01:00
Sebastian Dröge
c4092d4575
audiomixer: Add test for the discont handling
2013-11-07 13:57:35 +01:00
Sebastian Dröge
1d2a9348a1
audiomixer: Refactor sync test to be more reusable
2013-11-07 13:55:32 +01:00
Sebastian Dröge
b66ac0dea4
audiomixer: Remove some racy-ness from the unit test
...
We might already be EOS when we start the mainloop, so only
set the pipeline to PLAYING from the main loop.
2013-11-07 13:48:06 +01:00
Sebastian Dröge
69525a1477
audiomixer: Add test to the .gitignore file
2013-11-06 15:35:46 +01:00
Sebastian Dröge
e2e4e8e741
audiomixer: Add simply synchronization test
2013-11-06 15:35:45 +01:00
Sebastian Dröge
caeaade700
audiomixer: Add new element based on adder that does synchronized audio mixing
2013-11-06 15:35:38 +01:00
L. Sorin
15717842e4
curl: curlsftpsink - new libcurl-based sink element for SFTP
...
Note: SFTP = SSH File Transfer Protocol
The sink acts as a client and uploads data to the SFTP server.
https://bugzilla.gnome.org/show_bug.cgi?id=709795
2013-11-01 17:20:04 +01:00
Reynaldo H. Verdejo Pinochet
980f5b4702
cdaudio: Remove cdaudio plugin
...
This element is being removed due to it been
considered obsolete and the functionaily it
provides no longer needed.
Details on the decision can be found here:
https://bugzilla.gnome.org/show_bug.cgi?id=711223
Fixes:
https://bugzilla.gnome.org/show_bug.cgi?id=711232
2013-11-01 07:21:56 -07:00
Edward Hervey
e9373604d6
check: Update uvch264demux for behaviour change
...
Since 006e7a3428
we no longer error out on
incomplete aux segment.
2013-09-28 13:15:44 +02:00
Alex Ashley
31d1c05871
h264parse: Add support for stream-format=avc3
...
When outputting in AVC3 stream format, the codec_data should not
contain any SPS or PPS, because they are embedded inside the stream.
In case of avc->bytestream h264parse will push the SPS and PPS from
codec_data downstream at the start of the stream, at intervals
controlled by "config-interval" and when there is a codec_data change.
In the case of avc3->bytstream h264parse detects that there is
already SPS/PPS in the stream and sets h264parse->push_codec to FALSE.
Therefore avc3->bytstream was already supported, except for the stream
type.
In the case of bystream->avc h264parse will generate codec_data caps
from the parsed SPS/PPS in the stream. However it does not remove these
SPS/PPS from the stream. bytestream->avc3 is the same as bytestream->avc
except that the codec_data must not have any SPS/PPS in it.
|--------------+-------------+-------------------|
|stream-format | SPS in-band | SPS in codec_data |
|--------------+-------------+-------------------|
| avc | maybe | always |
|--------------+-------------+-------------------|
| avc3 | always | never |
|--------------+-------------+-------------------|
Amendment 2 of ISO/IEC 14496-15 (AVC file format) is defining a new
structure for fragmented MP4 called "avc3". The principal difference
between AVC1 and AVC3 is the location of the codec initialisation
data (e.g. SPS, PPS). In AVC1 this data is placed in the initial MOOV box
(moov.trak.mdia.minf.stbl.stsd.avc1) but in AVC3 this data goes in the
first sample of every fragment.
https://bugzilla.gnome.org/show_bug.cgi?id=702004
2013-09-04 13:32:36 +02:00
Tim-Philipp Müller
adc17aa879
tests: ignore new aiffparse test binary
2013-09-02 12:19:12 +01:00
Tim-Philipp Müller
1648c0ba6a
test: fix compiler warning in aiffparse test on 32-bit x86
2013-08-20 00:26:06 +01:00
Matthieu Bouron
2e5b1d1cac
aiffparse: fix copyright
2013-08-19 10:31:59 +01:00
Tim-Philipp Müller
ef85572496
tests: fix some leaks in aiffparse unit test
2013-08-17 00:28:42 +01:00
Tim-Philipp Müller
1d35549d60
tests: fix state change order in aiffparse test
...
Do state changes from sink to src. Fixes race condition in
pull mode test where the source will start up and push buffers
to queue/identity or aiffparse before the main thread has
managed to set them to playing yet.
2013-08-17 00:25:50 +01:00
Matthieu Bouron
2bed61ee2f
aiffparse: add tests
...
https://bugzilla.gnome.org/show_bug.cgi?id=705993
2013-08-17 00:25:49 +01:00
Tim-Philipp Müller
c2092d9272
tests: uvch264demux: send stream-start events and fix event order
2013-08-10 21:35:17 +01:00
Tim-Philipp Müller
86acf25ffc
tests: mplex: fix 'Got data flow before stream-start event' failure
2013-08-10 20:02:01 +01:00
Tim-Philipp Müller
08a918ec5f
tests: mpeg2enc: fix 'Got data flow before stream-start event' failure
2013-08-10 19:54:57 +01:00
David Schleef
b456878697
tests: create/remove orc directory at proper time
...
Before automake creates .deps directories, and during distclean.
https://bugzilla.gnome.org/show_bug.cgi?id=705350
2013-08-09 20:14:03 +01:00
Tim-Philipp Müller
edb114c4bc
tests: fix build of baseaudiovisualizer test with subdir-objects option
...
https://bugzilla.gnome.org/show_bug.cgi?id=705350
2013-08-09 20:14:03 +01:00
Gwenole Beauchesne
daddc1d7d6
codecparsers: mpeg2: update test program with new GstMpegVideoPacket API.
...
This is the lost hunk from:
https://bugzilla.gnome.org/show_bug.cgi?id=692933
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2013-07-05 18:50:59 +02:00
Sebastian Dröge
366339e4b2
mpegtsmux: Fix event handling in unit test
2013-05-15 11:37:14 +02:00
Sebastian Dröge
14cd3a0dc4
mxfdemux: Fix event handling in unit test
2013-05-15 11:31:14 +02:00
Sebastian Dröge
167e11b176
insertbin: Fix event handling in unit test
2013-05-15 11:28:56 +02:00
Sebastian Dröge
97e42f82dc
schroenc: Fix event handling in unit test
2013-05-15 11:26:25 +02:00
Sebastian Dröge
869bb69dd3
mpg123audiodec: Fix event handling in unit test
2013-05-15 11:25:07 +02:00
Sebastian Dröge
53c22085d9
parser: Fix event handling in unit tests
2013-05-15 11:15:24 +02:00
Sebastian Dröge
0b6898caea
gdp: Fix event handling in unit test
...
gdp elements still needs to be fixed for all the event related
changes and generally properly ported to 1.0.
2013-05-15 11:12:42 +02:00
Sebastian Dröge
d35cba1d6a
baseaudiovisualizer: Fix event handling in unit test
2013-05-15 11:04:23 +02:00
Sebastian Dröge
71c131b63c
asfmux: Fix event handling in unit test
2013-05-15 10:56:20 +02:00
Sebastian Dröge
bc9747b323
autoconvert: Fix event handling in unit test
2013-05-15 10:23:49 +02:00
Sebastian Dröge
214c0d2e71
shm: Fix event handling in unit test
2013-05-15 10:22:44 +02:00
Sebastian Dröge
99832846a3
curlfilesink: Fix event handling in unit test
2013-05-15 10:19:24 +02:00
Sebastian Dröge
d03a38c684
opus: Fix event handling in unit test
2013-05-15 10:18:01 +02:00
Sebastian Dröge
edcfb4d307
kate: Fix event handling in unit test
2013-05-15 10:14:33 +02:00
Sebastian Dröge
bca7bdc27e
vo{amr,aac}enc: Fix event handling in unit test
2013-05-15 09:42:58 +02:00
Sebastian Dröge
75bb160459
faad/faac: Fix event handling in unit test
2013-05-15 09:41:54 +02:00
Tim-Philipp Müller
16ed8840ea
tests: blacklist some more tests from the generic state change test
2013-05-13 00:08:42 +01:00
Tim-Philipp Müller
020c93b973
ofa: port to 1.0
2013-05-12 23:42:06 +01:00
Tim-Philipp Müller
8c7ed7ccea
tests: fix some leaks in kate unit test
2013-04-27 12:06:53 +01:00
Tim-Philipp Müller
4b256e729e
tests: fix remaining kate tests
...
https://bugzilla.gnome.org/show_bug.cgi?id=697071
2013-04-23 01:17:56 +01:00
Brendan Long
f26827c3c8
tests: port Kate tests to 1.0
...
https://bugzilla.gnome.org/show_bug.cgi?id=697071
2013-04-23 00:04:10 +01:00
Tim-Philipp Müller
ae3313df2c
tests: fix up mpegtsmux unit test after collectpads change
...
It was passing expected flow returns (which might be negative)
in the buffer timestamp field, which was maybe not the best
idea.
2013-03-13 00:40:42 +00:00
Tim-Philipp Müller
c2446a70f6
Remove DTMF plugin, moved to -good
...
https://bugzilla.gnome.org/show_bug.cgi?id=687416
2013-03-09 01:06:31 +00:00
Olivier Crête
1bf472f0cd
tests: Add unit tests for shmsink/shmsrc
2013-03-01 15:58:40 -05:00
Tim-Philipp Müller
15610ca447
tests: camerabin: report element creation failures better and fix up LIBS
2013-02-28 20:21:16 +00:00
Tim-Philipp Müller
9940ae090e
tests: update some element names for 1.0
2013-02-28 20:09:29 +00:00
Tim-Philipp Müller
9aa78b1061
tests: find uninstalled gst-libav plugins for unit tests
2013-02-28 20:02:16 +00:00
Jonas Holmberg
c6612bbd9b
tests: use relative include for out-of-tree builds in dtmf test
2013-02-28 12:30:51 +00:00
Olivier Crête
a51b239167
tests: Add tests for dtmfsrc
2013-02-27 18:56:56 -05:00
Olivier Crête
8b30362783
tests: Fix ref leak in dtmf test
2013-02-27 16:15:33 -05:00
Tim-Philipp Müller
e6e1479b75
tests: fix h264 caps in mpegtsmux test
...
Needs to be stream-format=byte-stream, not format=byte-stream.
2013-02-14 10:43:42 +00:00
Tim-Philipp Müller
5fddf3f4d6
tests: fix faad unit test for gst_caps_is_subset() fix in core
...
Need to specify the stream-format.
2013-02-14 10:40:36 +00:00
Tim-Philipp Müller
a4590bbc1e
tests: port uvch264 test to 1.0
...
Fixes 'make check' build.
2013-02-13 15:00:09 +00:00
Sebastian Dröge
1025274bdf
videoparsers: Use complete and valid caps in the tests
2013-02-13 12:51:58 +01:00
Tim-Philipp Müller
e3afe460a4
Add cog to cruft list and remove some more leftover files
2013-02-11 22:50:15 +00:00
Sjoerd Simons
6ce751442b
uvch264: Remove the _ from the element names
...
Rename uvch264_src to uvch264src and uvch264_mjpgdemux to
uvch264mjpgdemux
2013-02-11 22:04:59 +01:00
David Schleef
d50abd6186
cog: remove last remnants
2013-02-11 12:57:06 -08:00
Tim-Philipp Müller
023ab8da33
tests: fix mxfdemux pull unit test hanging forever
...
Our test source pad needs to answer SCHEDULING queries
properly for mxfdemux to activate in pull mode.
https://bugzilla.gnome.org/show_bug.cgi?id=691843
2013-02-11 20:19:51 +00:00
Tim-Philipp Müller
82ccfa19ea
tests: fix compilation of dtmf test in uninstalled setup
2013-02-11 12:34:47 +00:00
Olivier Crête
423de0fccd
tests: Add test for rtpdtmfdepay and rtpdtmfsrc
2013-01-25 21:05:39 -05:00
Tim-Philipp Müller
cf695c6da9
insertbin, tests: fix printf format compiler warnings
2013-01-25 12:25:15 +00:00
Olivier Crête
d1023646f9
insertbin: Add bin to dynamically insert elements in a running pipeline
...
This element automatically links in any element added using it's
action signals. These elements must have a single source pad and a single
sink pad.
2013-01-23 21:13:03 -05:00
Arnaud Vrac
8d837cbac4
assrender: reenable unit tests and up rank to primary again
2013-01-22 00:24:52 +00:00
Martin Pitt
e358ec6ddd
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:38:52 +00:00
Tim-Philipp Müller
02ab609c11
rtpmux: remove rtpmux plugin, moved to -good
...
Move rtpmux and rtpdtmfmux into rtpmanager plugin in -good.
https://bugzilla.gnome.org/show_bug.cgi?id=629117
2012-12-16 17:36:45 +00:00
Krzysztof Konopko
13910f5154
mpegtsmux: crashes when trying to re-use the element
...
A crash occured after pushing buffers and changing mpegtsmux state to
NULL/READ and then back to PLAYING/PAUSED.
The crash was caused by holding a dangling pointer in the MpegTsMux
program table.
Additionally stream headers were leaked when resetting the element:
mux->streamheader set to NULL in mpegtsmux_reset() before it's released
later in the same function.
Added a unit test: test_multiple_state_change
https://bugzilla.gnome.org/show_bug.cgi?id=689107
2012-11-27 19:00:25 +00:00
Krzysztof Konopko
76b8e8be51
mpegtsmux: propagate flow returns
...
And add a unit test.
https://bugzilla.gnome.org/show_bug.cgi?id=688870
2012-11-23 00:14:53 +00:00
Tim-Philipp Müller
9e1b75fda3
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:09:59 +00:00
Tim-Philipp Müller
cf1f4871d7
tests: fix up mpg123 test a little
...
- dist input files
- fix sample leak
- simplify check for elements
- only run mpg123 test if mpg123 is available and selected
- fix build in uninstalled setup
https://bugzilla.gnome.org/show_bug.cgi?id=686595
2012-10-24 13:44:07 +01:00
Carlos Rafael Giani
92118c0b11
tets: add unit test for mpg123audiodec
...
https://bugzilla.gnome.org/show_bug.cgi?id=686595
2012-10-24 13:43:29 +01:00
Tim-Philipp Müller
32ba17cd0f
Use gst_element_class_set_static_metadata()
...
where possible. Avoids some string copies. Also re-indent
some stuff. Also some indent fixes here and there.
2012-10-17 17:46:34 +01:00
Wim Taymans
380b23af90
replace some playbin2 -> playbin
2012-10-10 14:14:43 +02:00
Tim-Philipp Müller
167d44a978
tests: disable assrender unit test
...
Doesn't work, needs fixing.
2012-09-23 21:08:57 +01:00
Sebastian Dröge
1419862c50
vp8: Remove plugin, moved to gst-plugins-good
2012-09-16 15:48:02 +02:00
Mark Nauwelaerts
578861abea
replace gst_element_class_set_details_simple with gst_element_class_set_metadata
2012-09-14 17:27:49 +02:00
Jan Schmidt
3ff18504fc
check: Verify the DTS emerging from the parser, not PTS
...
PTS doesn't increment linearly in parsers with frame re-ordering, but
DTS does. Verify that instead.
2012-09-13 13:44:05 -07:00
Jan Schmidt
e4e016097a
check: Fix mpegvideoparser PAR expectation
...
The parser (correctly) now interprets the test header using
MPEG-1 semantics, so fix the test expectation.
2012-09-13 13:34:56 -07:00
Tim-Philipp Müller
ad14b96c79
tests: disable yet another mxf tests until the elements are ported
2012-09-13 01:40:42 +01:00
Tim-Philipp Müller
98bfa4a1e0
tests: skip mxf tests while elements haven't been ported yet
2012-09-13 00:55:28 +01:00
Tim-Philipp Müller
3c8aabb97a
tests: fix jifmux test
...
Need to pass a GstSample now for GST_TAG_APPLICATION_DATA
instead of a GstBuffer.
2012-09-13 00:40:44 +01:00
Tim-Philipp Müller
63eeb11bfb
tests: fix win32 build even more
2012-09-12 13:20:56 +01:00
Mark Nauwelaerts
84cea735e9
tests: mpegtsmux: port to the new GLib thread API
2012-09-12 13:17:08 +02:00
Tim-Philipp Müller
585bd3ee21
tests: attempt to get disabled streamheader test to compile on win32
...
Though it probably won't work, but then it's disabled.
2012-09-12 09:49:17 +01:00
Olivier Crête
1826c126bf
jpegparse: Finish port to 1.0 API
2012-09-11 19:36:24 -04:00
Olivier Crête
c2c6ef1697
test: Simplify autoconvert test
2012-09-11 18:55:11 -04:00
Olivier Crête
60739b828d
test: Flush opus encoder between tests
2012-09-11 18:02:28 -04:00
Olivier Crête
23acf753a8
test: Flush opus encoder between tests
2012-09-11 18:01:58 -04:00
Mark Nauwelaerts
82f46a5efe
tests: mpeg2enc, mplex: port to the new GLib thread API
2012-09-11 15:12:55 +02:00
Tim-Philipp Müller
79f59ea3d2
gdp: move gdp plugin here from -base
...
Needs some reworking.
2012-09-11 01:54:46 +01:00
Tim-Philipp Müller
18181befde
tests: use multifdsink for streamheader test
...
Use multifdsink for pipes instead of multisocketsink,
to avoid "creating GSocket from fd 9: Socket operation
on non-socket "criticals from Gio. Test still fails,
but it fails in a different way now.
2012-09-11 01:54:46 +01:00
Stefan Sauer
07f8c2a4e6
tests: initialize variables
2012-09-11 01:54:46 +01:00
Wim Taymans
65a59c57e1
gdp: fixup unit tests
2012-09-11 01:54:44 +01:00
Wim Taymans
f6cab316cc
update for HEADER flag changes
2012-09-11 01:54:44 +01:00
Wim Taymans
33344dc2b9
port to new map API
2012-09-11 01:54:44 +01:00
Wim Taymans
0a817d23e6
tests: fix some tests
2012-09-11 01:54:44 +01:00
Wim Taymans
12ce1cb319
tests: port and enable more unit tests
2012-09-11 01:54:43 +01:00
Tim-Philipp Müller
2d7150414b
gdp: move dataprotocol library into gdp plugin and make private
...
We have removed things like protocol=gdp in the tcp elements
in favour of explicit gdppay/depay elements, so there's no need
to keep a public API and library for now. We can still add it
back later. Someone needs to think hard about 0.11 and gdp
anyway one of these days.
2012-09-11 01:54:43 +01:00
Wim Taymans
c87d271008
tests: update for new audio caps
2012-09-11 01:54:36 +01:00
Wim Taymans
dd3cba7982
tests: fix more unit tests
2012-09-11 01:54:34 +01:00
Wim Taymans
fa48483c46
tests: fix remaining unit tests
2012-09-11 01:54:34 +01:00
Wim Taymans
4674648248
tests: work on porting the unit tests
2012-09-11 01:54:34 +01:00
Stefan Kost
d7fe261472
tests: use our own macros for the tests main function
2012-09-11 01:54:33 +01:00
Benjamin Otte
86c805bec0
Add -Wwrite-strings to configure
...
Fixes for the code included
2012-09-11 01:54:33 +01:00
Sebastian Dröge
2d691f140b
streamheader: Fix caps leak in the vorbisenc unit test
2012-09-11 01:54:33 +01:00
Tim-Philipp Müller
24840dbdcf
checks: fix stream header unit test hanging in gst_task_cleanup_all()
...
Set pipelines to NULL state and unref when done.
2012-09-11 01:54:33 +01:00
Sebastian Dröge
5ce69d111a
tests/check/: Enable unit tests on PPC again as the bugs are now fixed.
...
Original commit message from CVS:
* tests/check/elements/gdpdepay.c: (gdpdepay_suite):
* tests/check/pipelines/streamheader.c: (streamheader_suite):
Enable unit tests on PPC again as the bugs are now fixed.
2012-09-11 01:54:32 +01:00
Peter Kjellerstedt
4822aa7c7b
tests/check/pipelines/streamheader.c: Do not try to run a test which requires vorbisenc unless we have actually built...
...
Original commit message from CVS:
* tests/check/pipelines/streamheader.c: (buffer_probe_cb),
(test_multifdsink_gdp_vorbisenc), (streamheader_suite):
Do not try to run a test which requires vorbisenc unless we have
actually built it.
2012-09-11 01:54:32 +01:00
Wim Taymans
4ee6532a09
Don't use bad gst_element_get_pad().
...
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_typefind):
* gst/playback/decodetest.c: (new_decoded_pad_cb):
* gst/playback/gstdecodebin.c: (gst_decode_bin_init),
(try_to_link_1), (elem_is_dynamic), (close_link), (type_found),
(cleanup_decodebin):
* gst/playback/gstdecodebin2.c: (gst_decode_bin_init),
(connect_element), (gst_decode_group_control_demuxer_pad):
* gst/playback/gstplaybasebin.c: (queue_remove_probe),
(queue_out_of_data), (gen_preroll_element), (preroll_unlinked),
(mute_group_type):
* gst/playback/gstplaybin.c: (gst_play_bin_vis_blocked),
(gst_play_bin_set_property), (handoff), (gen_video_element),
(gen_text_element), (gen_audio_element), (gen_vis_element),
(remove_sinks), (add_sink), (setup_sinks):
* gst/playback/gstplaybin2.c: (pad_added_cb), (no_more_pads_cb):
* gst/playback/gstplaysink.c: (gst_play_sink_get_video_sink),
(gst_play_sink_get_audio_sink), (gst_play_sink_vis_unblocked),
(gst_play_sink_vis_blocked), (gst_play_sink_set_vis_plugin),
(gst_play_sink_get_vis_plugin), (gst_play_sink_set_mute),
(gen_video_chain), (gen_text_chain), (gen_audio_chain),
(gen_vis_chain), (gst_play_sink_reconfigure),
(gst_play_sink_set_font_desc), (gst_play_sink_get_font_desc),
(gst_play_sink_request_pad):
* gst/playback/gsturidecodebin.c: (type_found), (setup_source):
* gst/playback/test.c: (gen_video_element), (gen_audio_element),
(cb_newpad):
* gst/playback/test6.c: (new_decoded_pad_cb):
* tests/check/elements/audioconvert.c: (GST_START_TEST):
* tests/check/elements/audiorate.c: (test_injector_chain),
(do_perfect_stream_test):
* tests/check/elements/ffmpegcolorspace.c: (GST_START_TEST):
* tests/check/elements/gdpdepay.c: (GST_START_TEST):
* tests/check/elements/gnomevfssink.c:
* tests/check/elements/textoverlay.c:
(notgst_check_setup_src_pad2), (notgst_check_teardown_src_pad2):
* tests/check/elements/videotestsrc.c: (GST_START_TEST):
* tests/check/libs/cddabasesrc.c: (GST_START_TEST):
* tests/check/pipelines/oggmux.c: (test_pipeline):
* tests/check/pipelines/streamheader.c: (GST_START_TEST):
* tests/check/pipelines/theoraenc.c: (GST_START_TEST):
* tests/check/pipelines/vorbisenc.c: (GST_START_TEST):
* tests/examples/seek/scrubby.c: (make_wav_pipeline):
* tests/examples/seek/seek.c: (make_mod_pipeline),
(make_dv_pipeline), (make_wav_pipeline), (make_flac_pipeline),
(make_sid_pipeline), (make_parse_pipeline), (make_vorbis_pipeline),
(make_theora_pipeline), (make_vorbis_theora_pipeline),
(make_avi_msmpeg4v3_mp3_pipeline), (make_mp3_pipeline),
(make_avi_pipeline), (make_mpeg_pipeline), (make_mpegnt_pipeline),
(update_fill), (msg_buffering):
Don't use bad gst_element_get_pad().
2012-09-11 01:54:32 +01:00
Tim-Philipp Müller
a6b0426bfc
tests/check/elements/gdpdepay.c: Make test compile without unused function/variable warnings on PPC.
...
Original commit message from CVS:
* tests/check/elements/gdpdepay.c:
Make test compile without unused function/variable warnings on PPC.
2012-09-11 01:54:32 +01:00
Sebastian Dröge
748a089a5a
Correct all relevant warnings found by the sparse semantic code analyzer. This include marking several symbols static...
...
Original commit message from CVS:
* ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_get_type):
* ext/alsa/gstalsasink.c: (set_hwparams):
* ext/alsa/gstalsasrc.c: (set_hwparams):
* ext/gio/gstgio.c: (gst_gio_uri_handler_get_uri):
* ext/ogg/gstoggmux.h:
* ext/ogg/gstogmparse.c:
* gst-libs/gst/audio/audio.c:
* gst-libs/gst/fft/kiss_fft_f64.c: (kiss_fft_f64_alloc):
* gst-libs/gst/pbutils/missing-plugins.c:
(gst_missing_uri_sink_message_new),
(gst_missing_element_message_new),
(gst_missing_decoder_message_new),
(gst_missing_encoder_message_new):
* gst-libs/gst/rtp/gstbasertppayload.c:
* gst-libs/gst/rtp/gstrtcpbuffer.c:
(gst_rtcp_packet_bye_get_reason):
* gst/audioconvert/gstaudioconvert.c:
* gst/audioresample/gstaudioresample.c:
* gst/ffmpegcolorspace/imgconvert.c:
* gst/playback/test.c: (gen_video_element), (gen_audio_element):
* gst/typefind/gsttypefindfunctions.c:
* gst/videoscale/vs_4tap.c:
* gst/videoscale/vs_4tap.h:
* sys/v4l/gstv4lelement.c:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_get_any_caps):
* sys/v4l/v4l_calls.c:
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_capture_init),
(gst_v4lsrc_try_capture):
* sys/ximage/ximagesink.c: (gst_ximagesink_check_xshm_calls),
(gst_ximagesink_ximage_new):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_check_xshm_calls),
(gst_xvimagesink_xvimage_new):
* tests/check/elements/audioconvert.c:
* tests/check/elements/audioresample.c:
(fail_unless_perfect_stream):
* tests/check/elements/audiotestsrc.c: (setup_audiotestsrc):
* tests/check/elements/decodebin.c:
* tests/check/elements/gdpdepay.c: (setup_gdpdepay),
(setup_gdpdepay_streamheader):
* tests/check/elements/gdppay.c: (setup_gdppay), (GST_START_TEST),
(setup_gdppay_streamheader):
* tests/check/elements/gnomevfssink.c: (setup_gnomevfssink):
* tests/check/elements/multifdsink.c: (setup_multifdsink):
* tests/check/elements/textoverlay.c:
* tests/check/elements/videorate.c: (setup_videorate):
* tests/check/elements/videotestsrc.c: (setup_videotestsrc):
* tests/check/elements/volume.c: (setup_volume):
* tests/check/elements/vorbisdec.c: (setup_vorbisdec):
* tests/check/elements/vorbistag.c:
* tests/check/generic/clock-selection.c:
* tests/check/generic/states.c: (setup), (teardown):
* tests/check/libs/cddabasesrc.c:
* tests/check/libs/video.c:
* tests/check/pipelines/gio.c:
* tests/check/pipelines/oggmux.c:
* tests/check/pipelines/simple-launch-lines.c:
(simple_launch_lines_suite):
* tests/check/pipelines/streamheader.c:
* tests/check/pipelines/theoraenc.c:
* tests/check/pipelines/vorbisdec.c:
* tests/check/pipelines/vorbisenc.c:
* tests/examples/seek/scrubby.c:
* tests/examples/seek/seek.c: (query_positions_elems),
(query_positions_pads):
* tests/icles/stress-xoverlay.c: (myclock):
Correct all relevant warnings found by the sparse semantic code
analyzer. This include marking several symbols static, using
NULL instead of 0 for pointers and using "foo (void)" instead
of "foo ()" for declarations.
* win32/common/libgstrtp.def:
Add gst_rtp_buffer_set_extension_data to the symbol definition file.
2012-09-11 01:54:32 +01:00
Tim-Philipp Müller
1abce7d510
tests/check/pipelines/streamheader.c: Disable test_multifdsink_gdp_vorbisenc() on ppc64 since it fails on the p5-ppc6...
...
Original commit message from CVS:
* tests/check/pipelines/streamheader.c: (streamheader_suite):
Disable test_multifdsink_gdp_vorbisenc() on ppc64 since it
fails on the p5-ppc64 build bot and the failure looks like it is due
to the same issue as #348114 , ie. a compiler bug.
2012-09-11 01:54:32 +01:00
Thomas Vander Stichele
5b15ce712b
gst/gdp/gstgdppay.c (gst_gdp_pay_chain): tests/check/pipelines/streamheader.c (tag_event_probe_cb,
...
Original commit message from CVS:
* gst/gdp/gstgdppay.c (gst_gdp_pay_chain):
* tests/check/pipelines/streamheader.c (tag_event_probe_cb,
GST_START_TEST, buffer_probe_cb, GST_START_TEST):
Fix a bug where serialized IN_CAPS buffers needed to be set IN_CAPS.
2012-09-11 01:54:32 +01:00
Thomas Vander Stichele
99afe3748c
tests/check/pipelines/streamheader.c (tag_event_probe_cb,
...
Original commit message from CVS:
* tests/check/pipelines/streamheader.c (tag_event_probe_cb,
GST_START_TEST, n_in_caps, buffer_probe_cb, GST_START_TEST,
streamheader_suite):
Add another test set up for failure
2012-09-11 01:54:31 +01:00
Thomas Vander Stichele
22622c8efe
tests/check/Makefile.am: tests/check/pipelines/streamheader.c (n_tags, tag_event_probe_cb,
...
Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/pipelines/streamheader.c (n_tags, tag_event_probe_cb,
GST_START_TEST, streamheader_suite, main):
Add a test for the streamheader bug Wim fixed.
2012-09-11 01:54:31 +01:00
Stefan Kost
b8fad312fe
tests/check/elements/: Fix the dp tests, but activating the pads for the streamheader tests too and cleaning up condi...
...
Original commit message from CVS:
* tests/check/elements/gdpdepay.c: (cleanup_gdpdepay),
(setup_gdpdepay_streamheader):
* tests/check/elements/gdppay.c: (cleanup_gdppay),
(setup_gdppay_streamheader):
Fix the dp tests, but activating the pads for the streamheader tests
too and cleaning up conditionaly
2012-09-11 01:54:31 +01:00
Stefan Kost
556f09893c
tests/check/elements/: consistent pad (de)activation
...
Original commit message from CVS:
* tests/check/elements/audioresample.c: (cleanup_audioresample):
* tests/check/elements/audiotestsrc.c: (cleanup_audiotestsrc):
* tests/check/elements/gdpdepay.c: (setup_gdpdepay),
(cleanup_gdpdepay):
* tests/check/elements/gdppay.c: (setup_gdppay), (cleanup_gdppay):
* tests/check/elements/subparse.c: (teardown_subparse):
* tests/check/elements/textoverlay.c: (cleanup_textoverlay):
* tests/check/elements/videorate.c: (cleanup_videorate):
* tests/check/elements/videotestsrc.c: (cleanup_videotestsrc):
* tests/check/elements/volume.c: (cleanup_volume):
* tests/check/elements/vorbisdec.c: (setup_vorbisdec),
(cleanup_vorbisdec):
* tests/check/elements/vorbistag.c: (setup_vorbistag),
(cleanup_vorbistag):
consistent pad (de)activation
2012-09-11 01:54:31 +01:00
Wim Taymans
adda2ef169
tests/check/: Some more compilation fixes.
...
Original commit message from CVS:
* tests/check/elements/gdpdepay.c: (GST_START_TEST):
* tests/check/libs/audio.c:
Some more compilation fixes.
2012-09-11 01:54:31 +01:00
Wim Taymans
70c4f19768
tests/check/: Fix some warnings.
...
Original commit message from CVS:
* tests/check/elements/gdpdepay.c: (GST_START_TEST):
* tests/check/elements/multifdsink.c: (GST_START_TEST):
* tests/check/elements/videorate.c: (GST_START_TEST):
* tests/check/libs/cddabasesrc.c: (GST_START_TEST):
* tests/check/pipelines/oggmux.c: (eos_buffer_probe):
Fix some warnings.
2012-09-11 01:54:31 +01:00
Edward Hervey
f769cc8782
tests/check/elements/gdpdepay.c: I forgot to include the file containing the #define :)
...
Original commit message from CVS:
* tests/check/elements/gdpdepay.c: (gdpdepay_suite):
I forgot to include the file containing the #define :)
Now includes "config.h"
2012-09-11 01:54:31 +01:00
Edward Hervey
63c6ec236a
tests/check/elements/gdpdepay.c: Ignore test known to fail on PPC64. See #348114 .
...
Original commit message from CVS:
* tests/check/elements/gdpdepay.c: (gdpdepay_suite):
Ignore test known to fail on PPC64. See #348114 .
2012-09-11 01:54:30 +01:00
Thomas Vander Stichele
0d7a03eda3
gst/gdp/gstgdpdepay.c: proxying get/set caps is the wrong thing to do, since we really do change caps quite fundament...
...
Original commit message from CVS:
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_init):
proxying get/set caps is the wrong thing to do, since we really
do change caps quite fundamentally
* tests/check/elements/gdpdepay.c:
* tests/check/elements/gdppay.c:
remove declaration of buffers, it's already done in gstcheck.h
2012-09-11 01:54:29 +01:00
Thomas Vander Stichele
ad556efb2a
gst/gdp/gstgdppay.c: add crc-header and crc-payload properties don't error out on some things that are recoverable
...
Original commit message from CVS:
* gst/gdp/gstgdppay.c: (gst_gdp_pay_class_init),
(gst_gdp_pay_init), (gst_gdp_buffer_from_caps),
(gst_gdp_pay_buffer_from_buffer), (gst_gdp_buffer_from_event),
(gst_gdp_pay_reset_streamheader), (gst_gdp_pay_chain),
(gst_gdp_pay_sink_event), (gst_gdp_pay_set_property),
(gst_gdp_pay_get_property):
add crc-header and crc-payload properties
don't error out on some things that are recoverable
* tests/check/elements/gdppay.c: (GST_START_TEST), (gdppay_suite):
add test for crc
2012-09-11 01:54:28 +01:00
Thomas Vander Stichele
bc93eeb575
gst/gdp/: Handle error cases when calling functions do downwards state change after parent's change_state
...
Original commit message from CVS:
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_chain),
(gst_gdp_depay_change_state):
* gst/gdp/gstgdpdepay.h:
* gst/gdp/gstgdppay.c: (gst_gdp_pay_reset_streamheader),
(gst_gdp_pay_chain), (gst_gdp_pay_sink_event),
(gst_gdp_pay_change_state):
* gst/gdp/gstgdppay.h:
Handle error cases when calling functions
do downwards state change after parent's change_state
* tests/check/elements/gdpdepay.c: (GST_START_TEST):
* tests/check/elements/gdppay.c: (GST_START_TEST):
clean up more
2012-09-11 01:54:28 +01:00
Thomas Vander Stichele
98f21eebb2
adding GDP payloader and depayloader. Build integration will follow later when the GDP issues for core are sorted out.
...
Original commit message from CVS:
* gst/gdp/Makefile.am:
* gst/gdp/gstgdp.c: (plugin_init):
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_base_init),
(gst_gdp_depay_class_init), (gst_gdp_depay_init),
(gst_gdp_depay_finalize), (gst_gdp_depay_chain),
(gst_gdp_depay_change_state), (gst_gdp_depay_plugin_init):
* gst/gdp/gstgdpdepay.h:
* gst/gdp/gstgdppay.c: (gst_gdp_pay_base_init),
(gst_gdp_pay_class_init), (gst_gdp_pay_init),
(gst_gdp_pay_dispose), (gst_gdp_stamp_buffer),
(gst_gdp_buffer_from_caps), (gst_gdp_pay_buffer_from_buffer),
(gst_gdp_buffer_from_event), (gst_gdp_pay_reset_streamheader),
(gst_gdp_queue_buffer), (gst_gdp_pay_chain),
(gst_gdp_pay_sink_event), (gst_gdp_pay_change_state),
(gst_gdp_pay_plugin_init):
* gst/gdp/gstgdppay.h:
* tests/check/Makefile.am:
* tests/check/elements/gdpdepay.c: (setup_gdpdepay),
(cleanup_gdpdepay), (gdpdepay_push_per_byte), (GST_START_TEST),
(setup_gdpdepay_streamheader), (gdpdepay_suite), (main):
* tests/check/elements/gdppay.c: (setup_gdppay), (cleanup_gdppay),
(GST_START_TEST), (setup_gdppay_streamheader), (gdppay_suite),
(main):
adding GDP payloader and depayloader. Build integration will
follow later when the GDP issues for core are sorted out.
2012-09-11 01:54:28 +01:00
Olivier Crête
064b143635
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-09-10 20:38:14 -04:00
Youness Alaoui
1ba24e1306
UVC H264 plugin
2012-09-10 16:09:26 -04:00
Thiago Santos
8c3c7ee47a
tests: camerabin: fix image location switching test
...
The test should wait until the last image-done is posted so it
can correctly check that all images have been saved.
2012-08-29 15:45:05 -03:00
Tim-Philipp Müller
2483c82bd7
video/x-dvd-subpicture -> subpicture/x-dvd
2012-08-20 23:37:00 +01:00
Tim-Philipp Müller
330b432044
tests: .gitignore new curlsmtpsink test binary
2012-08-08 11:53:05 +01:00
Tim-Philipp Müller
489b102a43
gst_tag_list_free -> gst_tag_list_unref
2012-08-04 16:31:30 +01:00
Patricia Muscalu
a7037cd0e3
curl: fixed some memory leaks in the plugin and the unit tests
...
https://bugzilla.gnome.org/show_bug.cgi?id=681117
https://bugzilla.gnome.org/show_bug.cgi?id=681115
2012-08-03 20:28:40 +01:00
Tim-Philipp Müller
71902797f2
tests: fix jifmux test for fixed fail()
...
https://bugzilla.gnome.org/show_bug.cgi?id=680755
2012-07-30 17:21:10 +01:00
Thiago Santos
9461db97c2
tests: camerabin: fix preview message handling
...
Preview messages now contain GstSamples instead of GstBuffers
2012-07-29 01:11:29 -03:00
Wim Taymans
c31950d3e8
bayer: prefix orc functions with bayer_orc
...
Add bayer orc to the unit test
2012-07-24 10:32:51 +02:00
Wim Taymans
7a22ad109a
tests: fix visualizer compilation
2012-07-24 10:32:20 +02:00
Tim-Philipp Müller
c8e16bc1b7
tests: fix some pad template-related criticals in camerabin test
2012-07-10 11:14:59 +01:00
Tim-Philipp Müller
8924907103
tests: fix zbar test
2012-07-09 22:08:50 +01:00
Mark Nauwelaerts
fc38000acd
tests: mpegtsmux: add basic output unit test verification
2012-06-27 14:52:10 +02:00
Mark Nauwelaerts
947701cc6f
tests: mpegtsmux: port test to 0.11
2012-06-20 12:22:09 +02:00
Mark Nauwelaerts
179c50591c
tests: mpegtsmux: adjust again to modified buffer collect behaviour
...
... by effectively reverting previous adjustment.
2012-06-16 19:22:59 +02:00