Olivier Crête
985897d8d9
rtpaux/rtprtx: Make tests non-racy
...
Fix the raciness by iterating on a condition instead of using the gmainloop.
Don't use the EOS as the target, otherwise the retransmission of the last
packets are lost. Also count the retranmissions requests that are dropped.
Check the condition before blocking on the GCond
https://bugzilla.gnome.org/show_bug.cgi?id=728501
2014-05-04 22:37:26 -04:00
Olivier Crête
0742a5a257
rtpmux: Always let upstream chose the ssrc if it wishes
2014-05-04 19:11:03 -04:00
Olivier Crête
2e54d38dd0
rtpsession: Keep local conflicting addresses in the session
...
As we now replace the local RTPSource on a conflict, it's no longer possible
to keep local conflicts in the RTPSource, so they instead need to be kept
in the RTPSession.
Also fix the rtpcollision test to generate multiple collisions instead of
one by change the address, as otherwise we detected that it was a single one.
2014-05-03 18:30:20 -04:00
Sebastian Dröge
3b5deb2b45
shapewipe: Send initial events after setting the elements to PLAYING
...
Otherwise we send them too early, and setting the elements to PLAYING
afterwards will drop all the events again.
2014-05-03 11:43:21 +02:00
Matthew Waters
fc45400f4e
gl/examples: move to -bad
...
- fix all the compiler errors
- give them their own gl directory
2014-04-29 16:40:08 +10:00
Sebastian Dröge
2149d5a9bd
rtprtx: Don't forget to unmap rtp buffer in the test
2014-04-17 18:07:09 +02:00
Sebastian Dröge
5dba8dfe59
rtprtx: Provide an ssrc in the test
...
And increase timeout to allow all tests to run in valgrind.
2014-04-17 17:43:12 +02:00
Sebastian Dröge
02d9b5e6f8
rtpsession: Fix memory leaks in test
2014-04-17 17:33:46 +02:00
Sebastian Dröge
02e62c139d
rtpjitterbuffer: Fix hundreds of memory leaks in the test
2014-04-17 17:26:36 +02:00
Sebastian Dröge
0c073b2d1d
rtpcollision: Fix memory leaks in unit test
2014-04-17 16:39:59 +02:00
Sebastian Dröge
cd4c17031b
videomixer: Fix memory leak in unit test
2014-04-16 19:03:47 +02:00
Sebastian Dröge
6c02593386
aacparse: Fix memory leak in the test
2014-04-16 17:35:42 +02:00
Reynaldo H. Verdejo Pinochet
f187d9fc7c
tests: souphttpsrc: use SoupKnownStatusCode if needed
...
From libsoup docs:
Prior to 2.44 SoupStatus was called SoupKnownStatusCode,
but the individual values have always had the names they
have now.
Fixes:
https://bugzilla.gnome.org/show_bug.cgi?id=727329
2014-04-07 17:48:35 -03:00
Руслан Ижбулатов
12e669f388
gl: fix the use of always-defined macros
...
After 2a0f0399ae
GST_GL_* macros are always
defined to 0 or 1. Don't use #ifdef ... or #if defined() on them.
https://bugzilla.gnome.org/show_bug.cgi?id=726591
2014-03-18 06:17:03 +00:00
Matthew Waters
499cd75e4b
[864/906] examples: update to gtk3
2014-03-15 18:37:05 +01:00
Sebastian Dröge
f5cb0ccb16
[771/906] gl: Some less long/ulong/gulong usage
2014-03-15 18:36:59 +01:00
Mathieu Duponchelle
e850ed5498
[769/906] tests/examples: fix and port some of the examples.
...
Realize widgets, remove glupload element.
2014-03-15 18:36:59 +01:00
Sebastian Dröge
804c5b14e8
[729/906] gl: Include config.h everywhere
2014-03-15 18:36:57 +01:00
Sebastian Dröge
1a2de27a52
[720/906] examples: Stop using deprecated GLib thread API
2014-03-15 18:36:56 +01:00
Matthew Waters
d6054f9738
[603/906] update FSF address
2014-03-15 18:36:50 +01:00
Matthew Waters
3d180b1602
[560/906] examples: update for bus api changes and glimagesink changes
2014-03-15 18:36:47 +01:00
Matthew Waters
d4a320f81f
[511/906] tests: update for 1.0
2014-03-15 18:36:44 +01:00
Stefan Kost
4555feb043
[461/906] xoverlay: require base from git and update to new API
2014-03-15 18:36:41 +01:00
Julien Isorce
b130c3b750
[457/906] gtk examples: adapt code since the native-window changes from gtk
...
Fixes bug #599885
2014-03-15 18:36:41 +01:00
Руслан Ижбулатов
df4b871718
[413/906] Fix Windows compiler warning in test/examples/gtk/fxtest/pixbufdrop.c
2014-03-15 18:36:39 +01:00
Julien Isorce
757d005662
[386/906] pixbufdrop: fix example on win32
2014-03-15 18:36:37 +01:00
Filippo Argiolas
754299a5fd
[361/906] gstgtk: add missing license and copyright information
2014-03-15 18:36:35 +01:00
Filippo Argiolas
b1102eafe5
[360/906] examples: add missing copyright/license to my examples
2014-03-15 18:36:35 +01:00
David Schleef
b70b0106b5
[328/906] Convert gtk examples to use helper library
...
Helper lib implements gst-gtk glue on all platforms
2014-03-15 18:36:34 +01:00
David Schleef
cbbb5f1eff
[310/906] Global reindent
...
Indent parameters:
INDENT_PARAMETERS="--braces-on-if-line \
--case-brace-indentation0 \
--case-indentation2 \
--braces-after-struct-decl-line \
--line-length80 \
--no-tabs \
--cuddle-else \
--dont-line-up-parentheses \
--honour-newlines \
--continuation-indentation4 \
--tab-size8 \
--indent-level2"
2014-03-15 18:36:33 +01:00
David Schleef
500ebc49b9
[308/906] Rename glpixbufoverlay to gloverlay
2014-03-15 18:36:32 +01:00
Julien Isorce
f115d31df6
[301/906] depends on libpng instead of gdk_pixbuf
2014-03-15 18:36:32 +01:00
David Schleef
ea43a17480
[298/906] Revert "Fix indention"
...
This reverts commit 96e4ab18c2cf9876f6c031b9aba6282d0bd45a93.
You should have asked first. And you would have been told "no",
because it causes people on development branches to do a huge
amount of extra work.
2014-03-15 18:36:32 +01:00
Sebastian Dröge
4525015dc6
[295/906] Fix indention
2014-03-15 18:36:32 +01:00
Filippo Argiolas
532ea881fb
[247/906] Import xray effect
...
Add xray effect. Maps luma to a negative, slightly cyan tinted, curve,
applies some light gaussian blur and multiplies it with its sobel edges. Not
sure about the name, likely to change. Probably still needs some tuning.
2014-03-15 18:36:29 +01:00
Julien Isorce
dcbc69cb0b
[199/906] add pixbufdrop vs8 project
2014-03-15 18:36:26 +01:00
Julien Isorce
04ccea8780
[198/906] add fxtest vs8 project
2014-03-15 18:36:26 +01:00
Filippo Argiolas
3264db13fa
[195/906] fix gstgldifferencematte and add an example app to test it dragging an image over the video (works with pixbufoverlay too, see pixbufdrop --help)
2014-03-15 18:36:26 +01:00
Filippo Argiolas
944afa296c
[180/906] minor cleanup in fxtest
2014-03-15 18:36:25 +01:00
Filippo Argiolas
8941057006
[178/906] improve fxtest command line option handling, default to videotestsrc if no source bin description is given
2014-03-15 18:36:25 +01:00
Filippo Argiolas
f327cd5a86
[175/906] add sin effect (desaturate everything but red shades). still needs some tuning.
2014-03-15 18:36:25 +01:00
Filippo Argiolas
0bb26924a8
[173/906] add lumaxpro (desaturate + cross process) effect. nothing too impressive but I like it.
2014-03-15 18:36:25 +01:00
Filippo Argiolas
ae673c3d4a
[172/906] add support for command line parsing to fxtest (try fxtest videotestsrc ! desired caps ! identity). report a new issue on BUGS.
2014-03-15 18:36:25 +01:00
Filippo Argiolas
530be54c7b
[171/906] import fxtest (little gtk app to easily test effects) from cvs branch, fixed rgbtocurve.
2014-03-15 18:36:25 +01:00
Nicolas Dufresne
418a4940a8
v4l2: Use a copy of videodev2.h header
...
With years the amount of ifdef have grown up and we are not even sure if the
old code path compiles. Each time we need to update the v4l2 framework to add
the new feature, we break compilation on older kernel. With exception of two
controls in the video orientation control, this patch get rid of all ifdef by
including the latest version of videodev2.h inside GStreamer.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=723446
2014-03-15 13:54:47 +01:00
Sebastian Rasmussen
1a91ab31d1
tests: Don't build disabled plugins' check tests
...
https://bugzilla.gnome.org/show_bug.cgi?id=723502
2014-02-26 21:07:57 +01:00
Stefan Sauer
ce683b0031
autodetect: improve the tests
...
Add fake audio/video sinks. Previously running the test might be flaky due to
the use of real elements (hardware in use), which we don't want to test here.
Add two more tests that check that the fakes are chosen.
2014-02-19 21:07:28 +01:00
Stefan Sauer
02e59756a9
autodetect: fix the disabled test
...
Use a shared helper for both tests. It turns out that the valgrind variant is
fine (maybe due to picking up pulsesink though).
2014-02-19 11:26:22 +01:00
Stefan Sauer
c40e8b1210
autodetect: remove cruft from the test
...
Remove the obsolete version check and use the ignore macro for the disabled test.
2014-02-19 11:05:35 +01:00
Wim Taymans
6af234e29e
tests: fix typecast to fix compilation
2014-02-14 15:53:55 +01:00
Sebastian Dröge
1a78a7eb22
souphttpsrc: Fix implicit enum conversion compiler warning
...
error: implicit conversion from enumeration type
'SoupStatus' to different enumeration type 'SoupKnownStatusCode'
2014-02-08 17:43:32 +01:00
Sebastian Dröge
ec1899e456
interleave: Fix unitialized variable compiler warning in test
...
error: variable 'mask' is used uninitialized
whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
2014-02-08 17:41:21 +01:00
Edward Hervey
ceb602073a
check: Use fakesink sync=True instead of an audio sink
...
Ensures the test can run on systems without alsa (or any audio output for
that matter), and will avoid people running build slaves wondering what
the hell was beeping during the night :)
2014-01-29 10:37:53 +01:00
George Kiagiadakis
016e1562a6
tests: rtprtx::test_rtxreceive_data_reconstruction: remove useless code for triggering retransmission
...
There is no need anymore to push yet another buffer in rtxsend
in order to trigger the previously requested retransmissions
to actually happen.
2014-01-21 15:00:54 +01:00
George Kiagiadakis
184553151d
tests: rtprtx::test_rtxreceive_data_reconstruction: fix race condition
...
Now with rtprtxsend pushing rtx buffers from a different thread,
this is necessary to ensure that the result of the test is deterministic.
This code makes use of GstCheck's global GMutex and GCond that are
being used inside GstCheck's sink pad chain() function in order
to synchronize with it.
2014-01-21 15:00:53 +01:00
George Kiagiadakis
7677aec2fa
tests: rtprtx::test_rtxsender_packet_retention: fix race condition
...
Now with rtprtxsend pushing rtx buffers from a different thread,
this is necessary to ensure that the result of the test is deterministic.
This code makes use of GstCheck's global GMutex and GCond that are
being used inside GstCheck's sink pad chain() function in order
to synchronize with it.
2014-01-21 15:00:53 +01:00
George Kiagiadakis
7011f98d7e
tests: rtprtx::test_push_forward_seq: fix race condition
...
Now with rtprtxsend pushing rtx buffers from a different thread,
this is necessary to ensure that the result of the test is deterministic.
This code makes use of GstCheck's global GMutex and GCond that are
being used inside GstCheck's sink pad chain() function in order
to synchronize with it.
2014-01-21 15:00:53 +01:00
George Kiagiadakis
c702e37091
tests: rtprtx::test_push_forward_seq: fix buffer refcounting
2014-01-21 15:00:53 +01:00
Olivier Crête
8a143dfcbc
tests: Remove usage of the system clock from the rtprtx test
2014-01-15 10:13:12 +01:00
Olivier Crête
f0a4f26fa7
tests: Initial segment in rtpcollision test
2014-01-15 10:13:12 +01:00
George Kiagiadakis
a7823bc522
examples/*-rtpaux: specify payload type association for the audio stream, so that rtx works also for audio
2014-01-15 10:13:12 +01:00
Stefan Sauer
d1223ebd10
wavparse: split the test
...
This way one failure won't shadow the other test and also if one fails we get
better disgnostics through the test-name.
2014-01-06 21:13:37 +01:00
George Kiagiadakis
94e4cd203b
test/check: Verify rtprtxsend::ssrc-map property works as expected
2014-01-03 20:48:29 +01:00
George Kiagiadakis
9226091235
rtprtxreceive: modify to use a payload-type map like rtprtxsend
2014-01-03 20:48:29 +01:00
Wim Taymans
130ad1b1fa
rtprtxsend: Allow SSRC-multiplexing and multiple payload types in the original stream
...
Conflicts:
tests/examples/rtp/server-rtpaux.c
2014-01-03 20:48:29 +01:00
Torrie Fischer
e29b5f8b41
examples: rtp: Add end-to-end rtpbin example with RTX elements
...
This example demonstrates how to use rtpbin with retransmission (rtx)
elements set in the place of rtpbin's "aux" elements in order to
enable RTP retransmission according to the rules of RFC4588.
2014-01-03 20:48:29 +01:00
Julien Isorce
5f360f3b13
tests/check: add rtpaux::test_simple_rtpbin_aux
...
It shows how to use "set-aux-receive" and "set-aux-send"
properties of rtpbin to set rtprtxsend and rtprtxreceive
Build 2 pipelines, one for rtpbin as a sender and one for
rtobin as a receive. Then transmit an audio stream.
It also drops some packets to activate restransmission and
check they are actually retransmited.
2014-01-03 20:48:29 +01:00
Julien Isorce
68149d14e1
tests/check: add rtpcollision::test_rtx_ssrc_collision unit test
...
check that rtxrtpsend changes its retransmission ssrc when
collision happens
2014-01-03 20:48:28 +01:00
George Kiagiadakis
123bc46b60
tests/check: add rtprtx::test_rtxreceive_data_reconstruction
...
This unit test verifies that retransmitted rtp packets coming out
of rtprtxreceive are the same as the original ones.
2014-01-03 20:48:28 +01:00
George Kiagiadakis
487fa8c989
rtprtxsend: retransmit packets in the same order as the rtx requests
2014-01-03 20:48:28 +01:00
George Kiagiadakis
3e818e218b
tests/check: Add unit test for rtxsend's max_size_time property
2014-01-03 20:48:28 +01:00
George Kiagiadakis
f7277db9e4
tests/check: Add rtprtx::test_rtxsender_packet_retention
...
This unit test verifies that the rtxsend element correctly maintains
a buffer of already transmitted rtp packets and that it can
re-transmit all of them correctly on demand. It also verifies
that the limit of this buffer (max-size-packets property) is respected.
2014-01-03 20:48:28 +01:00
Julien Isorce
71bdb5e088
tests/check: add rtprtx::test_drop_multiple_sender unit test
...
Several senders / one receiver
Similar than test_drop_one_sender but with multiple senders
mixed through the funnel element.
It drops some packets and checks that they are retransmited
correctly.
2014-01-03 20:48:28 +01:00
Julien Isorce
2a2fa7ebc0
tests/check: add rtprtx::test_drop_one_sender unit test
...
Test for one sender / one receiver
Build the pipeline
videotestsrc ! rtpvrawpay ! rtprtxsend ! rtprtxreceive ! fakesink
and drop some buffers between rtprtxsend and rtprtxreceive
Then it checks that every dropped packet has been re-sent.
It also checks that not too much requests has been sent.
2014-01-03 20:48:27 +01:00
Julien Isorce
2e4ce28443
tests/check: add rtprtx::test_push_forward_seq
...
add simple unit test that manually push buffers
in rtprtxsend connected to rtprtxreceive.
Drops some buffers and make sure they are retransmisted.
2014-01-03 20:48:27 +01:00
Wim Taymans
c83ed4f61e
tests: add AUX receiver unit test
2013-12-31 15:08:49 +01:00
Wim Taymans
b91e0096b7
tests: improve rtpbin test
2013-12-31 15:08:49 +01:00
Wim Taymans
3e83e6a33d
tests: add AUX sender unit test
2013-12-31 15:08:49 +01:00
Wim Taymans
841f9ad050
tests: add decoder test
2013-12-31 15:08:48 +01:00
Wim Taymans
3f3b2d0886
rtpbin: handle multiple encoder instances
...
Keep track of elements that are added to multiple sessions and make sure
we only add them to the rtpbin once and that we clean them when no
session refers to them anymore.
2013-12-30 16:28:57 +01:00
Wim Taymans
76e4cbc753
tests: add unit test for encoder element
2013-12-30 15:17:05 +01:00
Wim Taymans
bcd1589a91
tests: fix leak
2013-12-30 15:17:05 +01:00
Sebastian Dröge
29840bfd96
wavpackdec: Send a CAPS event in the unit test
2013-12-30 11:07:03 +01:00
Olivier Crête
dc845c1899
tests: Initialize segment in rtpcollision test
2013-12-13 16:05:41 -05:00
George Kiagiadakis
f9b7f44938
tests/check: add an rtpsession unit test to verify all RBs are included in all SRs, roundrobin
...
This test checks that when we have multiple internal sender sources
in rtpsession, SRs contain RBs for every other sender source, and that
they are included roundrobin when they exceed ST_RTCP_MAX_RB_COUNT,
which is the max number of RBs that can fit in a SR.
2013-12-12 16:02:56 +01:00
Julien Isorce
d562263852
tests/check: improve rtpcollision::test_master_ssrc_collision to ensure that a collision does not BYE the whole session
...
Conflicts:
tests/check/elements/rtpcollision.c
2013-12-12 15:39:40 +01:00
Julien Isorce
7b001e35ed
tests/check: add rtpcollision::test_master_ssrc_collision unit test
...
It checks the payloader changes its ssrc when collision happens
2013-12-12 15:39:39 +01:00
Wim Taymans
eee515cb2c
rtpjitterbuffer: serialize events in the buffer
...
Serialize events into the jitterbuffer by inserting them with a -1
seqnum.
Update unit test to expect events from the streaming thread.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=652986
2013-12-10 11:57:37 +01:00
Wim Taymans
e0a5c07e8d
audioparsers: use ACCEPT_INTERSECT flag
...
The parser can accept input that is not completely specified. Use the
ACCEPT_INTERSECT flag on the sinkpad to tweak the acceptcaps function to
check for intersection only. This allows us to proxy downstream
constraints while still allowing non-subset caps as input.
We can then also remove the appended template caps workaround.
Make a unit-test to check the new feature.
This reverts commit 26040ee38c
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=705024
2013-12-03 22:26:44 +01:00
Nicolas Dufresne
77833b886d
videoflip: Add unit test for the 'automatic' method
...
These new tests send a tag event before seding the buffer. Tested case are an
empty tag list, a tag list with orientation-180 set and an invalid orientation value.
https://bugzilla.gnome.org/show_bug.cgi?id=719497
2013-11-28 11:59:05 -05:00
Wim Taymans
29d9b1e7de
check: fix jitterbuffer check
...
Don't advance the clock to 240ms too early.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=710013
2013-11-25 17:39:52 +01:00
Wim Taymans
710d1f3a2a
rtpjitterbuffer: improve clear-pt-map handling
...
Don't reset the expected output seqnum when clearing the pt map because this
could stall the jitterbuffer forever.
Add a unit test for this.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=709800
2013-11-25 15:52:22 +01:00
George Kiagiadakis
387e3b918a
rtpjitterbuffer: Fix stats property field names and documentation
2013-11-15 16:23:34 +02:00
Torrie Fischer
22ceb80ba9
rtpjitterbuffer: implement rtx statistics
2013-11-14 09:24:26 +01:00
Wim Taymans
3623ebf01e
check: add rtpsession test
...
Add a basic rtpsession test to ensure that RR blocks are generated when
multiple SSRC senders are active.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=711270
2013-11-11 14:28:52 +01:00
Thiago Santos
43602e2d8a
tests: souphttpsrc: add explicit cast to silence warning
...
Silencing this warning:
elements/souphttpsrc.c:533:14: error: comparison between ‘SoupKnownStatusCode’ and ‘enum <anonymous>’ [-Werror=enum-compare]
if (status != SOUP_STATUS_OK && !send_error_doc)
With gcc 4.8.2 (debian)
2013-10-31 13:22:40 -03:00
Wim Taymans
3c69d65b85
tests: add test for retransmission because of reordering
2013-09-23 14:45:27 +02:00
Wim Taymans
f40d6689f2
tests: remove timeouts from check
...
Timeouts make the test unreliable and are not needed.
2013-09-23 14:45:26 +02:00
Wim Taymans
a71014518c
tests: add test for packet delay and retransmission
2013-09-23 14:45:24 +02:00
Wim Taymans
c959cdc8c1
tests: check both PTS and DTS
2013-09-23 14:45:24 +02:00
Wim Taymans
2e3346eff9
tests: add unit-test for multiple missing packets
...
Check if multiple missing packets generate retransmission events and that the
retranmission requests are canceled when the missing packet arrives.
2013-09-23 14:45:24 +02:00
Wim Taymans
3b9e2ee5a0
tests: improve debug
2013-09-23 14:45:23 +02:00
Wim Taymans
ee817363c7
tests: add retransmission jitterbuffer test
...
Store both DTS and PTS on buffers.
Make a queue for srcpad events.
Activate pads after linking so that we don't get RECONFIGURE events.
Add test for retransmission.
2013-09-19 14:32:48 +02:00
Wim Taymans
ee75d4b01e
tests: fix comments
2013-09-18 15:08:45 +02:00
Wim Taymans
5c1f2f0045
rtpjitterbuffer: add another test
...
The test is modified slightly because the late lost packets are only
generated now when a large gap is received.
2013-09-18 14:23:55 +02:00
Wim Taymans
5d5fc03e04
rtpjitterbuffer: round gap duration to multiple of duration
...
Make sure the gap duration in the lost event is a multiple of the packet
duration.
Enable another test.
2013-09-18 14:12:47 +02:00
Wim Taymans
6e4a051d40
rtpjitterbuffer: keep track of duration
...
Keep track of the estimated duration of missing packets and use it in the lost
event.
Enable another unit test
2013-09-18 12:29:38 +02:00
Wim Taymans
ac3bb3acf6
rtpjitterbuffer: handle large gaps with one lost event
...
When we have a large number of missing packets, generate one lost event for all
the packets that have no chance of being pushed out in time.
Fix and activate unit test for large gaps.
2013-09-18 11:59:28 +02:00
Wim Taymans
99675d1161
check: change for videomixer renamed orc file
2013-09-17 15:11:41 +02:00
Wim Taymans
aa9af2c82e
examples: we don't need the queue anymore
2013-09-16 15:55:55 +02:00
David Holroyd
a956a6ceb2
rtp: add L24 pay and depayloader
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=707734
2013-09-09 15:13:46 +02:00
Tim-Philipp Müller
cc4f985332
tests: rganalysis: rename function for clarity
2013-09-02 22:50:58 +01:00
Christoph Reiter
92dde0760b
tests: fix skipped rganalysis tests
...
In 0.10 elements would post tag messages on the bus
directly, and rganalysis would only post a tag message
when it changed tags. In 1.0, only sinks post tag
messages when they receive the serialised tag event.
This means that we get an additional tag message on
the bus now where we didn't expect one before.
https://bugzilla.gnome.org/show_bug.cgi?id=695090
2013-09-02 20:00:29 +01:00
Wim Taymans
43359b9244
tests: add retransmission example
2013-08-23 12:10:19 +02:00
Thibault Saunier
6c349d6ec3
videomixer: Send EOS if buf_end >= segment.stop
...
That means the whole segment is already played, and we are sure we
are EOS at that point.
Also handle segment seeks, and do not send EOS in that case.
2013-08-11 19:05:18 +02:00
Tim-Philipp Müller
67eb029a50
tests: skip https test if there's no TLS support in soup/glib
2013-08-04 14:32:47 +01:00
David Schleef
4a2ae4c001
tests: create/remove orc directory at proper time
...
Before automake creates .deps directories, and during distclean.
2013-08-02 17:38:34 -07:00
Tim-Philipp Müller
7a740479b9
tests: ignore new test binaries
2013-07-29 19:48:54 +01:00
Tim-Philipp Müller
a53dcf98f8
tests: fix test ID3 tags up not to rely on dodgy typefinding code
...
Change 0xff 0xfb 'mp3' marker to 'fLaC' marker, so we can fix
the typefinder.
https://bugzilla.gnome.org/show_bug.cgi?id=681368
2013-07-25 10:43:13 +01:00
Nicolas Dufresne
01b20ab901
videocrop: Fix unit for GRAY16 formats
2013-07-18 10:54:50 -04:00
Douglas Bagnall
cff0b179d3
level: Fix the spectrum example for 1.0
...
The "message" property has been replaced by "post-messages".
Pre-patch output:
(test_spectrum:23101): GLib-GObject-WARNING **: g_object_set_valist:
object class `GstSpectrum' has no property named `message'
New spectrum message, endtime 0:00:00.100000000
(test_spectrum:23101): GStreamer-CRITICAL **:
gst_value_list_get_value: assertion `GST_VALUE_HOLDS_LIST (value)' failed
[...]
Post-patch:
New spectrum message, endtime 0:00:00.100000000
band 0 (freq 400): magnitude -65.988777 dB phase 1.533397
band 1 (freq 1200): magnitude -65.545563 dB phase -0.780900
band 2 (freq 2000): magnitude -64.791946 dB phase -0.799611
band 3 (freq 2800): magnitude -64.556175 dB phase -0.063615
[...]
https://bugzilla.gnome.org/show_bug.cgi?id=704179
2013-07-15 08:02:01 +02:00
Sebastian Dröge
1a11a9be0c
rtp: Fail payloading unit test if an error message is received
2013-07-08 14:15:34 +02:00
Stefan Sauer
115b117878
audiopanorama: cleanup and expand the tests
...
Split out two more tests. Extract more common code into helpers. Add coverage for float.
2013-06-11 21:48:18 +02:00
Stefan Sauer
1602f50195
level: rework the tests to cover other formats too
2013-06-09 20:39:48 +02:00
Stefan Sauer
bf250a90dc
tests: cleanup level tests
...
Split out a few more tests to avoid checking the same stuff over and over again.
2013-06-02 13:05:09 +02:00
Stefan Sauer
19b23d3b90
level: add a test for continous timestamps
...
A test that checks that msg[n].ts + msg[n].dur == msg[n+1].ts.
2013-06-01 21:34:37 +02:00
Wim Taymans
1516c14881
Revert "rtph264pay/depay: Add frame dimensions a payloaded caps"
...
This reverts commit 3dca756a5d
.
The H264 RTP spec has no attributes for width and height.
2013-05-31 15:11:12 +02:00
Wim Taymans
f870cef8bc
Revert "rtpjpegpay/depay: Replace framerate caps field with fraction"
...
This reverts commit 9fd25a810b
.
We deal with sdp attributes in application/sdp, which are always strings.
2013-05-31 15:05:51 +02:00
Thibault Saunier
03fc515f66
tests: videomixer: Add a testsuite for videomixer
...
This is mostly copy pasted from -base/tests/check/elements/adder.c
2013-05-25 11:05:37 -04:00
Sebastian Rasmussen
9fd25a810b
rtpjpegpay/depay: Replace framerate caps field with fraction
...
The previous implementation had the formatting of SDP attributes happen
in each RTP payloader, now instead the constituent values are propagated
as caps fields. This allows for applications to do SDP offer/answer
based on caps negotiation.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=700748
2013-05-23 21:05:49 +02:00
Sebastian Rasmussen
3dca756a5d
rtph264pay/depay: Add frame dimensions a payloaded caps
...
This allows for applications to format SDP attributes and still do SDP
offer/answer based on caps negotiation.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=700749
2013-05-23 21:04:11 +02:00
Thibault Saunier
f1f149b503
tests: Re-enable videomixer test
...
https://bugzilla.gnome.org/show_bug.cgi?id=684237
2013-05-19 09:28:04 -04:00
Sebastian Dröge
381e6912a5
rgvolume: Fix event handling in the unit test
2013-05-14 17:29:18 +02:00
Sebastian Dröge
4bf7dabed1
rglimiter: Fix event handling in unit tests
2013-05-14 16:34:54 +02:00
Sebastian Dröge
4d81538090
rganalysis: Fix event handling in unit test
2013-05-14 16:31:57 +02:00
Sebastian Dröge
0e76ed510c
qtmux: Fix event handling in unit test
2013-05-14 16:08:54 +02:00
Sebastian Dröge
924d7eeadf
multifile: Fix event handling in unit test
2013-05-14 16:00:58 +02:00
Sebastian Dröge
3909eced0e
mulaw: Fix event handling in unit test
2013-05-14 13:58:01 +02:00
Sebastian Dröge
da95e53c73
interleave: Fix event handling in unit test
2013-05-14 10:25:56 +02:00
Nicolas Dufresne
04c9f43567
rtpmux: Send stream-start before caps
2013-05-13 15:37:05 +02:00
Nicolas Dufresne
7719b19aec
rtpjitterbuffer-test: Send stream-start before caps followed by segment
2013-05-13 15:36:49 +02:00
Nicolas Dufresne
c561ce0b9f
rtpbin-test: Send missing stream-start and segment events
2013-05-13 15:36:34 +02:00
Sebastian Dröge
3dd14e968a
tests: Fix some more event handling in tests
2013-05-13 15:36:19 +02:00
Sebastian Dröge
e1c959c60c
icydemux: Fix event handling in unit test
2013-05-13 15:19:36 +02:00
Sebastian Dröge
511fb95ef8
deinterleave: Fix event handling in test
2013-05-13 14:55:27 +02:00
Nicolas Dufresne
e6a14a95ea
shapewipe-test: Send inital events
...
https://bugzilla.gnome.org/show_bug.cgi?id=700033
2013-05-11 09:12:35 +02:00
Nicolas Dufresne
5abd7698f3
spectrum-test: Send inital events
...
https://bugzilla.gnome.org/show_bug.cgi?id=700033
2013-05-11 09:12:12 +02:00
Nicolas Dufresne
890e9e3738
videofilter-test: Send inital events
...
https://bugzilla.gnome.org/show_bug.cgi?id=700033
2013-05-11 09:12:06 +02:00
Nicolas Dufresne
96df3472ba
wavpackparse-test: Send inital events
...
https://bugzilla.gnome.org/show_bug.cgi?id=700033
2013-05-11 09:12:01 +02:00
Nicolas Dufresne
93bd95f518
y4menc-test: Send inital events
...
https://bugzilla.gnome.org/show_bug.cgi?id=700033
2013-05-11 09:11:56 +02:00
Sebastian Dröge
c5c2827114
tests: Fix some more unit tests
2013-05-10 13:34:16 +02:00
Sebastian Dröge
044fcbe901
tests: Fix parser tests
2013-05-10 13:10:29 +02:00
Nicolas Dufresne
6b56ad5d09
jpegenc-test: Send inital events
...
https://bugzilla.gnome.org/show_bug.cgi?id=700033
2013-05-10 09:24:53 +02:00
Nicolas Dufresne
c944987a2a
vp8enc-test: Send inital events
...
https://bugzilla.gnome.org/show_bug.cgi?id=700033
2013-05-10 09:24:47 +02:00
Nicolas Dufresne
f3bb4d6b34
vp8dec-test: Send inital events
...
https://bugzilla.gnome.org/show_bug.cgi?id=700033
2013-05-10 09:24:35 +02:00
Nicolas Dufresne
67ade43a4f
wavpackdec-test: Send initial events
...
https://bugzilla.gnome.org/show_bug.cgi?id=700033
2013-05-10 09:24:28 +02:00
Nicolas Dufresne
8a9a3039fc
videofilter: Unit test send SEGMENT before CAPS
...
https://bugzilla.gnome.org/show_bug.cgi?id=699966
2013-05-09 09:08:01 +02:00
Nicolas Dufresne
43f9934ba5
avimux: Unit test sends SEGMENT before caps
...
https://bugzilla.gnome.org/show_bug.cgi?id=699966
2013-05-09 09:07:43 +02:00
Nicolas Dufresne
9bd526ef4a
audiowsincband: Test should send segment after CAPS
...
This makes the unit test pass again.
https://bugzilla.gnome.org/show_bug.cgi?id=699966
2013-05-09 09:07:29 +02:00
Nicolas Dufresne
22d64ea3be
audiowsinclimit: Test should send segment after CAPS
...
This makes the unit test pass again.
https://bugzilla.gnome.org/show_bug.cgi?id=699966
2013-05-09 09:07:10 +02:00
Alexander Schrab
3ec9673dfc
mulawdec: change base class to GstAudioDecoder
...
https://bugzilla.gnome.org/show_bug.cgi?id=698894
2013-04-26 08:46:34 +02:00
Sebastian Dröge
fb0384fa0d
mulaw: Some minor memleak fixes and cleanup
2013-04-25 12:44:15 +02:00
Alexander Schrab
f0edb5fb70
mulawenc: change to gstaudioencoder base, added bitrate tags
2013-04-25 12:36:15 +02:00
Tim-Philipp Müller
a8e7cd0860
tests: fix some printf format issues in debug messages
2013-04-11 22:55:58 +01:00
Tim-Philipp Müller
7e91057934
tests: refactor new wavparse test a little
...
Use fakesrc instead of filesrc with /dev/null.
https://bugzilla.gnome.org/show_bug.cgi?id=696684
2013-04-09 00:28:54 +01:00
Alexander Schrab
79d5a7d03c
wavparse: error out if we receive eos before any valid data
...
https://bugzilla.gnome.org/show_bug.cgi?id=696684
2013-04-09 00:27:31 +01:00
Stefan Sauer
2e56032031
level: subdivide buffers for sample accurate interval handling
...
Previously we would skip level message when processing buffers > the requested
interval. Also the message frequency would contain quite some jitter due to only
considering them at the end of buffers.
Cleanup the tests while we're at it.
2013-04-03 21:40:17 +02:00
Jonas Holmberg
08c5a04691
autodetect checktest: Do not fail without videosink
...
If there is no videosink available autovideosink will contain a
fakesink instead which needs special treatment in the unit test.
2013-03-11 10:54:48 +01:00
Tim-Philipp Müller
694dbcc5a0
dtmf: move dtmf plugin from -bad to -good
...
https://bugzilla.gnome.org/show_bug.cgi?id=687416
2013-03-09 01:18:30 +00:00
Tim-Philipp Müller
a4c5aa38ec
Merge branch 'dtmf-moved-from-bad'
...
https://bugzilla.gnome.org/show_bug.cgi?id=687416
2013-03-09 00:30:38 +00:00
Tim-Philipp Müller
0427524d73
tests: re-add suppression for GValueArray warnings to unit test as well
2013-02-28 17:38:47 +00:00
Jonas Holmberg
fba30e3384
tests: use relative include for out-of-tree builds in dtmf test
2013-02-28 12:30:51 +00:00
Stefan Sauer
b62cb3edcd
level: add a "post-messages" property and deprecate "message"
...
In spectrum this was changed from 0.10 to 1.0, lets do this here too.
2013-02-28 09:43:12 +01:00
Olivier Crête
ab2a342f42
tests: Add tests for dtmfsrc
2013-02-27 18:56:56 -05:00
Olivier Crête
0233eb9f79
tests: Fix ref leak in dtmf test
2013-02-27 16:15:33 -05:00
Thomas Vander Stichele
52b7aab711
level: send last message on EOS
2013-02-25 00:19:22 +01:00
Tim-Philipp Müller
7de14c5dbe
tests: fix some h264 caps
...
Doesn't fix anything in particular, but is
still needed here for correctness.
2013-02-16 15:05:34 +00:00
Sebastian Dröge
a7ddbc03fe
rtp-payloading: Fix unit test caps and AMR depayloader sink template caps
...
Fields were missing from the actual caps, or too many fields
existed in the template caps.
2013-02-13 12:02:46 +01:00
Sebastian Dröge
ae291fc40c
aacparse: Fix caps used in the unit test
...
The AAC caps passed were incomplete.
2013-02-13 11:53:01 +01:00
Sebastian Dröge
17513dae66
wavpack: Fix unit tests, width is now called depth in the caps in 1.0
2013-02-13 11:49:40 +01:00
Tim-Philipp Müller
7d02a4dacb
tests: make souphttpsrc unit test work even if http_proxy is set
...
We're testing with an http server on localhost, but don't support
an exception list for the http_proxy, so just unset the environment
variable to make sure we can run this test properly even if the
environment has http_proxy set.
Also, don't skip all tests if there is an issue with the SSL server,
just run the non-SSL tests then.
https://jenkins.qa.ubuntu.com/view/Raring/view/JHBuild%20Gnome/job/jhbuild-amd64-gst-plugins-good/
2013-02-12 23:34:38 +00:00
Stefan Sauer
02956d7778
level-example. avoid taking the arrays again for each channel for clarity
...
Also introduce some blank lines for better readability and update the comments.
2013-02-05 18:47:59 +01:00
B.Prathibha
7bb368ee4c
tests: use g_timeout_add_seconds instead of g_timeout_add
...
https://bugzilla.gnome.org/show_bug.cgi?id=692615
2013-01-27 15:38:12 +00:00
Olivier Crête
6105510a7a
tests: Add test for rtpdtmfdepay and rtpdtmfsrc
2013-01-25 21:05:39 -05:00
Tim-Philipp Müller
066600c18b
tests: skip souphttpsrc tests if there is no local http server to use
...
Skip tests if the server couldn't be started or we can't connect
to it for some reason (e.g. draconic build bot environments).
2013-01-16 18:03:44 +00:00
Martin Pitt
b46dcf379a
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:10:19 +00:00
Tim-Philipp Müller
baac8ad663
tests: add test for souphttpsrc error handling with data
...
https://bugzilla.gnome.org/show_bug.cgi?id=678429
2013-01-01 19:14:36 +00:00
Tim-Philipp Müller
08702be68f
cairo: port cairooverlay to 0.11
...
The other elements are not that interesting now that we're
using pangocairo in the pango plugin, and should probably
just be removed.
2013-01-01 11:52:09 +00:00
Tim-Philipp Müller
1a073355bc
examples: check for uri argument in decodebin-h264p-amr server example
...
Otherwise people get a rather confusing error message.
2012-12-31 18:59:18 +00:00
Jonas Holmberg
60fa4536e2
tests: add jpegpay unit test
...
See also https://bugzilla.gnome.org/show_bug.cgi?id=684955
2012-12-20 16:15:13 +01:00
Tim-Philipp Müller
3295b5d791
rtpmanager: move rtpmux and rtpdtmfmux elements from -bad
...
https://bugzilla.gnome.org/show_bug.cgi?id=629117
2012-12-16 16:36:39 +00:00
Tim-Philipp Müller
de204ba754
rtpmux: Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-12-16 16:36:39 +00:00
Olivier Crête
15dfdc58d4
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-12-16 16:36:38 +00:00
Olivier Crête
f20a6b1d16
rtpmux: port to 0.11
2012-12-16 16:35:26 +00:00
Olivier Crête
5bd023fb96
tests: Change tests to not use the priority pads instead of the events
2012-12-16 16:35:14 +00:00
Olivier Crête
8e58646f5c
rtpmux: Aggregate incoming segments
2012-12-16 16:35:14 +00:00
Benjamin Otte
ed35e485b7
Add -Wmissing-declarations -Wmissing-prototypes to configure flags
...
And fix all warnings
2012-12-16 16:35:14 +00:00
Olivier Crête
f3f1fa80c3
tests: Add test for rtpdtmfmux locking
2012-12-16 16:33:46 +00:00
Olivier Crête
c0806e59bf
tests: Add unit test for rtpmux
2012-12-16 16:33:46 +00:00
Wim Taymans
50391c7773
check: add (but disable) more rtp jitterbuffer tests
...
Tests need to be ported to 1.0 before they can be enabled but added here so they
don't get forgotten.
See https://bugzilla.gnome.org/show_bug.cgi?id=667838
2012-12-13 12:36:20 +01:00
Tim-Philipp Müller
672ab8fb5b
webmux: fix linking with shout2send element
...
Shout2send only accepts webm format, not matroska, but due
to a bug in matroskamux, webmmux's source pad is also created
with the matroska source pad template as pad template, which
makes the link function think it can't link webmmux to shout2send.
Also add unit test.
https://bugzilla.gnome.org/show_bug.cgi?id=689336
2012-11-30 17:22:34 +00:00
Nicolas Dufresne
1ad8ebac44
videocrop: Add support for automatic cropping
...
This change enable automatic cropping using -1 set to left, top, right or
bottom property. In the case both side are set to automatic cropping, the
croping will be done equally on both side (in the odd case, right and
bottom cropping will be 1 pixel more).
https://bugzilla.gnome.org/show_bug.cgi?id=687761
2012-11-07 11:20:24 +01:00
Tim-Philipp Müller
ced45a61bd
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:09:59 +00:00
Tim-Philipp Müller
230cf41cc9
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:07:18 +00:00
Tim-Philipp Müller
9564103f81
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-03 20:40:37 +00:00
Wim Taymans
0de4b76d39
tests: fix level example
...
Use the GValueArray in the message.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=687154
2012-10-30 11:10:49 +00:00
Tim-Philipp Müller
49f49a2fbf
tests: add multifilesrc test for fix in previous commit
...
Make sure the stop-index set is honoured.
https://bugzilla.gnome.org/show_bug.cgi?id=654853
2012-10-26 11:04:02 +01:00
Tim-Philipp Müller
ae84696ec5
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
a5ee599af7
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
ff33d8d263
tests: remove superfluous g_type_init() call
...
It's deprecated in newer GLib and not needed here.
https://bugzilla.gnome.org/show_bug.cgi?id=686456
2012-10-20 13:01:41 +01:00
Tim-Philipp Müller
3bbbcd266c
examples: update some element names for 1.0 in RTP examples
...
gstrtpbin -> rtpbin
ffdec_* -> avdec_*
ffenc_* -> avenc_*
2012-10-11 22:36:21 +01:00
Patricia Muscalu
7a863e4d8d
rtph264pay: do not push unmapped data
...
Also do not use a GstBuffer after it has been pushed into the adapter.
https://bugzilla.gnome.org/show_bug.cgi?id=685213
2012-10-04 09:22:50 +01:00
Tim-Philipp Müller
2c4b7e03a2
tests: port gdkpixbufsink test
2012-10-01 14:03:19 +01:00
Tim-Philipp Müller
e6d37eb30a
Purge references to liboil
...
https://bugzilla.gnome.org/show_bug.cgi?id=673285
2012-09-29 12:41:37 +01:00
Tim-Philipp Müller
626e0258e3
videomixer: fix warnings when using transparent background
...
gst_video_frame_map() increases the refcount, which makes
the buffer not writable any more technically, so calling
gst_buffer_memset() on it will cause nasty warnings.
Unit test disabled because it very rarely (for me)
fails, possibly negotiation-related.
https://bugzilla.gnome.org/show_bug.cgi?id=684398
2012-09-25 23:31:34 +01:00
Tim-Philipp Müller
df83b4e730
tests: remove g_printerr() that's not needed any longer
...
now that tcase_skip_broken_test() prints it as well.
2012-09-24 11:56:56 +01:00
Tim-Philipp Müller
63c4a29ac0
tests: disable failing replaygain tests
2012-09-23 19:50:42 +01:00
Tim-Philipp Müller
e3ba13632b
tests: dist image.jpg for jpeg test
2012-09-17 18:23:11 +01:00
Sebastian Dröge
198a5fd19c
vp8: Add tests to .gitignore
2012-09-16 15:47:16 +02:00
Sebastian Dröge
e6dbdffbfe
vp8enc: Update patch to the new property names
2012-09-16 15:46:31 +02:00
Sebastian Dröge
b0459448b7
vpx: Integrate test into the build system too
2012-09-16 15:46:22 +02:00
Wim Taymans
8337fcfe99
[MOVED FROM BAD 6/6] tests: fix more unit tests
2012-09-16 15:44:00 +02:00
René Stadler
caa34f7bf7
[MOVED FROM BAD 5/6] tests: update for gstcheck API change
2012-09-16 15:44:00 +02:00
Sebastian Dröge
92eae76bdb
[MOVED FROM BAD 4/6] vp8dec: Add simple unit test for vp8dec
2012-09-16 15:44:00 +02:00
Sebastian Dröge
b072086ec0
[MOVED FROM BAD 3/6] vp8enc: Improve unit test a bit
2012-09-16 15:44:00 +02:00
Sebastian Dröge
d983342dbd
[MOVED FROM BAD 2/6] vp8enc: Also check the output caps in the unit test
2012-09-16 15:44:00 +02:00
Sebastian Dröge
63e28498c4
[MOVED FROM BAD 1/6] vp8enc: Add simple unit test
2012-09-16 15:44:00 +02:00
Mark Nauwelaerts
a32398fee5
replace gst_element_class_set_details_simple with gst_element_class_set_metadata
2012-09-14 17:07:40 +02:00
Wim Taymans
829c80ce6c
fix more caps
2012-09-14 13:30:37 +02:00
Tim-Philipp Müller
a9e5d1246a
tests: push stream-start and segment events in wavpackenc test
2012-09-14 00:47:38 +01:00
Tim-Philipp Müller
1d586d3bde
tests: fix most of the rganalysis unit tests
...
Before the element would post messages on the bus itself, now
the sinks do that based on the tag events they receive. But
since we don't have proper sink elements in these unit tests,
but just dangling pads, we have to post the tag messages the
test checks for ourselves.
Down from 52/55 failing to 7/52 failing.
2012-09-12 00:16:31 +01:00
Mark Nauwelaerts
538578f345
tests: rtpbin: port to the new GLib thread API
2012-09-11 12:54:41 +02:00
Wim Taymans
f0989b600a
tests: fix id3demux test
2012-09-10 17:16:47 +02:00
Mark Nauwelaerts
7940a29c74
tests: rtp-payloading: adjust to modified bufferlist semantics
...
... now implemented by buffer memory blocks.
2012-09-07 15:25:53 +02:00
Mark Nauwelaerts
397e987c7d
tests: deinterlace: do not leak deinterlace pads
2012-09-06 17:05:49 +02:00
Tim-Philipp Müller
9bf90f47cf
video/x-xvid -> video/mpeg,mpegversion=4
2012-09-03 02:51:24 +01:00
Tim-Philipp Müller
4bb52bbadf
docs: gst-launch -> gst-launch-1.0 and ffmpegcolorspace -> videoconvert
2012-08-27 21:20:30 +01:00
Tim-Philipp Müller
045c4b6ec8
deinterlace: the field in caps is "interlace-mode" not "interlace-method"
...
Fix deinterlace unit test. Need to set right field on output caps.
Also remove right field (not old 0.10 "interlaced" boolean field)
from caps in unit test before comparing old and new.
2012-08-27 21:20:29 +01:00
Tim-Philipp Müller
d35fbcf6f1
tests: fix icydemux unit test
...
Was waiting for a tag message on the bus, which would never
come, because elements don't post those themselves any more
but let sinks post them from tag events. Only that there are
no sinks in this unit test.
2012-08-27 21:20:29 +01:00
Tim-Philipp Müller
a62f9b178d
tests: fix videocrop crop_to_1x1 unit test for GRAY8 format
...
Update table with pixel values with the value actually produced
by videotestsrc.
2012-08-27 21:20:29 +01:00
Stefan Sauer
1f255a585b
equalizer: enable presets for the n-band equalizer
...
Add a test for saving and restoring the preset.
2012-08-17 15:01:40 +02:00
Olivier Crête
264bcf7d6f
rtph264pay: Make it actually work after cleanups
2012-08-08 19:49:05 -07:00
Tim-Philipp Müller
4de8bd004c
No code with side-effects inside g_assert() please
2012-08-08 11:07:55 +01:00
Tim-Philipp Müller
c074bfd0b9
gst_tag_list_free -> gst_tag_list_unref
2012-08-04 16:10:16 +01:00
Sebastian Dröge
0827f54b93
tag: Update for taglist/tag event API changes
2012-07-28 00:19:51 +02:00
Mathias Hasselmann
fc578e7699
tests: drop redundant elements_level_LDADD line
...
https://bugzilla.gnome.org/show_bug.cgi?id=676302
2012-07-08 13:34:08 +01:00
Tim-Philipp Müller
f3f71b9749
tests: minor jpegdec clean-ups and fixes
...
Fix race condition in eos checking and a leak. And
build pipeline without parse_launch.
2012-07-08 13:30:34 +01:00
Mathias Hasselmann
0da9456ba2
tests: Add some basic tests for jpegdec
...
https://bugzilla.gnome.org/show_bug.cgi?id=676302
2012-07-08 12:56:31 +01:00
Tim-Philipp Müller
cf9b2149dd
isomp4: remove gppmux, which was deprecated in favour of 3gppmux
2012-07-06 12:54:02 +01:00
Tim-Philipp Müller
48706beb70
rtph263ppay: accept any h263 input unless downstream forces specific requirements
...
rtph263ppay should accept any input compatible with its sink template
caps if it just outputs to e.g. udpsink or fakesink.
rtph263ppay ! rtph263pdepay should also work with any compatible input.
This would fail before with not-negotiated errors because the get_caps
function would see the encoding-name in the depayloader's template caps
and default to baseline H.263 because there's no profile/level information
in those caps, which is the right thing to do if downstream has filtercaps
from an SDP, but not if those fields are absent because they can be
anything like with the depayloader's template caps. Makes
videotestsrc ! avenc_h263p ! rtph263ppay ! rtph263pdepay ! fakesink
work.
2012-07-06 11:57:38 +01:00
Tim-Philipp Müller
76625d20d7
tests: fix h263p payload ! depayload unit test
...
Need to add h263version field to input caps since the
payloader sink get_caps function will contain it in the
the caps, and the stricter caps subset check requires
this to be present in the input caps as well then.
2012-07-06 11:57:38 +01:00
Tim-Philipp Müller
91d97d31e2
tests: fix rgvolume unit test event handling
...
Must flush after EOS before sending more buffers or
another EOS event, or the event or buffer will be
rejected. Also send a SEGMENT event at the start
of each stream for good measure.
2012-07-05 15:14:33 +01:00
Tim-Philipp Müller
a94c1a7fdb
tests: fix rganalysis unit test event handling
...
Must flush after EOS before sending more buffers or
another EOS event, or the event or buffer will be
rejected. Also send a SEGMENT event at the start
of each stream for good measure.
2012-07-04 23:57:18 +01:00
Tim-Philipp Müller
94e54887fb
tests: disable deinterlace test for now, element still needs to be ported
...
But leave it active and print a FIXME. Porting is in progress.
2012-07-04 12:39:07 +01:00
Javier Jardón
c6cb95f5b2
tests: do not use deprecated gtk+ symbols
...
https://bugzilla.gnome.org/show_bug.cgi?id=679301
2012-07-03 09:54:15 +01:00
Wim Taymans
d1b0ff6c06
update for bus api changes
2012-06-20 12:31:01 +02:00
Wim Taymans
dc04908412
update for clock api changes
2012-06-20 10:01:57 +02:00
Wim Taymans
f65495d405
update for audio api change
2012-06-08 10:11:12 +02:00
Wim Taymans
443a14bdbf
tests: add test for rtpsession cleanup
2012-06-07 10:44:31 +02:00
Wim Taymans
b5df4f0e62
update for tag event change
2012-06-06 13:02:12 +02:00
Wim Taymans
37df608fdc
fix Y800 format
2012-06-06 13:00:58 +02:00
Tim-Philipp Müller
dd75c21670
annodex: remove annodex plugin and CMML elements
...
This never really took off and is most likely completely
unused. If there is still a need for this, it should
probably be done differently, perhaps inside oggdemux/mux.
2012-05-13 19:21:19 +01:00
Tim-Philipp Müller
95da93fcb7
tests: fix matroskamux unit test after media type changes
2012-04-28 23:14:24 +01:00
Mark Nauwelaerts
7aee9156ed
tests: oss4: limit test scope
2012-04-20 18:18:55 +02:00
Sebastian Dröge
d99eb6d2cb
Update everything for the removal of the interface library and mixer/tuner interfaces
2012-04-13 13:15:11 +02:00
Tim-Philipp Müller
be9baf1a0b
tests: disable simple smokeenc/dec launch lines test
...
Disable test for smoke elements, which aren't ported yet
(and maybe shouldn't be ported).
2012-04-09 12:55:34 +01:00
Tim-Philipp Müller
fa5edd2680
interleave: make channel-poisitions property a GValueArray again
...
Or perhaps it should just be a guint64 channel mask, which would
be nicer in C, but more awkward for bindings (even more so since
we can't add a flags type for it, since that only supports guint
size flags). Fixes wavenc unit test.
https://bugzilla.gnome.org/show_bug.cgi?id=669643
2012-04-09 11:13:05 +01:00
Mark Nauwelaerts
6a0339bf24
tests: make few tests more valgrind-friendly
2012-04-05 19:17:48 +02:00
Mark Nauwelaerts
0c49dcd0c6
(de)interleave: fix ported unit test and enable as ported
2012-04-05 19:17:42 +02:00
Mark Nauwelaerts
ac0d2254f0
tests: cmmldec: adjust to tag events no longer posted on bus by element
2012-04-05 19:17:38 +02:00
Mark Nauwelaerts
732f29dbbe
tests: qtmux: ensure initialized test buffer memory
2012-04-04 21:38:14 +02:00
Sebastian Dröge
5cdd49bf25
gst: Update versioning
2012-04-04 14:37:47 +02:00
Wim Taymans
068ee88862
update for child proxy api change
2012-03-31 15:43:49 +02:00
Wim Taymans
3d61d12e03
update for buffer api change
2012-03-30 18:15:34 +02:00
Mark Nauwelaerts
81c4f56e1b
tests: wavpack: fewer buffers are also adequate and more convenient
2012-03-29 17:22:23 +02:00
Mark Nauwelaerts
fce8f3486b
tests: videocrop: unmap video frame and unref caps
2012-03-29 17:22:19 +02:00
Mark Nauwelaerts
9f93f503a1
tests: audiowsincband: unmap examined output buffers
2012-03-29 17:22:04 +02:00
Mark Nauwelaerts
4ac5eebade
tests: tagschecking: muxers need TIME format
2012-03-28 16:26:56 +02:00
Mark Nauwelaerts
e9c802d834
tests: flacdec: needs flacparse nowadays
2012-03-28 16:26:15 +02:00
Wim Taymans
69002aa24f
update for buffer changes
2012-03-28 12:53:05 +02:00
Mark Nauwelaerts
8f68db9cc3
tests: audiodynamic: correctly port original test to mind in place transform
2012-03-28 12:23:56 +02:00
Mark Nauwelaerts
2ed647a900
tests: audiofirfilter: negotiate the intended raw audio format
2012-03-28 12:23:56 +02:00
Wim Taymans
e310ee8218
caps: improve caps handling
...
Avoid caps copy and leaks
2012-03-27 16:42:41 +02:00
Mark Nauwelaerts
8f52f8c5c8
tests: icydemux: activate internal test helper src pad
2012-03-27 14:05:27 +02:00
Mark Nauwelaerts
117de9fd47
tests: replaygain: misc compatibility fixes
...
Discard caps event when checking for and counting various tag events,
and remove all testing of 8 bits depth in 16 bits width format since
it no longer exists.
2012-03-26 18:38:34 +02:00
Mark Nauwelaerts
85bf98fe1a
tests: rtp: misc compatibiliy fixes
...
... such as always setting pad caps and providing needed caps fields.
2012-03-26 18:38:34 +02:00
Mark Nauwelaerts
9c1787851d
tests: videofilter: ensure initial segment event
2012-03-26 18:38:34 +02:00
Mark Nauwelaerts
e937d38544
tests: imagefreeze: remove extraneous _unref
2012-03-23 18:49:01 +01:00
Mark Nauwelaerts
e94f68fd6b
tests: avimux: adjust to modified sink pad template name
2012-03-23 18:49:01 +01:00
Mark Nauwelaerts
43ceadb0df
tests: qtmux: cleanup element sooner
...
... to avoid stray refs in sticky caps events.
2012-03-23 18:49:01 +01:00
Mark Nauwelaerts
6bb7fdf4c5
tests: arrange for sending an initial segment event
...
... which is needed nowadays since various gst_segment_to_...
no longer automatically set the format to the specified one
(from _UNDEFINED).
2012-03-23 18:49:01 +01:00
Wim Taymans
3e8ae7603c
tests: update for memory api changes
2012-03-21 13:22:43 +01:00
Wim Taymans
ecaea36c3d
update for memory api changes
2012-03-15 13:36:17 +01:00
Wim Taymans
075cd54019
fix for caps _normalize changes
2012-03-12 12:23:15 +01:00
Wim Taymans
bb8bc237b5
tests: improve more tests
2012-03-08 11:36:01 +01:00
Wim Taymans
65d59232b1
tests: fix some more tests
2012-03-08 11:20:43 +01:00
Mark Nauwelaerts
e637cfb212
tests: port wavpack tests to 0.11
2012-03-05 13:44:21 +01:00
Mark Nauwelaerts
f189f62b13
Merge branch 'master' into 0.11
...
Conflicts:
ext/wavpack/gstwavpackenc.c
tests/check/elements/audioiirfilter.c
tests/examples/v4l2/probe.c
2012-03-01 11:29:50 +01:00
Mark Nauwelaerts
a5144cbba0
wavpackdec: adjust to audio format limitations
...
... which does not allow expressing arbitrary depth in a GstAudioFormat.
Also adjust unit test to modified behaviour.
2012-02-27 23:46:15 +01:00
Mark Nauwelaerts
b863df570f
wavpackenc: port to audioencoder
...
Also adjust unit test to slightly modified behaviour.
2012-02-27 23:45:54 +01:00
Edward Hervey
9beda57c3a
Suppress deprecation warnings in selected files, for g_value_array_* mostly
2012-02-27 14:47:25 +01:00
Wim Taymans
ca9532ccc5
update for new memory api
2012-02-22 02:10:33 +01:00
Tim-Philipp Müller
dc3beab0ab
tests: fix up level test for GstValueList -> GValueArray change
...
https://bugzilla.gnome.org/show_bug.cgi?id=670303
2012-02-18 11:38:36 +00:00
Philippe Normand
4945af5eff
interleave: port to 0.11
...
Port of the interleave element and its unittests.
https://bugzilla.gnome.org/show_bug.cgi?id=669643
2012-02-16 14:40:59 +00:00
Wim Taymans
6623ab258b
Merge branch 'master' into 0.11
2012-02-16 14:23:50 +01:00
Tim-Philipp Müller
71477a3eac
examples: fix spectrum example build issues
...
Find fft headers in uninstalled setup, fix LIBS order.
2012-02-15 23:55:44 +00:00
Stefan Sauer
dfc431dbb8
spectrum-demo: show the effect of fast-mode
2012-02-15 11:25:45 +01:00
Wim Taymans
f7faea3915
tests: fix test, use videoconvert
2012-02-14 11:22:46 +01:00
Wim Taymans
63ec4ca38b
Merge branch 'master' into 0.11
...
Conflicts:
tests/check/elements/flacparse.c
2012-02-14 10:51:38 +01:00
Mark Nauwelaerts
ec6b2e8659
tests: flacparse: check and compare intended data
2012-02-13 12:07:17 +01:00
Wim Taymans
225e98d623
Merge branch 'master' into 0.11
...
Conflicts:
ext/flac/gstflacenc.c
ext/jack/gstjackaudioclient.c
ext/jack/gstjackaudiosink.c
ext/jack/gstjackaudiosrc.c
ext/pulse/plugin.c
ext/shout2/gstshout2.c
gst/matroska/matroska-mux.c
gst/rtp/gstrtph264pay.c
2012-02-10 16:23:14 +01:00
Tim-Philipp Müller
dca42d4767
tests: clean up rtp-payloading test a little
...
Feed data into the pipeline using appsrc instead of fdsrc and
a pipe. Store unsigned byte values in guint8 instead of char.
Getting rid of the capsfilter also helps to avoid 'format is
not fully specified' warnings when pushing "video/x-h264" data
into rtph264pay with fully specified h264 caps in the sink template.
2012-02-10 14:07:45 +00:00
Mark Nauwelaerts
507f936778
tests: mpegaudioparse: remove stray declaration
2012-02-09 22:13:11 +01:00
Wim Taymans
9737bf26f0
tests: fix compilation
2012-02-09 18:09:45 +01:00
Philippe Normand
640be49e21
deinterleave: port to 0.11
...
Port of the deinterleave element and its unittests. The interleave
element will be ported as part of another patch, hence disabling it
for now.
https://bugzilla.gnome.org/show_bug.cgi?id=668847
2012-02-08 10:40:39 +01:00
Wim Taymans
412510d6ed
tests: improve tagmux tests
2012-02-07 10:47:19 +01:00
Wim Taymans
3644e23184
tests: fix jpeg test
2012-02-07 10:30:28 +01:00
Wim Taymans
02034ce772
tests: fix more tests
2012-02-07 10:30:28 +01:00
Wim Taymans
92a0c01732
test: fix more tests
2012-02-06 18:35:01 +01:00
Wim Taymans
9a76a00a4d
tests: fix more tests
2012-02-06 15:52:49 +01:00
Wim Taymans
dd26b14930
iirequalizer: fix equalizer and unit test
2012-02-06 15:20:55 +01:00
Wim Taymans
41648135b2
tests: fix some more tests
2012-02-06 13:44:20 +01:00
Wim Taymans
f3f54403b1
tests: fix more unit tests
2012-02-06 13:29:24 +01:00
Wim Taymans
ef0686c52c
tests: fix more tests
2012-02-06 10:07:06 +01:00
Wim Taymans
16cc9b3807
tests: improve some tests
2012-02-06 09:49:38 +01:00
Wim Taymans
f75fa8e3c3
tests: fix jitterbuffer test
2012-02-06 09:23:49 +01:00
Wim Taymans
8f2ef99b5b
tests: fix more tests
2012-02-03 17:23:48 +01:00
Wim Taymans
56eb65babc
tests: fix some more tests
2012-02-03 16:14:08 +01:00
Tim-Philipp Müller
0f3b7b010e
build: ignore GValueArray deprecation warnings for the time being
...
until this gets sorted out with the GLib folks and we have a
viable alternative.
https://bugzilla.gnome.org/show_bug.cgi?id=667228
2012-02-01 16:40:51 +00:00
Wim Taymans
a6370cdb50
tests: fix more tests
2012-01-31 15:39:09 +01:00
Wim Taymans
2a91bbbc0b
tests: update some tests for new memory api
2012-01-31 13:42:55 +01:00
Stefan Sauer
e83c53790f
controller: adapt to control-source type changes
2012-01-31 12:22:19 +01:00
Stefan Sauer
80494c6318
controller: rename control-bindings
...
gst_control_binding_xxx -> gst_xxx_control_binding for consistency.
2012-01-30 21:40:28 +01:00
Wim Taymans
bb2bd604e0
update for HEADER flag
2012-01-30 17:16:51 +01:00
Sebastian Dröge
0b517ce9fb
Merge branch '0.11' of ssh://git.freedesktop.org/git/gstreamer/gst-plugins-good into 0.11
2012-01-25 12:49:34 +01:00
Sebastian Dröge
10554b271f
Merge branch 'master' into 0.11
...
Conflicts:
ext/flac/gstflacdec.c
ext/jpeg/gstjpegenc.c
ext/pulse/pulsesink.c
sys/v4l2/gstv4l2src.c
2012-01-25 12:49:11 +01:00
Wim Taymans
b4630dd3e0
more memory API porting
2012-01-25 12:30:29 +01:00
Stefan Sauer
20cdee6aa6
controller: move from control-binding to control-binding-direct
2012-01-23 11:04:03 +01:00
Tim-Philipp Müller
7cb9b7ab9d
Use new GLib API unconditionally
2012-01-22 23:15:19 +00:00
Stefan Sauer
ba2ec3ff98
controller: adapt to control binding changes
2012-01-20 14:45:01 +01:00
Stefan Sauer
535d66102c
controller: adapt to controller api changes
...
Don't use the convenience api for control sources.
2012-01-20 11:39:16 +01:00
Wim Taymans
1584806634
port to new gthread API
2012-01-19 11:33:53 +01:00
Vincent Penquerc'h
e9e0bebde3
tests: fix autodetect test not testing correctly for state change success
...
State change to PAUSED can be done async, so if this happens, we need
to wait for the change to be done (or failed).
2012-01-16 16:10:08 +00:00
Vincent Penquerc'h
4c2a2063cf
tests: fix caps leak in videotestsrc test
2012-01-13 15:57:20 +00:00
Tim-Philipp Müller
8580dd86c9
eqMerge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
ext/jack/gstjackaudiosink.c
ext/jack/gstjackaudiosrc.c
gst/matroska/matroska-mux.c
gst/matroska/matroska-read-common.c
gst/rtpmanager/gstrtpssrcdemux.c
2012-01-12 23:48:50 +00:00
Leo Singer
56353e24d2
audiofx: Use most common convention for definitions of IIR filter coefficients.
...
Most signal processing texts, including MATLAB, use the following convention for IIR filter coefficients:
a_0 y[n] + a_1 y[n-1] + ... + a_M y[n-M] = b_0 x[n] + b_1 x[n-1] + ... + b[N] x[n-N]
Usually, a_0 is set to 1 because the coefficients can always be rescaled, giving
y[n] = b_0 x[n] + b_1 x[n-1] + ... + b[N] x[n-N] - a_1 y[n-1] - ... - a_M y[n-M]
The convention that was previously used by audiofxbaseiirfilter and derived class had the a and b coefficients swapped, and did not have the minus signs.
This change makes the audiofx plugin use the more common convention described above.
2012-01-11 15:24:00 +01:00
Tim-Philipp Müller
834e58be9e
tests: fix wavenc test on big endian
...
wavenc only accepts little-endian PCM, but most of our
elements such as audiotestsrc only produce or process
audio in native endianness, so we need to plug a
converter before wavenc on big endian systems.
2012-01-11 01:47:38 +00:00
Sebastian Dröge
93e3ed5a86
Merge branch 'master' into 0.11
...
Conflicts:
ext/cairo/gsttextoverlay.c
ext/pulse/pulseaudiosink.c
gst/audioparsers/gstaacparse.c
gst/avi/gstavimux.c
gst/flv/gstflvmux.c
gst/interleave/interleave.c
gst/isomp4/gstqtmux.c
gst/matroska/matroska-demux.c
gst/matroska/matroska-mux.c
gst/matroska/matroska-mux.h
gst/matroska/matroska-read-common.c
gst/multifile/gstmultifilesink.c
gst/multipart/multipartmux.c
gst/shapewipe/gstshapewipe.c
gst/smpte/gstsmpte.c
gst/udp/gstmultiudpsink.c
gst/videobox/gstvideobox.c
gst/videocrop/gstaspectratiocrop.c
gst/videomixer/videomixer.c
gst/videomixer/videomixer2.c
gst/wavparse/gstwavparse.c
po/ja.po
po/lv.po
po/sr.po
tests/check/Makefile.am
tests/check/elements/qtmux.c
tests/check/elements/rgvolume.c
2012-01-10 14:32:32 +01:00
Tim-Philipp Müller
12ff707854
tests: fix some leaks and remove files when done in qtmux test
2012-01-04 18:05:41 +00:00
Edward Hervey
63ee1009c2
alphacolor: More fixes/cleanup
2012-01-04 13:26:45 +01:00