Reynaldo H. Verdejo Pinochet
8f2b65c74d
tests: zbar: check for frame field on attach-frame=true
...
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
2015-06-01 12:33:41 -03:00
Edward Hervey
5fe88f7ed7
examples: Fix gl usage without wayland support
...
Not all platforms have wayland support. Handle that gracefully at
compile time
2015-06-01 14:05:06 +02:00
Matthew Waters
5f0c006a82
gl/examples: update gtk examples for glupload
2015-05-31 16:09:34 +10:00
Matthew Waters
21cbf763b0
gl/examples: update gtk examples for wayland
2015-05-31 16:09:34 +10:00
Matthew Waters
349685ad27
tests/gl/gtk: implement setting a wayland display/surface
2015-05-31 16:04:13 +10:00
Jan Schmidt
cdff13e07b
Fix flags order in GL examples for uninstalled build
2015-05-21 13:42:35 +10:00
Matthew Waters
904cdf3f58
tests/gl: fix typo
2015-05-14 18:35:35 +10:00
Matthew Waters
0870e8785e
gl: remove useless gl{En,Dis}able (GL_TEXTURE_*) calls
...
We are using shaders everywhere and so they are not needed
2015-05-14 16:42:09 +10:00
Matthew Waters
c519169052
compositor: fix rectangle obscure test to clamp against the output frame size
...
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.
2015-05-13 17:44:30 +10:00
Nirbheek Chauhan
105a5cce92
tests: Add a check for the new compositor pad-is-obscured optimization
...
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
2015-05-01 11:57:00 +01:00
Thiago Santos
cb56a6b32b
examples: gst-camera: add zoom property to UI
...
Add a slider to modify the zoom in camerabin
2015-04-27 21:14:09 -03:00
Thiago Santos
31b1348559
examples: gst-camera: remove widgets deprecated in GTK3.0
...
VBox and HBox are now simply Box
2015-04-27 21:14:09 -03:00
Thiago Santos
a1a58d438f
examples: gst-camera: update to GTK3
...
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
2015-04-27 21:14:09 -03:00
Tim-Philipp Müller
0ff70da6bc
examples: motioncells: remove GPL3 code we don't need
...
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.
2015-04-25 13:44:01 +01:00
Tim-Philipp Müller
b800bba76a
examples: motioncells: simplify property setting
2015-04-25 13:44:01 +01:00
Tim-Philipp Müller
d531f908e5
examples: motioncells: port to 1.x
2015-04-25 13:44:01 +01:00
Robert Jobbagy
0f4ecf52ad
examples: motioncells: relicense opencv example to LGPLv2
2015-04-25 13:43:54 +01:00
Thiago Santos
dd2dba632e
tests: camerabin: add tests for GstPhotography image capture
...
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
2015-04-24 15:12:47 -03:00
Thiago Santos
de5f0dd221
camerabin: tests: remove unused macros
...
Those macros were with the wrong name (likely a copy n paste mistake)
and were unused.
2015-04-24 15:12:46 -03:00
Thiago Santos
7774126c5d
tests: camerabin: remove obsolete check for 0.10 feature
2015-04-24 15:12:46 -03:00
Tim-Philipp Müller
179444efad
tests: define GST_CHECK_TEST_ENVIRONMENT_BEACON
...
Make sure the test environment is set up.
https://bugzilla.gnome.org//show_bug.cgi?id=747624
2015-04-23 16:40:49 +01:00
Thiago Santos
87e306fe4a
tests: camerabin: add test for capture with different caps
...
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
2015-04-21 10:00:44 -03:00
Vincent Penquerc'h
d8dd4bea00
tests: fix type mismatch in varargs passing
...
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.
2015-04-09 16:20:44 +01:00
Edward Hervey
fe9a87d563
check: Don't run the state change test on the dtls elements
...
There isn't really any way to test the elements standalone.
2015-04-09 15:41:57 +02:00
Edward Hervey
fdae6af7de
tests: Use AM_TESTS_ENVIRONMENT
...
Needed by the new automake test runner
2015-04-08 16:46:11 +02:00
Reynaldo H. Verdejo Pinochet
b31f3a88e4
aggregator: fix typo in test suite
2015-04-03 18:17:35 -03:00
Reynaldo H. Verdejo Pinochet
b24971f2dd
aggregator: add gap event handling unit test
...
https://bugzilla.gnome.org/show_bug.cgi?id=746249
2015-04-03 18:17:35 -03:00
Olivier Crête
34a921c31b
audiomixer: Allow downstream caps with a non-default channel-mask
...
Instead of failing, take the downstream channel mask if the channel
count is 1.
2015-04-01 20:32:41 -04:00
Olivier Crête
84eff5cca9
audiointerleave: Add unit tests
...
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
2015-03-16 16:44:03 -04:00
Tim-Philipp Müller
ec6e93d45f
tests: mpegtsmux: add test for keyframe/delta flag propagation
...
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
2015-03-15 15:54:01 +00:00
Tim-Philipp Müller
ab52bfbfa6
tests: mpegtsmux: add unit test for "alignment" property
...
https://bugzilla.gnome.org/show_bug.cgi?id=722129
2015-03-15 12:07:53 +00:00
Matthew Waters
199f9bd194
gl/examples: fixup generic cube example for NDC
...
translating outside the clip region doesn't work
2015-03-14 18:12:38 +00:00
Julien Isorce
7dd3a2ec9e
gl/examples: add sdlshare2 that uses glimagesink to output textures
...
https://bugzilla.gnome.org/show_bug.cgi?id=739681
2015-03-14 17:56:39 +00:00
Julien Isorce
0150255a46
glimagesink: provide GstSample in client-draw signal
...
Instead of prividing texture and size directly.
And apply changes to examples.
https://bugzilla.gnome.org/show_bug.cgi?id=739681
2015-03-14 17:56:21 +00:00
Julien Isorce
94d4ae1840
sdlshare: use glupload and unmap frame
2015-03-14 17:42:40 +00:00
Julien Isorce
5667d34182
examples: initialize NSApp at the beginning
2015-03-14 08:37:52 +00:00
Matthew Waters
e5debcaff4
gl/tests: fix deadlock on glcontext wrapped context test
2015-03-13 12:30:20 +00:00
hoonhee.lee
3beb48162f
tests: glcontext: remove unnecessary semicolon
...
https://bugzilla.gnome.org/show_bug.cgi?id=745875
2015-03-09 08:41:25 +01:00
Nicolas Dufresne
56d4ff8773
gl-test: Port unit tests to new API
2015-03-01 00:08:42 -05:00
Luis de Bethencourt
b383ae0fbd
jpegparse: interlaced doesn't mean progressive scan
...
Removing interlaced variable since it is meant to mean progressive scan
and that isn't used.
2015-02-24 18:50:28 +00:00
Luis de Bethencourt
e45db8ca1e
Revert "tests: check jpegparse for progressive marker"
...
This reverts commit 1c77d12ce8
.
"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.
2015-02-24 18:38:31 +00:00
Luis de Bethencourt
1c77d12ce8
tests: check jpegparse for progressive marker
2015-02-24 17:42:15 +00:00
Matthew Waters
e505f6257c
applemedia: new AVSampleBufferLayerSink
...
Renders buffers using the CALayer subclass AVSampleBufferDisplayLayer
which can be placed inside a Core Animation render tree.
2015-02-24 19:12:10 +11:00
Luis de Bethencourt
59db1789cf
mxf-example: don't quit on Warning
...
Don't quit on Warning.
Print out a message when there is an Error or Warning.
2015-02-21 18:56:23 +00:00
Luis de Bethencourt
40b5f02dc6
mxf-example: always show gtk window
...
Show gtk window even when there are no tags, to always have visual feedback
about the pipeline running.
2015-02-21 18:56:23 +00:00
Luis de Bethencourt
d240c98225
mxf-example: merge returns in g_value_to_string()
2015-02-21 18:56:23 +00:00
Luis de Bethencourt
7d058c8523
mxf-example: make bus_callback consistent
...
Simplify the bus_callback to make it consisten with other examples.
2015-02-21 18:56:04 +00:00
Luis de Bethencourt
4e45b86ed8
mxf-example: fix usage of argc and argv
2015-02-21 17:18:02 +00:00
Luis de Bethencourt
9454e42db0
camerabin examples: remove unneeded variable
...
ret is only used once, we don't need to store it in a variable for that.
2015-02-21 17:02:18 +00:00
Alex Ashley
a08dd85608
hlsdemux: select correct starting position for live streams
...
When playing live HLS streams, the media playback starts from the
beginning of the media playlist. When playing a live HLS stream,
media playback should start from 3 fragments from the end of the
playlist.
See section 6.3.3. of the HLS draft [1]
This commit changes the logic to select 3 fragments from the end when
playing a live stream.
[1] http://tools.ietf.org/html/draft-pantos-http-live-streaming-12#page-29
https://bugzilla.gnome.org/show_bug.cgi?id=727742
2015-02-20 19:00:01 -03:00