summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* tests: curlhttpsrc: add unit testsAlex Ashley2019-02-193-0/+698
| | | | | | | | | | | | | | | | | Based upon the souphttpsrc tests, add unit tests for the curlhttpsrc element. The souphttpsrc tests are able to use an HTTP server that is provided as part of the soup library. This does not exist in the curl library, therefore these tests provide a very simple HTTP server using the GIO library. These curlhttpsrc tests contain one new test that does not come from the souphttpsrc tests. The test_multiple_http_requests test tries to reproduce the way in which GstAdaptiveDemux makes use of URI source elements. GstAdaptiveDemux creates a bin with the httpsrc element and a queue element and sets the locked state of that bin to TRUE, so that it does not follow the state transitions of its parent. It then moves this bin to the PLAYING state to start each download and back to READY when the download completes.
* vcdsrc: Remove unusable VCD sourceBastien Nocera2019-02-181-1/+1
| | | | | | | | | | | | | | | | | | The VCD source was ported in 2014 (commit 89eb1e9), but the necessary "cdxaparse" plugin, which is used to "Parse a .dat file (VCD) into raw mpeg1" was never ported. This means that the probable main user for the feature, totem, hasn't actually been able to play back VCDs, since 2012, when it switched to using GStreamer 1.0. Note that even if cdxaparse was finally ported, a lot of work would still be necessary before it is considered usable. Notably, it is missing disc image support [1] and some VCDs just cannot be opened for reading [2]. [1]: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/898 [2]: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/899
* meson: orc-test is not requiredNirbheek Chauhan2019-01-311-3/+2
| | | | This is especially never available on iOS.
* meson: Add support orc fallbackSeungha Yang2019-01-301-2/+7
| | | | | | Allow fallback to orc subproject if any, and add missing orc version check. Additionally 'dependencies' keyword is removed from find_library, because it's invalid keyword for find_library.
* meson: enable tests for orc codeTim-Philipp Müller2019-01-161-0/+25
|
* tests: Enable more tests on WindowsSeungha Yang2018-12-301-6/+6
|
* tests: Remove compositor testSeungha Yang2018-12-301-2115/+0
| | | | It's moved to -base and no more part of -bad
* tests: Remove pointless unistd includeSeungha Yang2018-12-304-5/+0
|
* Remove compositor plugin which was moved to -baseTim-Philipp Müller2018-12-278-175/+3
| | | | https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/138
* ccconverter: Add unit testSebastian Dröge2018-12-194-1/+359
|
* tests: Re-enable isoff test on WindowsSeungha Yang2018-12-181-1/+1
| | | | | ... and drop libxml2 dependency since it never be used by both test and gstisoff.
* tests: Fix build with MSVCSeungha Yang2018-12-181-20/+20
|
* meson: Prefer to use join_paths() over '/'Seungha Yang2018-12-181-1/+1
| | | | ... to avoid mixing '/' and '\' in a path string on Windows.
* tests: Enable unit test on WindowsSeungha Yang2018-12-182-38/+52
| | | | | | | Allow run some unit tests on Windows. * Add dependency explicitly for some test cases, otherwise plugins couldn't be loaded on uninstalled environment of Windows. * Add missing GST_PLUGIN_LOADING_WHITELIST on meson build.
* examples/wayland: Add wayland multi-thread client exampleWonchul Lee2018-12-133-7/+242
| | | | | | This is for testing race condition with multi-thread wayland client environment. The race condition will be resolved with wayland proxy wrapper API when handling event queue.
* tests: mpegvideoparse: add unit test for CEA-708 closed captions extractionTim-Philipp Müller2018-12-114-4/+69
|
* mpegtsmux: Change unit test to not generate zero-sized buffers everSebastian Dröge2018-12-101-1/+1
|
* ccextractor: Copy over timecode meta from the input buffers to the outgoing ↵Sebastian Dröge2018-12-061-0/+32
| | | | | | | caption buffers Formats like SCC and MCC work based on timecodes so ideally we pass through the timecodes when writing them.
* ccextractor: Include framerate in the closedcaption capsSebastian Dröge2018-12-061-15/+23
| | | | | | It depends on the framerate how many cc_data byte pairs are allowed per frame, and the framerate is also needed for converting into the CDP or MCC format as the framerate is part of the header metadata.
* meson: build opencv and ipcpipeline examplesTim-Philipp Müller2018-11-293-3/+30
| | | | https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/576
* Run gst-indent through the filesJordan Petridis2018-11-281-2/+2
| | | | | | This is required before we enabled an indent test in the CI. https://gitlab.freedesktop.org/gstreamer/gstreamer-project/issues/33
* tests/webrtc: fix tests for no libniceMatthew Waters2018-11-261-2/+2
| | | | | webrtcbin will fail the state change to READY when libnice elements are not available.
* tests/webrtc: use the existing functions in the pluginMatthew Waters2018-11-261-102/+38
| | | | | Instead of redefining our own, use the function implementations in webrtcsdp.c and utils.c
* examples: codecparser: fix compiler warnings for unstable API useTim-Philipp Müller2018-11-251-2/+2
| | | | Breaks build bots and build with --werror
* examples: force gtk to x11 backendTim-Philipp Müller2018-11-252-0/+8
| | | | | | | Until someone makes it work with the wayland backend. The code currenty assumes and hard-codes X11. https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/merge_requests/49
* meson: build more examplesTim-Philipp Müller2018-11-2510-7/+94
| | | | See https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/576
* srtp: Add unit tests for MKI supportOlivier Crête2018-11-091-0/+138
| | | | | | | Both as a srtpenc ! srtpdec pipeline and as a test that uses fake packets for multiple mixed MKIs. https://bugzilla.gnome.org/show_bug.cgi?id=797305
* tests: h265parser: Add test parsing nonzero vps_max_layer_id in VPSSeungha Yang2018-11-071-0/+55
|
* cccombiner: Add unit testSebastian Dröge2018-11-064-3/+257
|
* h265parser: Add same parsing test as for H264Nicolas Dufresne2018-11-061-0/+82
| | | | This adds the same test as found in H264 test.
* h264parser: Add unit test parsing 5 valid bytes of a NALNicolas Dufresne2018-11-061-1/+20
| | | | | In the case 5 valid bytes of a slice NAL, the parser should return NO_NAL_END.
* ccextractor: Add unit testSebastian Dröge2018-11-024-0/+354
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=797370
* compositor: Implement different operators via per-pad propertySebastian Dröge2018-10-281-21/+17
| | | | | | | | | | | | | This removes the crossfade-ratio property and replaces it with an operator property. Currently this implements the following operators: - SOURCE: Copy over the source and don't look at the destination - OVER: Default blending of the source over the destination - ADD: Like OVER but simply adding the alpha instead See the example for how to implement crossfading with this. https://bugzilla.gnome.org/show_bug.cgi?id=797169
* check: Disable mssdemux unit test for nowEdward Hervey2018-10-272-2/+1
| | | | | | This is for the same reason as the dash tests. This should ideally be converted to gst-validate tests. These tests randomly timeout also due to the tests doing seeks from the streaming thread (sic).
* tests: Disable most gstplayer tests for nowEdward Hervey2018-10-271-15/+18
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=787374
* webrtcbin: implement support for group: BUNDLEMathieu Duponchelle2018-10-151-0/+334
|
* tests: shm: add an end to end test for live receptionJosep Torra2018-10-101-0/+64
| | | | | | | Add a unit test to exchange data between two pipelines with shmsrc acting as a live source. https://bugzilla.gnome.org/show_bug.cgi?id=797203
* webrtc/datachannel: fix support for prenegotiated channelsMatthew Waters2018-10-091-0/+78
| | | | | | | | With prenegotiated channels, the data-channel protocol is not used and instead the channel's negotiation is intended to be performed out of band in some application-specific manner. Comes with test!
* webrtc: start in the closed stateMatthew Waters2018-10-081-12/+113
| | | | | | | | | | | This means that we will reject all operations before we've transitioned into READY. This also fixes the tests using the default GMainContext in the NULL state instead of the webrtcbin internal GMainContext and thread. Also removes a potential ordering race where on the element transitioning to READY, an operations could have been queued on two different threads and removing a guarentee on operation ordering.
* tests/webrtcbin: add a couple more dependant element checksMatthew Waters2018-10-041-9/+33
| | | | Without the sctp elements, all the data channel tests will fail
* webrtcbin: add support for data channels based on SCTPMatthew Waters2018-09-211-2/+498
| | | | | | | | | | Mostly follows the W3C specification https://www.w3.org/TR/webrtc/#peer-to-peer-data-api With contributions from: Mathieu Duponchelle <mathieu@centricular.com> https://bugzilla.gnome.org/show_bug.cgi?id=794351
* avwait: Start video and audio together if audio starts lateVivia Nikolaidou2018-08-172-4/+38
| | | | | | Also add test to meson https://bugzilla.gnome.org/show_bug.cgi?id=796977
* meson: Add an option for testsNirbheek Chauhan2018-08-171-2/+4
| | | | | This is needed because we don't always have gstreamer-check available, for instance inside Cerbero on iOS.
* check: update gitignoreVíctor Manuel Jáquez Leal2018-08-142-29/+13
|
* tests/check/Makefile.am: add GST_AUDIO_CFLAGS also on the planar audio ↵George Kiagiadakis2018-08-031-1/+1
| | | | adapter unit test
* libs: audio: add new GstPlanarAudioAdapter classGeorge Kiagiadakis2018-08-033-0/+369
| | | | | | This is a GstAdapter, but for planar audio buffers. https://bugzilla.gnome.org/show_bug.cgi?id=793605
* Add feature options for almost all pluginsNirbheek Chauhan2018-07-271-0/+1
| | | | | | | The only plugins remaining are those that haven't been ported to Meson yet, and msdk. Also, the tests are still automagic. https://bugzilla.gnome.org/show_bug.cgi?id=795107
* meson: Add feature options for many pluginsNirbheek Chauhan2018-07-272-4/+5
| | | | | | | The rest will be converted later, these are necessary for gst-build to set options correctly. https://bugzilla.gnome.org/show_bug.cgi?id=795107
* avwait: Add recording propertyVivia Nikolaidou2018-07-242-0/+460
| | | | | | | | It works like a valve in front of the actual avwait. When recording == TRUE, other rules are then examined. When recording == FALSE, nothing is passing through. https://bugzilla.gnome.org/show_bug.cgi?id=796836
* webrtc: Add some ssrc to caps in the unit test.Jan Schmidt2018-07-151-2/+2
| | | | | | | The unit test uses incomplete caps to test webrtcbin, causing some weirdness generating RTX stream mappings. https://bugzilla.gnome.org/show_bug.cgi?id=796810