Commit graph

857 commits

Author SHA1 Message Date
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
Sebastian Rasmussen
aa0b2c7f8a curlfilesink: Remove stray debug prints
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=678060
2012-06-14 15:13:24 +01:00
Tim-Philipp Müller
588ea345b2 legacyresample: remove legacy plugin 2012-06-12 19:14:06 +01:00
Mark Nauwelaerts
244f28c938 tests: mpegtsmux: plug some leaks 2012-06-08 17:20:28 +02:00
Sebastian Dröge
701da03ff9 elements: Use gst_pad_set_caps() instead of manual event fiddling 2012-06-08 15:58:36 +02:00
Mark Nauwelaerts
f399237c52 tests: mpegtsmux: adjust to modified buffer collect behaviour 2012-06-08 12:12:06 +02:00
Mark Nauwelaerts
799bdf823e tests: mpegvideoparser: adjust to modified API 2012-06-08 11:30:10 +02:00
Tim-Philipp Müller
f4848be30e tests: don't use GstStructure API on tag lists 2012-05-27 00:00:20 +01:00
Mark Nauwelaerts
c0c8aaed21 tests: mpegvideoparse: fix unit test regression
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=676097

Conflicts:

	tests/check/elements/mpegvideoparse.c
2012-05-21 15:29:37 +02:00
Tim-Philipp Müller
62fb03d368 check: make git ignore new unit test binaries 2012-05-12 12:08:42 +01:00
Sebastian Rasmussen
3f20bbdcf4 curl: new curlsmtpsink element
https://bugzilla.gnome.org/show_bug.cgi?id=653741
2012-05-12 11:59:01 +01:00
Patricia Muscalu
766dd8bb71 curl: new curlftpsink element
http://bugzilla.gnome.org/show_bug.cgi?id=653741
2012-05-12 11:53:25 +01:00
Patricia Muscalu
f139656bec curl: new curlfilesink element
https://bugzilla.gnome.org/show_bug.cgi?id=653741
2012-05-12 11:53:01 +01:00
Patricia Muscalu
ae39cbfa57 curl: refactor curlsink, rename to curlhttpsink
Split into base, tls and http classes.

https://bugzilla.gnome.org/show_bug.cgi?id=653741
2012-05-12 11:48:03 +01:00
Tim-Philipp Müller
3c6bd7753e tests: update camerabin(2) unit test for rename 2012-04-30 18:05:09 +01:00
Tim-Philipp Müller
7d65470c4a Remove old camerabin 2012-04-30 17:44:34 +01:00
Alessandro Decina
34cf1a1bbc mpegtsmux: don't leak force key unit events 2012-04-16 08:53:06 +02:00
Sebastian Dröge
c88cd9cefc Update for the removal of the interfaces library and the tuner/mixer interfaces 2012-04-13 13:15:39 +02:00
Mark Nauwelaerts
7c68885930 tests: remove obsolete multifdsink test
... which is in -base nowadays.
2012-04-11 21:47:52 +02:00
Mark Nauwelaerts
459a85f929 tests: remove obsolete x264enc unit test
... which is in -ugly nowadays.
2012-04-10 17:35:54 +02:00
Mark Nauwelaerts
a1dc042bd8 tests: port some more to 1.0 2012-04-10 17:29:12 +02:00
Sebastian Dröge
1318a97e0a gst: Update versioning 2012-04-04 14:44:34 +02:00
Sebastian Dröge
860ccd414d Merge remote-tracking branch 'origin/0.10'
Conflicts:
	NEWS
	RELEASE
	common
	configure.ac
	docs/libs/gst-plugins-bad-libs-sections.txt
	docs/plugins/gst-plugins-bad-plugins.args
	docs/plugins/gst-plugins-bad-plugins.hierarchy
	docs/plugins/gst-plugins-bad-plugins.interfaces
	docs/plugins/inspect/plugin-adpcmdec.xml
	docs/plugins/inspect/plugin-adpcmenc.xml
	docs/plugins/inspect/plugin-assrender.xml
	docs/plugins/inspect/plugin-audiovisualizers.xml
	docs/plugins/inspect/plugin-autoconvert.xml
	docs/plugins/inspect/plugin-bayer.xml
	docs/plugins/inspect/plugin-bz2.xml
	docs/plugins/inspect/plugin-camerabin2.xml
	docs/plugins/inspect/plugin-celt.xml
	docs/plugins/inspect/plugin-dataurisrc.xml
	docs/plugins/inspect/plugin-debugutilsbad.xml
	docs/plugins/inspect/plugin-dtmf.xml
	docs/plugins/inspect/plugin-dtsdec.xml
	docs/plugins/inspect/plugin-dvbsuboverlay.xml
	docs/plugins/inspect/plugin-dvdspu.xml
	docs/plugins/inspect/plugin-faac.xml
	docs/plugins/inspect/plugin-faad.xml
	docs/plugins/inspect/plugin-gsm.xml
	docs/plugins/inspect/plugin-h264parse.xml
	docs/plugins/inspect/plugin-mms.xml
	docs/plugins/inspect/plugin-modplug.xml
	docs/plugins/inspect/plugin-mpeg2enc.xml
	docs/plugins/inspect/plugin-mpegdemux2.xml
	docs/plugins/inspect/plugin-mpegtsdemux.xml
	docs/plugins/inspect/plugin-mpegvideoparse.xml
	docs/plugins/inspect/plugin-mplex.xml
	docs/plugins/inspect/plugin-pcapparse.xml
	docs/plugins/inspect/plugin-rawparse.xml
	docs/plugins/inspect/plugin-rtpmux.xml
	docs/plugins/inspect/plugin-rtpvp8.xml
	docs/plugins/inspect/plugin-scaletempo.xml
	docs/plugins/inspect/plugin-schro.xml
	docs/plugins/inspect/plugin-sdp.xml
	docs/plugins/inspect/plugin-segmentclip.xml
	docs/plugins/inspect/plugin-shm.xml
	docs/plugins/inspect/plugin-videomaxrate.xml
	docs/plugins/inspect/plugin-videoparsersbad.xml
	docs/plugins/inspect/plugin-vp8.xml
	docs/plugins/inspect/plugin-y4mdec.xml
	ext/celt/gstceltdec.c
	ext/dts/gstdtsdec.c
	ext/modplug/gstmodplug.cc
	ext/opus/gstopusenc.c
	gst-libs/gst/video/gstbasevideocodec.c
	gst-libs/gst/video/gstbasevideocodec.h
	gst-libs/gst/video/gstbasevideodecoder.c
	gst-libs/gst/video/gstbasevideodecoder.h
	gst-libs/gst/video/gstbasevideoencoder.c
	gst-libs/gst/video/gstbasevideoencoder.h
	gst/adpcmdec/Makefile.am
	gst/audiovisualizers/gstbaseaudiovisualizer.c
	gst/h264parse/gsth264parse.c
	gst/mpegdemux/mpegtsparse.c
	gst/mpegtsdemux/mpegtsbase.c
	gst/mpegtsdemux/mpegtspacketizer.c
	gst/mpegtsdemux/mpegtsparse.c
	gst/mpegtsdemux/tsdemux.c
	gst/mpegtsdemux/tsdemux.h
	gst/mxf/mxfdemux.c
	gst/rawparse/gstaudioparse.c
	gst/videoparsers/gsth263parse.c
	gst/videoparsers/gsth264parse.c
	sys/d3dvideosink/d3dvideosink.c
	sys/decklink/gstdecklinksink.cpp
	sys/dvb/gstdvbsrc.c
	sys/shm/gstshmsrc.c
	sys/vdpau/h264/gstvdph264dec.c
	sys/vdpau/mpeg/gstvdpmpegdec.c
	tests/examples/opencv/gst_element_print_properties.c
	win32/common/config.h
2012-03-29 17:41:53 +02:00
Wim Taymans
a9ec4d62a8 update for buffer changes 2012-03-28 12:53:09 +02:00
Wim Taymans
351f13bd42 tests: update for memory api changes 2012-03-21 13:23:42 +01:00
Wim Taymans
6cbb840385 update for memory api changes 2012-03-15 13:37:36 +01:00
Tim-Philipp Müller
25cc93139d .gitignore: ignore more test binaries and stamp files 2012-03-15 00:13:40 +00:00
Wim Taymans
c3c985cfe1 fix for caps _normalize changes 2012-03-12 12:23:34 +01:00
Wim Taymans
12cba7c984 tests: fix for caps API change 2012-03-12 11:40:20 +01:00
Wim Taymans
4de592aa14 fix for _do_simplify changes 2012-03-12 10:44:22 +01:00
Wim Taymans
77299ba6ae fix for caps api changes 2012-03-11 19:06:59 +01:00
Wim Taymans
857a9564f1 tests: fix more caps 2012-03-08 11:32:27 +01:00
Wim Taymans
8743905721 dataurisrc: fix docs and unit test 2012-02-24 12:53:52 +01:00
Wim Taymans
108ef70382 tests: fix some caps 2012-02-24 10:21:31 +01:00
Wim Taymans
5e132060c2 test: port schroenc unit test 2012-02-22 15:41:42 +01:00
Mark Nauwelaerts
cf942f4e1f tests: h264parse: _unmap buffer upon exit 2012-02-13 18:42:53 +01:00
Wim Taymans
3de090c1f0 tests: fix more unit tests 2012-02-07 17:00:26 +01:00
Wim Taymans
492a9a72fb tests: fix more tests 2012-02-07 12:14:05 +01:00
Wim Taymans
9fb2e9d6be tests: fix some tests 2012-02-07 12:02:49 +01:00
Mark Nauwelaerts
12ee41829c port some more to new memory API
Fixes #668677.
2012-01-25 18:50:40 +01:00
Olivier Crête
7aead77649 autoconvert: port to 0.11 2012-01-25 18:04:55 +01:00
Olivier Crête
e5ff5ee2db rtpmux: port to 0.11 2012-01-25 11:54:53 +01:00
Sebastian Dröge
90c075b1f6 multifdsink: Move multifdsink from gst-plugins-base to gst-plugins-bad 2012-01-16 11:29:27 +01:00
Tim-Philipp Müller
699677ed8a Merge remote-tracking branch 'origin/master' into 0.11 2012-01-13 00:11:54 +00:00
Vincent Penquerc'h
750cc41994 tests: fix buffer leaks in opus tests 2012-01-11 13:32:36 +00:00
Sebastian Dröge
a01a4ea2d3 Merge branch 'master' into 0.11
Conflicts:
	gst/mpegtsdemux/tsdemux.c
	gst/videoparsers/gsth264parse.c
	tests/check/elements/camerabin2.c
2012-01-10 15:50:37 +01:00
Tim-Philipp Müller
3c69286db9 tests: remove temporary files when done in camerabin, camerabin2 and jifmux tests 2012-01-04 19:14:14 +00:00
Wim Taymans
a58ecc50e0 tests: port some more unit tests 2012-01-04 11:28:36 +01:00
Edward Hervey
f70a623418 Merge remote-tracking branch 'origin/master' into 0.11-premerge
Conflicts:
	docs/libs/Makefile.am
	ext/kate/gstkatetiger.c
	ext/opus/gstopusdec.c
	ext/xvid/gstxvidenc.c
	gst-libs/gst/basecamerabinsrc/Makefile.am
	gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.c
	gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.h
	gst-libs/gst/video/gstbasevideocodec.c
	gst-libs/gst/video/gstbasevideocodec.h
	gst-libs/gst/video/gstbasevideodecoder.c
	gst-libs/gst/video/gstbasevideoencoder.c
	gst/asfmux/gstasfmux.c
	gst/audiovisualizers/gstwavescope.c
	gst/camerabin2/gstcamerabin2.c
	gst/debugutils/gstcompare.c
	gst/frei0r/gstfrei0rmixer.c
	gst/mpegpsmux/mpegpsmux.c
	gst/mpegtsmux/mpegtsmux.c
	gst/mxf/mxfmux.c
	gst/videomeasure/gstvideomeasure_ssim.c
	gst/videoparsers/gsth264parse.c
	gst/videoparsers/gstmpeg4videoparse.c
2011-12-30 11:41:17 +01:00
Thiago Santos
d465188879 tests: remove comment for already fixed issues on makefile
Some issues on camerabin2 and jifmux tests were fixed some
time ago, remove the comments about them
2011-12-28 16:59:15 -03:00
Thiago Santos
2df5760a79 tests: camerabin2: Fix message leak in tests 2011-12-28 16:57:25 -03:00
Thiago Santos
d64e833a07 tests: camerabin2: fix mainloop leaks 2011-12-27 16:40:38 -03:00
Thiago Santos
d5aaefa59f tests: camerabin2: porting to 0.11 2011-12-24 14:32:32 -03:00
Thiago Santos
24407f0aa6 tests: camerabin2: enable tests
Tests are passing now, enable them
2011-12-20 15:05:23 -03:00
Thiago Santos
05a710b3ad tests: jifmux: re-enable jifmux's tests
Fix for its test is now available on -base module.

Enabling again.
2011-12-15 11:24:52 -03:00
Thiago Santos
9d33df291f tests: mpegtsmux: remove unused variable 2011-12-14 08:54:32 -03:00
Tim-Philipp Müller
d34187594c tests: disable failing jifmux, camerabin2, and colorspace tests
jifmux: general:test_jifmux_tags:0: Assertion 'entry->components == 2' failed
camerabin2: test_multiple_video_recordings:0: gst_caps_get_structure: assertion `GST_IS_CAPS (caps)
colorspace: bad memory accesses in orc code for odd width buffers (see bug #663248)
2011-12-11 15:29:31 +00:00
Tim-Philipp Müller
f760b3318a tests: fix g_usleep() in camerabin2 test
g_usleep() takes a microsecond value, GST_SECOND is nanoseconds, so
we were sleeping for more than 3 minutes here instead of 200ms.
2011-12-11 15:03:17 +00:00
Edward Hervey
d8367300ae tests: Add more files to .gitignore 2011-12-05 19:04:17 +01:00
Alessandro Decina
777c1f034f mpegtsmux: add support for force key unit events
Handle force key unit events outputting PAT and PMT when all_headers=TRUE
2011-11-30 08:56:48 +01:00
Vincent Penquerc'h
7521b597f4 various: fix pad template ref leaks
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:08:27 +00:00
Tim-Philipp Müller
77361e2919 Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
	ext/opus/gstopusdec.c
	ext/opus/gstopusparse.c
	gst-libs/gst/video/gstbasevideodecoder.c
	gst-libs/gst/video/gstbasevideodecoder.h
2011-11-26 15:37:25 +00:00
Mark Nauwelaerts
d3fda8a644 tests: add unit test for voamrwbenc 2011-11-25 15:52:57 +01:00
René Stadler
c41b5d016c tests: fix caps usage in parser test helper
Fixes previous commit; users can call this with NULL caps.
2011-11-24 21:52:55 +01:00
René Stadler
30b40510ab tests: update for gstcheck API change 2011-11-24 21:42:39 +01:00
Wim Taymans
0a9387c43c Merge branch 'master' into 0.11
Conflicts:
	ext/opus/gstopusdec.c
	ext/opus/gstopusenc.c
	ext/opus/gstopusparse.c
	gst/audiovisualizers/gstwavescope.c
	gst/filter/Makefile.am
	gst/filter/gstfilter.c
	gst/filter/gstiir.c
	gst/playondemand/gstplayondemand.c
2011-11-23 11:08:39 +01:00
Vincent Penquerc'h
ff7375f2e6 opus: add test 2011-11-22 19:08:39 +00:00
Wim Taymans
bc6ed0bf97 Merge branch 'master' into 0.11
Conflicts:
	ext/celt/gstceltdec.c
	ext/opus/gstopusdec.c
	ext/opus/gstopusdec.h
	ext/opus/gstopusenc.c
	ext/opus/gstopusenc.h
	ext/opus/gstopusparse.c
2011-11-17 17:32:42 +01:00
Thiago Santos
316091d452 camerabin2: Fix some racyness in tests
Fix some racyness as the test was checking the idle property
right after it got the preview message for video recordings. In some
conditions, it might happen that camerabin2 still hasn't decremented
the processing counter after posting the preview and/or the image/video-done
message and the test will get idle=false and fail.

The approach for checking for the idle property was a busy loop with
a sleep. Far from elegant, but good enough for these tests.
2011-11-14 18:39:42 -03:00
Wim Taymans
dbdaa23742 Merge branch 'master' into 0.11
Conflicts:
	gst/colorspace/colorspace.c
2011-11-09 12:19:04 +01:00
Thiago Santos
09d53c8fed camerabin2: update tests to set post-previews to true
Makes most of camerabin2 tests pass again
2011-11-08 07:33:59 -03:00
Vincent Penquerc'h
758df04f0e tests: mark test input data const
https://bugzilla.gnome.org/show_bug.cgi?id=663235
2011-11-07 11:12:44 +00:00
Vincent Penquerc'h
20bbba3c84 tests: allow building with older versions of glib (g_list_free_full)
https://bugzilla.gnome.org/show_bug.cgi?id=663234
2011-11-07 11:12:44 +00:00
Wim Taymans
eaad7e58b0 more template fixes 2011-11-04 12:31:19 +01:00
Wim Taymans
f4c283a9cc Merge branch 'master' into 0.11 2011-11-04 11:01:42 +01:00
Vincent Penquerc'h
0a170110ea tests: make const data const
https://bugzilla.gnome.org/show_bug.cgi?id=662776
2011-11-03 09:46:08 +01:00
Wim Taymans
769a9791a4 Merge branch 'master' into 0.11 2011-11-02 10:31:24 +01:00
René Stadler
e922dee30b tests: h264parse: fix exit code 2011-11-01 12:12:56 +01:00
Wim Taymans
effab293cb Merge branch 'master' into 0.11 2011-10-18 14:32:05 +02:00
Gwenole Beauchesne
ef5b8ef581 codecparsers: vc1: Implement bitplanes handling properly
Add a new GstVC1BitPlanes API.
2011-10-17 13:17:39 +02:00
Thibault Saunier
fc09e45108 codecparsers: VC1: Implement Sequence Layer Data Structures
Instead of having a single VC1SequenceHeader structure, use the 3 structs
from the "Table 265: Sequence Layer Data Structure" of the specification
for the library to be more flexible.

Implement the functions to parse them
2011-10-17 13:17:38 +02:00
Thibault Saunier
2b5e7c1f0f codecparsers: VC1: compute MB height and width
Add them to GstVC1SequenceHdr
2011-10-17 13:17:38 +02:00
Thibault Saunier
8ca7640663 codecparsers: VC1: Fix after GstVC1ParserResult renaming 2011-10-17 13:17:38 +02:00
Wim Taymans
be20e84e39 tests: fix some tests 2011-10-04 14:27:08 +02:00
Thiago Santos
009c440f44 tests: camerabin2: Refactor tests a little
Refactor camerabin2 tests a little
2011-09-29 18:21:06 -03:00
Thiago Santos
f6c0e2cd26 tests: camerabin2: adding tests to check for preview message filenames
Preview messages now have filenames, add tests to check that they are
correct
2011-09-29 18:21:06 -03:00
Thibault Saunier
705a80d957 codecparser: VC1: Implement a VC1 parsing library 2011-09-26 08:46:37 -03:00
Thibault Saunier
2c928aba19 codecparsers: Declare the new APIs as unstable for the time being 2011-09-26 08:11:45 -03:00
Thibault Saunier
edebb4ed92 codecparsers: h264: Implement the nal_parser_free function 2011-09-09 15:02:35 -03:00
Thibault Saunier
949ba4e895 codecparsers: h264: Use g_slice instead of g_malloc in nal_parser_new 2011-09-09 15:02:34 -03:00
Thibault Saunier
a1cfba43f6 codecparsers: h264: Add an h.264 bitstream parsing library 2011-09-02 15:46:02 +02:00
Thibault Saunier
a983b29a49 mpegvideoparse: Port to the new mpeg parsing library 2011-09-02 15:46:02 +02:00
Thibault Saunier
c64b99339c codecparsers: mpeg: Add an mpeg video bitstream parsing library
Create a new codecparsers library
2011-09-02 15:46:02 +02:00
Vincent Penquerc'h
60442079f3 tests: make camerabin2 test build
https://bugzilla.gnome.org/show_bug.cgi?id=657363
2011-08-25 16:46:58 -03:00
Thiago Santos
011eddcd0e camerabin2: Remove from experimental
Remove camerabin2 from experimental, allowing it to be built
without needing to pass --enable-experimental on configure.
2011-08-23 19:26:31 -03:00
Thiago Santos
6b26aa270f tests: camerabin2: Use audiotestsrc on tests
Use audiotestsrc on tests instead of using the system's default
audiosrc, avoiding any problems that a local audio setup might
have.
2011-08-21 18:23:16 -03:00
Thiago Santos
63d79a3aea tests: camerabin2: Improving tests
Adding some additional checks for custom camerabin2 messages

Also improves reliability of the tests by waiting for the preview-buffer message.
This message is generated from the preview pipeline, and might arrive later than the
image/video-done from the main camerabin2 pipeline, the tests need to wait for it even
after getting the image/video-done.
2011-08-21 18:23:16 -03:00
Thiago Santos
84ee1c4d58 tests: camerabin2: Add test for audio-filter property
Checks that the audio-filter is properly plugged in the pipeline
and receives buffers when recording a video.
2011-08-13 15:55:35 -03:00
Tim-Philipp Müller
b6723d092c tests: fix compiler warning in faad unit test 2011-07-29 21:27:28 +01:00
Raluca Elena Podiuc
736aebc37e tests: camerabin2: fix name of 'image-done' bus message
Use the correct bus message for camerabin2 image done and removes
check that is no longer needed for these tests.
2011-07-15 10:01:33 -03:00
Tim-Philipp Müller
04f0b55609 tests: add some more unit test binaries to .gitignore 2011-07-14 14:37:14 +01:00
Thiago Santos
f1fa6c6531 camerabin2: Use a single location for both modes
Implement the location property just like it works in camerabin, the
same location is used for both images and videos
2011-06-23 00:05:13 -03:00
Thiago Santos
18f6859037 tests: camerabin2: Adds new test to check image location correctness
This new test checks that images are saved with the filename setting
on location on the moment of the start-capture
2011-06-23 00:05:13 -03:00
Mark Nauwelaerts
af1fca6d7d tests: add colorspace unit test
Compares colorspace result with ffmpegcolorspace output using SSIM.
Also probes for possible crashes for odd width and height image by applying
all possible colorspace transformations.
2011-06-17 12:26:15 +02:00
Stefan Kost
b6844bc730 tests: add a test for baseaudiovisualizer 2011-06-06 15:25:14 +03:00
Thiago Santos
65d74fa2bf tests: camerabin2: remove unused var 2011-06-02 16:24:03 -03:00
Thiago Santos
cff308eba2 camerabin2: Use full names in properties
Improve API by using source instead of src in properties
2011-06-02 16:24:03 -03:00
Sebastian Dröge
9fae436b68 faac: Fix unit test after latest faac changes 2011-05-31 13:09:57 +02:00
Stefan Kost
d8eb9f127f tests: blacklist more sys elements from the state tests
Also wrap the list of blacklisted elements and trim some whitespace.
2011-05-25 23:28:46 +03:00
Mark Nauwelaerts
7751dbb8e1 tests: add unit tests for a number of video parsers 2011-05-25 21:51:56 +02:00
Mark Nauwelaerts
ca1887d3ec tests: additional offset tracking in parser test helper 2011-05-25 21:51:55 +02:00
Mark Nauwelaerts
91dd0a4f91 tests: additional parameterization for parser test helper
Allow context callbacks to perform custom buffer verification
and custom element setup.  Also move some static tracking variables
into helper struct and expose the latter struct for use by unit test
(callbacks).
2011-05-25 21:51:55 +02:00
Víctor Manuel Jáquez Leal
288e001e1f jpegparse: unit test for APP1/exif & comment parsing
https://bugzilla.gnome.org/show_bug.cgi?id=648478
2011-05-25 22:18:10 +03:00
Lasse Laukkanen
466ca5d460 camerabin: Add image-formatter property
Add image-formatter property in order to let application configure
the formatter element for metadata.
2011-05-23 12:08:37 -03:00
Thiago Santos
5dadb325ae camerabin2: Remove obsolete imagecapturebin
imagecapturebin has been replaced by encodebin, no need
for it anymore
2011-05-16 18:08:41 -03:00
Alessandro Decina
9e9507b645 camerabin2: use encodebin to encode images 2011-05-16 18:08:40 -03:00
Thiago Santos
ba9c1f055f tests: camerabin2: Fix set but unused variable warnings 2011-05-16 18:08:39 -03:00
Thiago Santos
0556d121c4 tests: camerabin2: Fix tags setting tests
Fixes the tags setting tests to reveal a bug in camerabin2
tag setting logic.
2011-05-16 18:08:39 -03:00
benjamin gaignard
31d408e22e faac: Detect output format from downstream caps change unit test 2011-05-14 12:08:28 +02:00
Sebastian Dröge
31a65287a2 voaaenc: Fix CFLAGS/LIBS of the unit test 2011-05-14 12:08:28 +02:00
benjamin gaignard
988516ca63 voaacenc: Add new plugin for audio AAC encoder based on vo-aacenc lib
Add plugin and unit test.

Fixes bug #647748.
2011-05-14 12:08:27 +02:00
Sebastian Dröge
39ae129aa6 wavpack: Remove bus GSource to prevent a valgrind warning 2011-04-18 12:01:07 +02:00
Sebastian Dröge
c8ae803df9 ofa: Remove bus GSource to prevent a valgrind warning 2011-04-18 11:57:15 +02:00
Sebastian Dröge
93454118c6 assrender: Remove bus GSource to prevent a valgrind warning 2011-04-18 11:50:34 +02:00
Thiago Santos
cee2bc7aa0 test: camerabin: More leak fixes 2011-04-15 07:53:43 -03:00
Thiago Santos
3f7ab0b319 tests: camerabin2: Leak fixes for the unit tests
Leak fixes related to not removing the source returned from
gst_bus_add_watch
2011-04-14 14:33:00 -03:00
Thiago Santos
8a9a0cd37e tests: camerabin: Some leak fixes
Leak fixes related to removing the source returned from
gst_bus_add_watch
2011-04-14 14:33:00 -03:00
Thiago Santos
bfc4f70f02 tests: jifmux: Adds test for new exposure compensation tag
Adds a test for GST_TAG_CAPTURING_EXPOSURE_COMPENSATION on
jifmux check tests.
2011-04-14 00:04:48 -03:00
Tim-Philipp Müller
6b4e797513 qtmux: remove qtmux plugin, it has moved to -good
https://bugzilla.gnome.org/show_bug.cgi?id=636699
2011-04-13 18:24:37 +01:00
Stefan Kost
3a4a0c492e jpeg: set tags to NULL at init time and after freeing them 2011-04-11 18:30:17 +03:00
Stefan Kost
b67454b44e jpeg: comment and logging changes 2011-04-11 18:29:28 +03:00
Tim-Philipp Müller
9bfac61f97 Remove audioparsers plugin, it has been moved to -good 2011-04-08 19:34:55 +01:00
David Schleef
9ed93db1d0 logoinsert: Fix memleaks, add test 2011-03-23 21:33:48 -07:00
Thiago Santos
aa7b962891 camerabin2: Improve idle property usage
Use resource warning messages to notify camerabin2 that a capture
as aborted or couldn't be started, making it decrement the
processing counter and making the idle property more reliable.
2011-03-23 16:13:32 -03:00
Thiago Santos
19429aa797 tests: camerabin2: Adds another 'idle' test
Adds another test that checks that the idle property works
correctly when bogus start-capture calls are made.

This fails currently, but should remind us of fixing it in
the future by defining a proper error reporting from camera
sources to camerabin2
2011-03-23 16:13:32 -03:00
Thiago Santos
ccd3fd8da5 tests: camerabin2: Sprinkle some 'idle' property checks
Adds some checks for 'idle' property in camerabin2 tests
2011-03-23 16:13:32 -03:00
Thiago Santos
8318174cfc tests: camerabin2: Adds tests for new image capture properties
Adds tests to check that changing encoder/muxer for image capture
works
2011-03-23 16:13:32 -03:00
Thiago Santos
1fe76c94f1 tests: camerabin2: Fix number of iteration of tests
There are 3 taglist tests, not 2
2011-03-11 18:26:43 -03:00
Thiago Santos
bbfd1c73dd camerabin2: tests: Update tests to check for audio streams
Add a check that resulting recorded video files have audio streams.
2011-03-10 08:56:48 -03:00
Thiago Santos
6526548962 jifmux: tests: Increase bus waiting timeout
Double bus waiting timeout as sometimes the test would fail
because it would timeout and get no messages from the bus.
2011-02-24 09:29:51 -03:00
David Schleef
0b95d97e63 tests: fix baseparse test 2011-02-17 14:43:38 -08:00
Thiago Santos
bb0cdda487 tests: camerabin2: Improve preview checking 2011-02-03 19:09:20 -03:00
Thiago Santos
4a7dc81782 tests: camerabin2: preview filter tests
Adds tests to the preview-filter property of camerabin2
2011-02-03 19:09:20 -03:00
Thiago Santos
b2a45f6f21 tests: camerabin2: Add tests for custom filters
Adds tests to check that custom filters elements receive buffers
2011-02-03 19:09:20 -03:00
Thiago Santos
86ae3777fd tests: camerabin2: Use the correct for limit
There are 3 taglists to be tested, not 2
2011-01-26 14:31:13 -03:00
Thiago Santos
a715b46c7f camerabin2: Implement tagsetter interface 2011-01-24 14:50:30 -03:00
Thiago Santos
a90f8210bb tests: camerabin2: Add preview image to tests
Adds tests for checking that preview images are posted with
the correct caps on tests
2011-01-24 14:50:29 -03:00
Thiago Santos
e5f267f682 camerabin2: Removing videorecordingbin
Removing videorecordingbin as we now use encodebin for it
2011-01-24 14:50:29 -03:00
Thiago Santos
44e500cf7d camerabin2: tests: Use mainloops
Use mainloops instead of sleeps to read bus messages and catch
errors.
2011-01-24 14:50:28 -03:00
Thiago Santos
162383e6b2 tests: camerabin2: imagecapturebin2: fix warnings
Warnings passed me by on the last commits to camerabin2 tests,
fixing them.
2011-01-24 11:55:41 -03:00
Thiago Santos
7944a27ee3 tests: camerabin2: Only run a test if -good 0.10.27 is present
A camerabin2 tests depends on the commit
dcbba0932d for jpegenc on -good
that was released on 0.10.27.

This patch makes it check for this version before running the
test.
2011-01-24 11:07:28 -03:00
Thiago Santos
5dbee0c39c tests: imagecapturebin: Only run a test if -good is 0.10.27 or newer
One test on imagecapturebin requires dcbba0932d
on good that was released on 0.10.27.

https://bugzilla.gnome.org/show_bug.cgi?id=640286
2011-01-24 11:07:28 -03:00
Thiago Santos
f59a1d2868 test: qtmux: Tests qtmux reuse
Forces the use of qtmux after it has been put to PLAYING and back
to NULL once

https://bugzilla.gnome.org/show_bug.cgi?id=639338
2011-01-14 00:38:56 +00:00
Tim-Philipp Müller
ce83c366fe tests: Makefile.am clean-up
Avoid duplicates GST_CHECK_CFLAGS and GST_OPTIONS_CFLAGS are already in
AM_CFLAGS. Add LDADD instead of GST_CHECK_LIBS for consistency.
2011-01-08 00:32:21 +00:00
Tim-Philipp Müller
2ba964df49 tests: make git ignore new schroenc test binary 2011-01-08 00:18:17 +00:00
Tim-Philipp Müller
0f48601a35 tests: fix CFLAGS and LIBADD order in Makefile.am 2011-01-08 00:17:26 +00:00
Tim-Philipp Müller
a044983745 tests: never disable g_assert() and cast checks for the unit tests
The unit tests are riddled with g_assert() and friends, make sure we
don't disable assert and cast checks for the unit tests even if
this has been specified for the rest of the code base, e.g. via
--disable-glib-asserts.
2011-01-08 00:08:11 +00:00
Tim-Philipp Müller
c6c3d9781b selector: move input-selector and output-selector to core
https://bugzilla.gnome.org/show_bug.cgi?id=614306
2010-12-31 01:41:36 +00:00
Tim-Philipp Müller
222be5f0e9 valve: move valve element/plugin to core
https://bugzilla.gnome.org/show_bug.cgi?id=630808
2010-12-31 01:41:18 +00:00
Thiago Santos
bfe1e7f8bc camerabin2: Add tests for video capture
Add a test for capturing multiple videos with different resolutions
in a sequence.
2010-12-29 13:24:06 -03:00
Thiago Santos
6e4efe5ad4 camerabin2: Refactor tests
Refactor tests case so that the same tests can be run for different
camera sources.
2010-12-23 14:13:53 -03:00
Thiago Santos
65c5b65d6d tests: gitignore camerabin2 tests
Adds more camerabin2 elements tests to gitignore
2010-12-23 13:24:56 -03:00
Thiago Santos
7ed49bda4f imagecapturebin: Add another test case
Adds a test case to check if a sequence of buffers with different
caps can be pushed to imagecapturebin and saved correctly
2010-12-23 13:24:56 -03:00
Thiago Santos
72ef18d535 viewfinderbin: Add basic check test
Adds minimum check test. It's not a very useful test, but at least
it allows us to run it under valgrind and check for leaks automatically
2010-12-23 13:24:56 -03:00
Thiago Santos
f10e445995 camerabin2: Small tests update
Increases timeout value so that tests won't fail with full
debug output.

Also removes buffer alloc from videotestsrc as this feature
isn't ready on camerabin2
2010-12-23 13:24:56 -03:00
Thiago Santos
1904c1891f camerabin2: Adds tests for image capture with different caps
Adds a test that tries sucessive captures with different caps
2010-12-23 13:24:55 -03:00
Thiago Santos
99210b0a3a camerabin2: Rename v4l2camerasrc to wrappercamerabinsrc
Use a better name for the element that wraps single pad src element
into a 3pad source required by camerabin2.
2010-12-23 13:24:43 -03:00
Thiago Santos
5ce8d0356d camerabin2: Use videotestsrc on the tests
Use videotestsrc to avoid openning the camera device on the tests.
2010-12-23 13:20:36 -03:00
Thiago Santos
4ee773b7dd camerabin2: Add test for supported caps properties
Adds tests for checking that the supported caps properties work
as expected (using the respective pads get caps function)
2010-12-23 13:20:35 -03:00
Thiago Santos
4938c2e9ea camerabin2: Move basecamerasrc to gst-libs
Move the base camera src class to gst-libs/gst/basecamerabinsrc to
allow it to be included from the tests.
2010-12-23 13:20:31 -03:00
Teemu Katajisto
4a28d5f478 camerabin2: add videorecordingbin::video-muxer property 2010-12-23 13:18:58 -03:00
Teemu Katajisto
c76aeb77e5 camerabin2: add videorecordingbin::video-encoder property 2010-12-23 13:18:58 -03:00
Thiago Santos
014b8f97f8 viewfinderbin: Fixes to video-sink handling
Handle video-sink more carefully, checking if it should
be already added to the bin, and removing old ones when
replacing.
2010-12-23 13:18:57 -03:00
Teemu Katajisto
89142163b1 camerabin2: add imagecapturebin::image-muxer property 2010-12-23 13:18:57 -03:00
Teemu Katajisto
87e0cbff38 camerabin2: add imagecapturebin::image-encoder property 2010-12-23 13:18:57 -03:00
André Dieb Martins
7c47fc497f camerabin2: implement viewfinderbin::video-sink property to override default video output 2010-12-23 13:18:56 -03:00
Sebastian Dröge
3c2d4a4b0a asfmux: Fix buffer leak in the unit test 2010-12-21 17:05:34 +01:00
Thiago Santos
9a2149cf02 camerabin: Fix caps leaks
Fix some caps leaks on unit tests
2010-12-20 11:06:52 -03:00
Thiago Santos
bbf331fb6b jifmux: Fix leaks on check test
Fix leaks in jifmux check test
2010-12-20 09:58:18 -03:00
Olivier Crête
bf00fb84f3 tests: Fix leak in autoconvert test 2010-12-19 17:40:12 +05:30
Sebastian Dröge
7326cb5146 tagschecking: Fix some more memory leaks 2010-12-19 12:12:25 +01:00
Sebastian Dröge
16b1b967ad imagecapturebin: Don't leak message in the unit test 2010-12-19 12:12:12 +01:00
Sebastian Dröge
0df8460419 states: Ignore more vdpau elements in the generic states test 2010-12-19 11:21:27 +01:00
Sebastian Dröge
1ec5ffbfc9 autovideoconvert: Rename and adjust unit test too 2010-12-19 11:21:27 +01:00
Benjamin Gaignard
8b0c2db425 autocolorspace: Add unit test 2010-12-15 21:19:55 +01:00
Thiago Santos
f62e658c10 camerabin2: Only run tests if experimental is enabled
Only run camerabin2 tests and build examples if experimental
plugins are enabled
2010-12-08 15:38:30 -03:00
Thiago Santos
b57405665a camerabin2: Fix tests capture location creation
Fixes capture location creation to use multifilesink location
like strings. E.g. using capture_%d instead of capture_0 to let
camerabin2 handle the %d replacing
2010-12-08 15:38:29 -03:00
Thiago Santos
fb497590c7 camerabin2: Adding tests for camerabin2
Adds some basic tests for camerabin2
2010-12-08 15:38:29 -03:00
Thiago Santos
c7bdfa86af tests: camerabin2: adds tests for elements
Adds basic tests for both imagecapturebin and for
videorecordingbin elements
2010-12-08 15:38:29 -03:00
Thiago Santos
138023614e tests: Remove leftover comment
Remove comment that doesn't make sense anymore
2010-12-02 03:09:59 -03:00
David Schleef
a55a94e72b Add a schroenc test 2010-11-30 18:55:25 -08:00
Stefan Kost
c5b0e7c621 make: remove traces or moved/removed plugins 2010-11-22 17:08:05 +02:00
Mark Nauwelaerts
a0e7d6dab4 tests: qtmux: also unit test fragmented file cases 2010-11-19 19:21:38 +01:00