summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix a common typo: retreive -> retrieveThiago Santos2015-06-051-1/+1
| | | | Seems to have been copy pasted around a few places
* gl/example: fix build error when compiling cocoa-videooverlayJulien Isorce2015-06-041-5/+5
| | | | | | libtool: error: ignoring unknown tag OBJC and clang: error: argument unused during compilation: '-pthread'
* examples: gst-camerabin2-test: protect from division by zeroLuis de Bethencourt2015-06-031-2/+4
| | | | | Highly unlikely to have 0 captures, but protect from crashes in the future by doing none of the math if there is no data.
* tests: audiointerleave: test not setting positionsOlivier Crête2015-06-021-0/+87
| | | | | Disable "channel-positions-from-input", but without actually giving a position table, so every position should be NONE
* tests: Fix indentation in audiointerleave testOlivier Crête2015-06-021-3/+4
|
* check: Use GST_CHECK_MAIN () macro everywhereEdward Hervey2015-06-0223-406/+55
| | | | | Makes source code smaller, and ensures we go through common initialization path (like the one that sets up XML unit test output ...)
* tests: zbar: check for frame field on attach-frame=trueReynaldo H. Verdejo Pinochet2015-06-011-0/+9
| | | | | | | | | Also check for the sample to have a buffer and caps associated with it. Related to: https://bugzilla.gnome.org/show_bug.cgi?id=747557
* examples: Fix gl usage without wayland supportEdward Hervey2015-06-011-1/+6
| | | | | Not all platforms have wayland support. Handle that gracefully at compile time
* gl/examples: update gtk examples for gluploadMatthew Waters2015-05-312-10/+10
|
* gl/examples: update gtk examples for waylandMatthew Waters2015-05-312-16/+100
|
* tests/gl/gtk: implement setting a wayland display/surfaceMatthew Waters2015-05-312-0/+53
|
* Fix flags order in GL examples for uninstalled buildJan Schmidt2015-05-213-7/+6
|
* tests/gl: fix typoMatthew Waters2015-05-141-1/+1
|
* gl: remove useless gl{En,Dis}able (GL_TEXTURE_*) callsMatthew Waters2015-05-142-9/+9
| | | | We are using shaders everywhere and so they are not needed
* compositor: fix rectangle obscure test to clamp against the output frame sizeMatthew Waters2015-05-131-13/+37
| | | | | | | Rather than one of the input pad video info's. The test checking this was not constraining the output frame size to ensure that the out of frame stream was not being displayed.
* tests: Add a check for the new compositor pad-is-obscured optimizationNirbheek Chauhan2015-05-012-2/+215
| | | | | | | | | | We verify that all the buffers on an obscured sinkpad are skipped by overriding the map() function in the GstVideoMeta of the buffers to set a variable when called. We also test that the buffers do get mapped when they're not obscured. Blame^WCredit for the GstVideoMeta map() idea goes to Tim. https://bugzilla.gnome.org/show_bug.cgi?id=746147
* examples: gst-camera: add zoom property to UIThiago Santos2015-04-273-0/+46
| | | | Add a slider to modify the zoom in camerabin
* examples: gst-camera: remove widgets deprecated in GTK3.0Thiago Santos2015-04-271-11/+12
| | | | VBox and HBox are now simply Box
* examples: gst-camera: update to GTK3Thiago Santos2015-04-273-19/+7
| | | | | | When opening the .ui file it complains about being for GTK 2 and automatically updates it to GTK3. Commit this version and update the makefile
* examples: motioncells: remove GPL3 code we don't needTim-Philipp Müller2015-04-255-685/+60
| | | | | | | | If 95% of the code of an example app consists of GObject code, maybe that's defeating the point a little. So just remove a lot of that and trim down the example to the absolute minimum. Also removes the last remaining GPL3 licensed code in -bad.
* examples: motioncells: simplify property settingTim-Philipp Müller2015-04-251-105/+2
|
* examples: motioncells: port to 1.xTim-Philipp Müller2015-04-251-85/+55
|
* examples: motioncells: relicense opencv example to LGPLv2Robert Jobbagy2015-04-252-20/+24
|
* tests: camerabin: add tests for GstPhotography image captureThiago Santos2015-04-241-15/+359
| | | | | | | | | | | | | | | | | GstPhotography enables new paths in wrappercamerabinsrc that allows the source to be notified about the capture caps and provide an alternative caps if desired bypassing the negotiation (this doesn't seem like a good idea these days). To make sure it keeps working until we remove it from the API in favor of standard caps negotiation features this test was added. It adds 3 extra tests with a simple test source that will: 1) Test that capturing with ANY caps work 2) Test that capturing with a fixed caps work 3) Test that capturing with a fixed caps and having the source pick a different resolution from GstPhotography API works by having wrappercamerabinsrc crop the capture to the final requested dimensions
* camerabin: tests: remove unused macrosThiago Santos2015-04-241-4/+0
| | | | | Those macros were with the wrong name (likely a copy n paste mistake) and were unused.
* tests: camerabin: remove obsolete check for 0.10 featureThiago Santos2015-04-241-6/+1
|
* tests: define GST_CHECK_TEST_ENVIRONMENT_BEACONTim-Philipp Müller2015-04-231-2/+3
| | | | | | Make sure the test environment is set up. https://bugzilla.gnome.org//show_bug.cgi?id=747624
* tests: camerabin: add test for capture with different capsThiago Santos2015-04-211-1/+29
| | | | | | | Adds a test to verify that viewfinder and image capture caps can be set to non-intersecting caps and still work. https://bugzilla.gnome.org/show_bug.cgi?id=724868
* tests: fix type mismatch in varargs passingVincent Penquerc'h2015-04-091-1/+1
| | | | | | | | | | A bitmask is 64 bits, but integer immediates are passed as int in varargs, which happen to be 32 bit with high probability. This triggered a valgrind jump-relies-on-uninitalized-value report well away from the site, since it doesn't trigger on stack accesses, and there must have been enough zeroes to stop g_object_set at the right place.
* check: Don't run the state change test on the dtls elementsEdward Hervey2015-04-091-1/+1
| | | | There isn't really any way to test the elements standalone.
* tests: Use AM_TESTS_ENVIRONMENTEdward Hervey2015-04-081-1/+1
| | | | Needed by the new automake test runner
* aggregator: fix typo in test suiteReynaldo H. Verdejo Pinochet2015-04-031-1/+1
|
* aggregator: add gap event handling unit testReynaldo H. Verdejo Pinochet2015-04-031-5/+71
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=746249
* audiomixer: Allow downstream caps with a non-default channel-maskOlivier Crête2015-04-011-1/+2
| | | | | Instead of failing, take the downstream channel mask if the channel count is 1.
* audiointerleave: Add unit testsOlivier Crête2015-03-163-3/+876
| | | | | | | Almost a copy of the "interleave" unit tests, improved to support the thread on the src pad on GstAggregator. https://bugzilla.gnome.org/show_bug.cgi?id=740236
* tests: mpegtsmux: add test for keyframe/delta flag propagationTim-Philipp Müller2015-03-151-3/+43
| | | | | | | | | | | | The first output MPEG-TS packet that corresponds to a video input buffer which had the delta flag cleared (i.e. was a keyframe) should have the delta flag cleared as well. This is needed e.g. by tcpserversink in order to keep track of the last keyframe and be able to burst data to newly- connected clients. https://bugzilla.gnome.org/show_bug.cgi?id=706872
* tests: mpegtsmux: add unit test for "alignment" propertyTim-Philipp Müller2015-03-151-7/+56
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=722129
* gl/examples: fixup generic cube example for NDCMatthew Waters2015-03-141-1/+4
| | | | translating outside the clip region doesn't work
* gl/examples: add sdlshare2 that uses glimagesink to output texturesJulien Isorce2015-03-143-1/+408
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=739681
* glimagesink: provide GstSample in client-draw signalJulien Isorce2015-03-148-45/+98
| | | | | | | Instead of prividing texture and size directly. And apply changes to examples. https://bugzilla.gnome.org/show_bug.cgi?id=739681
* sdlshare: use glupload and unmap frameJulien Isorce2015-03-141-1/+3
|
* examples: initialize NSApp at the beginningJulien Isorce2015-03-141-3/+3
|
* gl/tests: fix deadlock on glcontext wrapped context testMatthew Waters2015-03-131-2/+1
|
* tests: glcontext: remove unnecessary semicolonhoonhee.lee2015-03-091-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=745875
* gl-test: Port unit tests to new APINicolas Dufresne2015-03-011-2/+2
|
* jpegparse: interlaced doesn't mean progressive scanLuis de Bethencourt2015-02-241-5/+3
| | | | | Removing interlaced variable since it is meant to mean progressive scan and that isn't used.
* Revert "tests: check jpegparse for progressive marker"Luis de Bethencourt2015-02-241-52/+7
| | | | | | | This reverts commit 1c77d12ce8770f0e065e9c00c35d711fdef1c9f8. "interlaced" in the caps don't mean the same thing as the SOF2 marker in the JPEG format. This test passes because of broken behaviour.
* tests: check jpegparse for progressive markerLuis de Bethencourt2015-02-241-7/+52
|
* applemedia: new AVSampleBufferLayerSinkMatthew Waters2015-02-244-2/+152
| | | | | Renders buffers using the CALayer subclass AVSampleBufferDisplayLayer which can be placed inside a Core Animation render tree.
* mxf-example: don't quit on WarningLuis de Bethencourt2015-02-211-3/+20
| | | | | Don't quit on Warning. Print out a message when there is an Error or Warning.