Commit graph

463 commits

Author SHA1 Message Date
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
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
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
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
Arnaud Vrac
8d837cbac4 assrender: reenable unit tests and up rank to primary again 2013-01-22 00:24: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
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
Mark Nauwelaerts
84cea735e9 tests: mpegtsmux: port to the new GLib thread API 2012-09-12 13:17:08 +02: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
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
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
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
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
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