Commit graph

76 commits

Author SHA1 Message Date
KimTaeSoo
b01210c554 tagschecking: Use gst_message_parse_warning in case of GST_MESSAGE_WARNING
Bus message handler of tags checking unit test uses gst_message_parse_error()
in case of GST_MESSAGE_ERROR and GST_MESAGE_WARNING.
If gst_message_parse_error() is called in case of GST_MESSAGE_WARNING, assert occurs.
So modified to use gst_message_parse_warning() in case of GST_MESSAGE_WARNING.
2018-12-19 15:57:32 +00:00
Tim-Philipp Müller
9cc395a589 tests: add basic unit test for twolame as well 2017-08-26 10:10:19 +01:00
Tim-Philipp Müller
60b6128d0c tests: lame: fix build 2017-08-26 09:59:22 +01:00
Tim-Philipp Müller
53ec444963 Moving lame mp3 encoder plugin from -ugly
https://bugzilla.gnome.org/show_bug.cgi?id=774252
2017-08-25 21:13:58 +01:00
Tim-Philipp Müller
32591f5649 tests: tagschecking: remove gst-check-xmp-* temp files when done
Also fix temp file creation a bit.
2017-08-20 17:25:25 +01:00
Arun Raghavan
153b716490 tests: Fix tagschecking failure due to missing PTS
qtmux now needs the PTS (commit a993883b7), so let's make sure we
produce one with our buffers.

https://bugzilla.gnome.org/show_bug.cgi?id=772228
2016-09-30 13:25:10 +05:30
Guillaume Desmottes
94232da665 tests: fix bus leaks
gst_bus_add_signal_watch() takes a ref on the bus which should be
released using gst_bus_remove_signal_watch().

https://bugzilla.gnome.org/show_bug.cgi?id=768739
2016-07-18 10:53:19 +01:00
Sebastian Dröge
6cb4208710 simple-launch-lines: Use correct JPEG2000 caps 2016-06-11 12:16:23 +03:00
Tim-Philipp Müller
eaf329d39b tests: add unit test for JPEG-2000 rtp payloader leak
https://bugzilla.gnome.org/show_bug.cgi?id=766870
2016-05-27 12:58:37 +01:00
Antonio Ospite
be5f94734a tests: fix a thinko in the wavenc example
The code is supposed to follow somehow what the comment above says, that
is to have one channel with a wave of freq 440 and the other channel
with a wave of freq 880, but an off by one error results in frequencies
of 0 and 440.

https://bugzilla.gnome.org/show_bug.cgi?id=735673
2016-01-12 22:20:33 +00:00
Edward Hervey
ebfa19b0d1 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:31:10 +02:00
Edward Hervey
d524439b35 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:27:24 +02:00
Tim-Philipp Müller
2e412a447a docs: update example pipelines in element docs
Mostly gst-launch -> gst-launch-1.0
Use autovideosink/autoaudiosink more often.
Sprinkle some converters here and there.
2015-05-10 11:05:00 +01:00
Tim-Philipp Müller
f1972b667e tests: simple-launch-lines: only run jpeg/png tests if elements are available 2014-12-30 16:37:00 +00: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
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
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
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
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
c074bfd0b9 gst_tag_list_free -> gst_tag_list_unref 2012-08-04 16:10:16 +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
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
Mark Nauwelaerts
81c4f56e1b tests: wavpack: fewer buffers are also adequate and more convenient 2012-03-29 17:22:23 +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
Mark Nauwelaerts
e637cfb212 tests: port wavpack tests to 0.11 2012-03-05 13:44:21 +01:00
Wim Taymans
f7faea3915 tests: fix test, use videoconvert 2012-02-14 11:22:46 +01:00
Wim Taymans
56eb65babc tests: fix some more tests 2012-02-03 16:14:08 +01:00
Wim Taymans
a6370cdb50 tests: fix more tests 2012-01-31 15:39:09 +01: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
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
Wim Taymans
386ccc52e7 tests: rewrite test a little
Rewrite the tag check so that we don't need to deal with tag lists.
2012-01-03 14:42:28 +01:00
Wim Taymans
8e39d52bbb tests: make more tests compile 2012-01-03 14:16:28 +01:00
Tim-Philipp Müller
713f4bc700 lame: remove lame element, it's been superseded by lamemp3enc 2011-10-30 13:47:26 +00:00
Sebastian Dröge
68da32e735 wavpack: Remove bus GSource to prevent a valgrind warning 2011-04-18 11:29:15 +02:00
Sebastian Dröge
84c3b06353 wavenc: Remove bus GSource to prevent a valgrind warning 2011-04-18 11:14:32 +02:00
Sebastian Dröge
39bb942bb0 tagschecking: Remove bus GSource to prevent a valgrind warning 2011-04-18 11:11:53 +02:00
Robert Swain
4893678fd1 tests: Address unused but set variables
GCC 4.6.x spits warnings about such usage of variables.
2011-04-16 13:10:58 +01:00
Tim-Philipp Müller
9648747ce9 tests: ignore new qtmux-related test binaries 2011-04-13 12:45:27 +01:00
Sebastian Dröge
7a59a7100b tagschecking: Fix some more memory leaks 2011-04-12 20:32:20 +01:00
Tim-Philipp Müller
0406a69815 tests: don't fail tagschecking test if qtdemux is not available or too old 2011-04-12 20:32:17 +01:00
Thiago Santos
875ac6da5c tests: tagschecking: New tags tests
Adds new tags checking tests.
2011-04-12 20:32:17 +01:00
Benjamin Otte
62be91708f Add -Wmissing-declarations -Wmissing-prototypes to configure flags
And fix all warnings
2011-04-12 20:32:17 +01:00
Thiago Santos
75fec35743 tests: tagschecking: Improvements and new geo-location tests
Makes some improvements to tagschecking.c, making it use
fakesrc instead of videotestsrc and allowing to set input
caps so that more muxers can be used. Previously we could
only use those that accepted raw video caps.

Also adds some tests for geo-location tags
2011-04-12 20:32:17 +01:00
Thiago Santos
96c116147d check: tagschecking: tests for tags serialization in muxers
Adds a check unit test that aims to test tags serialization
and deserialization consistency (in muxers). It provides a
basic function that allows one to easily specify tags, a
muxer and a demuxer and a test will be done to check if
the tags have been consistently muxed and demuxed
2011-04-12 20:32:16 +01:00
Tim-Philipp Müller
f7c99b9f5e tests: add unit test for lamemp3enc negotiation issue
https://bugzilla.gnome.org/show_bug.cgi?id=641151
2011-02-03 18:27:05 +00:00
Sebastian Dröge
4ae9f125f0 wavenc: Fix memory leaks in the unit test 2010-12-19 11:02:41 +01:00
Wim Taymans
a640bb9939 check: don't use deprecated method 2010-12-07 15:39:32 +01:00
Edward Hervey
e75c11eb7d tests: Fix previously unbuildable/untested wavenc test 2010-12-03 15:04:26 +01:00