summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* build: add missing $(GST_PLUGINS_BASE_LIBS)Martin Kelly2016-09-211-3/+3
| | | | | | | The linker flags for several plugins (dashdemux, mssdemux, hlsdemux) are missing $(GST_PLUGINS_BASE_LIBS), so add them so they can find -lgsttag and -lgstapp. https://bugzilla.gnome.org/show_bug.cgi?id=771780
* rtponviftimestamp: Update unit tests after changing default value of D-bitJoakim Johansson2016-09-211-7/+10
| | | | | | The D bit shall always be set to true for the first buffer. https://bugzilla.gnome.org/show_bug.cgi?id=770221
* player: Fix unit test for minor API changeSebastian Dröge2016-09-151-2/+2
|
* gl/examples: Really remove references to $(GST_PLUGINS_GL_*).Alistair Buxton2016-09-081-2/+2
| | | | | | These seem to have been missed in the previous commit to this file. https://bugzilla.gnome.org/show_bug.cgi?id=771023
* tests/glupload: support opengl3 properly instead of spewing GL errorsMatthew Waters2016-08-291-22/+97
|
* glupload: fix tests and check for the new RECONFIGURE behaviourAlessandro Decina2016-08-291-4/+44
| | | | | | | | The tests were broken since 91fea30, which changed glupload to return GST_GL_UPLOAD_RECONFIGURE if the texture target in the input buffers doesn't match the texture-target configured in the output caps. This commit fixes that and adds more checks for the new behaviour.
* dash: Fix build of unit testSebastian Dröge2016-08-261-4/+8
|
* gitignore: add missing dash_isoff fileJosep Torra2016-08-251-1/+2
|
* build: fix gst-uninstalled build in osxJosep Torra2016-08-251-2/+5
| | | | | Fixes clang: error: argument unused during compilation: '-pthread' when building the test programs.
* build: unconditionally check for video, audio and pbutils modulesJosep Torra2016-08-251-23/+22
| | | | | Check for modules in configure and use GST_*_LIBS vars to link with the libraries instead of hardcoding them.
* gl/examples/fxtest: fix up for wayland supportMatthew Waters2016-08-191-1/+20
| | | | | - Pass the wayland display to gst - Redrawing on resize is no longer needed.
* rawparse: Fix and extend unit testsCarlos Rafael Giani2016-08-183-0/+114
| | | | | | | | * Add caps change test to unit tests * Cleanup leftover buffers after each unit test * Add missing rawvideoparse entry in .gitignore https://bugzilla.gnome.org/show_bug.cgi?id=769637
* rawvideoparse: Compute plane offsets & strides if no custom ones are setCarlos Rafael Giani2016-08-181-0/+112
| | | | | | | This is useful to ensure that the offsets and strides are computed if only width, height, format etc. in the property config are set. https://bugzilla.gnome.org/show_bug.cgi?id=769797
* dashdemux: Disable unit test for the time beingSebastian Dröge2016-08-111-1/+3
| | | | | | | | It uses random data streams but dashdemux nowadays actually looks into the streams and doesn't like randomness very much. The tests should probably just become validate tests on real streams. https://bugzilla.gnome.org/show_bug.cgi?id=769553
* dash: Add test for parsing a moof boxSebastian Dröge2016-08-113-1/+193
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=741104
* dash: Add unit test for ISOBFF box header parsingSebastian Dröge2016-08-112-1/+132
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=741104
* hlsdemux: move variant list handling over to new master playlist codeTim-Philipp Müller2016-08-031-182/+196
| | | | Adapt hlsdemux for the m3u8 playlist changes.
* qmlglsrc: Add qmlglsrc unit test exampleHaihua Hu2016-08-0310-7/+176
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=768160
* aiffparse: In PUSH mode we will never get the ID3 tags as they are at the ↵Sebastian Dröge2016-08-021-3/+9
| | | | | | | end of the file This previously did not fail as before we didn't get any tags at all in PUSH mode, now we get the bitrates.
* tests: dashdemux: add test for gst_mpd_client_get_maximum_segment_durationAlex Ashley2016-08-021-0/+77
| | | | | | | | Add a test of the gst_mpd_client_get_maximum_segment_duration() function to check that it first checks the MPD@maxSegmentDuration and then falls back to checking all of the segment durations. https://bugzilla.gnome.org/show_bug.cgi?id=753751
* tests: fix simple-launch-lines when jpeg lib isn't presentVincent Penquerc'h2016-07-261-2/+6
| | | | | | | JPEG detection in configure.ac defines HAVE_JPEG to 0 if the jpeg lib isn't found, rather then not defining it. https://bugzilla.gnome.org/show_bug.cgi?id=769197
* rawparse: Add new raw audio and video parser elementsCarlos Rafael Giani2016-07-264-0/+807
| | | | | | | The new rawaudioparse and rawvideoparse elements are based on GstBaseParse and completely replace audioparse and videoparse https://bugzilla.gnome.org/show_bug.cgi?id=767011
* glcontext: remove not thread-safe get/set_error()Matthew Waters2016-07-262-16/+2
| | | | Use GError's instead if necessary.
* glframebuffer: rewrite for a more consistent APIMatthew Waters2016-07-261-11/+16
| | | | | | Facilities are given to create fbo's and attach GL memory (renderbuffers or textures). It also keeps track of the renderable size for use with effective use with glViewport().
* player: move 'position-update-interval' setting to the config structGuillaume Desmottes2016-07-251-10/+17
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=769144
* player: add API to change http user agentGuillaume Desmottes2016-07-251-0/+53
| | | | | | Introducing a new 'config' API similar to GstBufferPoolConfig. https://bugzilla.gnome.org/show_bug.cgi?id=765314
* qml: Don't forget to unref the actual sink element after setting it on glsinkbinSebastian Dröge2016-07-221-0/+1
|
* qml: Use glsinkbin instead of glupload directlySebastian Dröge2016-07-221-4/+6
|
* tests: fix bus leakGuillaume Desmottes2016-07-185-15/+16
| | | | | | | gst_bus_remove_signal_watch() has to be called to release the ref taken by gst_bus_add_signal_watch(). https://bugzilla.gnome.org/show_bug.cgi?id=768843
* glmemory: add the texture type to allocate to parametersMatthew Waters2016-06-294-10/+18
| | | | | | Rather than assuming something. e.g. zerocopy on iOS with GLES3 requires the use of Luminance/Luminance Alpha formats and does not work with Red/RG textures.
* tests: Ignore kmssink for state change testOlivier Crête2016-06-271-1/+1
| | | | It can only be put to READY if the DRM stuff is available.
* templatematch: fix buffer leak in testGuillaume Desmottes2016-06-211-0/+1
| | | | | | | Need to call gst_check_drop_buffers() to unref the buffers exchanged during the test. https://bugzilla.gnome.org/show_bug.cgi?id=767159
* glimagesink: fix query leak in testGuillaume Desmottes2016-06-211-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=766663
* glimagesink: properly setup/teardown testsGuillaume Desmottes2016-06-211-5/+1
| | | | | | | tcase_add_checked_fixture() is suppose to call the setup and teardown functions so the tests don't have to do it manually. https://bugzilla.gnome.org/show_bug.cgi?id=766663
* glupload: fix shader leak in testGuillaume Desmottes2016-06-211-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=766663
* uvch264demux: fix buffer leaks in testGuillaume Desmottes2016-06-211-0/+2
| | | | | | | The mock chain functions aren't unreffing the buffers so the caller should do it. https://bugzilla.gnome.org/show_bug.cgi?id=766663
* camerabin: fix element leak in testGuillaume Desmottes2016-06-211-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=766663
* fix buffer leaks in testsGuillaume Desmottes2016-06-211-0/+1
| | | | | | gst_check_drop_buffers() release the buffers exchanged during the test. https://bugzilla.gnome.org/show_bug.cgi?id=766663
* fix event leaks in testsGuillaume Desmottes2016-06-212-4/+4
| | | | | | | The events are supposed to be unreffed when finishing the test, not reffed. https://bugzilla.gnome.org/show_bug.cgi?id=766663
* audiointerleave: fix message leaks by flushing the busGuillaume Desmottes2016-06-211-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=766663
* autoconvert: fix factories leak in testGuillaume Desmottes2016-06-211-1/+1
| | | | | | | The factories returned by gst_registry_find_feature() have to be unreffed. https://bugzilla.gnome.org/show_bug.cgi?id=766663
* tests/glcontext: link against gstvideo for gst_video_info_*Matthew Waters2016-06-161-1/+2
| | | | fixes make distcheck complaining about it.
* tests/glcontext: update test for gen,del_texture removalMatthew Waters2016-06-161-7/+21
|
* player: inhibit signals after gst_player_stop() has been calledGuillaume Desmottes2016-05-301-0/+139
| | | | | | | | Also wait for the state change to STOP to have been announced before destroying the player so it won't appear as leaked by leak detector tools. https://bugzilla.gnome.org/show_bug.cgi?id=766607
* player: handle uri-loaded in testGuillaume Desmottes2016-05-301-23/+66
| | | | | | Had to adapt the existing tests because of this new callback. https://bugzilla.gnome.org/show_bug.cgi?id=766607
* pnm: Add a basic unit testJan Schmidt2016-05-242-0/+126
| | | | | Test that we can run an encode / decode cycle in various formats without errors
* player: use gst_check_init() in testGuillaume Desmottes2016-05-211-1/+1
| | | | | | | Calling GST_DEBUG() in test rely on the default category to be defined, which is done in gst_check_init(). https://bugzilla.gnome.org/show_bug.cgi?id=766607
* examples: opencv: typo fixMartin Kelly2016-05-192-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=766639
* tests: adaptivedemux: only check for data length after seekThiago Santos2016-04-222-4/+8
| | | | | | | When the test involves doing a seek, only check for data size after the seek. The final segment range after seek might be different/smaller than the threshold for doing the seek and doing the check before seeking would fail.
* adaptivedemux: tests: use macro to define names of request and response structsFlorin Apostol2016-04-222-6/+22
| | | | | | | | Following the Don't Repeat Yourself principle, define macros for the structures that contain the request and response headers, so that the name is not repeated in multiple places in multiple files. https://bugzilla.gnome.org/show_bug.cgi?id=762144