Matthew Waters [Thu, 17 Mar 2016 12:51:44 +0000 (23:51 +1100)]
gl/tests: add missing test to the build system
Also update it for the current api
Matthew Waters [Thu, 17 Mar 2016 12:50:00 +0000 (23:50 +1100)]
gldifferencematte: port to gl3/gles2
Matthew Waters [Fri, 26 Feb 2016 09:55:47 +0000 (20:55 +1100)]
gltestsrc: port to gles2/gl3
This makes gltestsrc work everywhere \o/
- workaround RPi returning invalid values for positive coords in the
checker shader
- reduce the number of iterations in the mandelbrot shader for gles2
https://bugzilla.gnome.org/show_bug.cgi?id=751540
Matthew Waters [Fri, 26 Feb 2016 05:57:47 +0000 (16:57 +1100)]
gltestsrc: port smpte pattern to shaders
Loosely based on patch by
Lubosz Sarnecki <lubosz.sarnecki@collabora.co.uk>
https://bugzilla.gnome.org/show_bug.cgi?id=751540
Matthew Waters [Fri, 26 Feb 2016 01:02:15 +0000 (12:02 +1100)]
gltestsrc: implement the circular method
https://bugzilla.gnome.org/show_bug.cgi?id=759801
Matthew Waters [Thu, 25 Feb 2016 10:18:31 +0000 (21:18 +1100)]
gltestsrc: add a generic src framework
Any unsupported pattern (circular) results in an error
Matthew Waters [Mon, 29 Feb 2016 09:15:24 +0000 (20:15 +1100)]
glsterosplit: remove internal glupload/glcolorconvert
They are provided separately as elements and no other element contains the
internal references to glupload/glcolorconvert.
Matthew Waters [Thu, 31 Mar 2016 08:43:04 +0000 (19:43 +1100)]
gl: add support for building against GLES3 headers
with a fallback to GLES2 headers if available.
Matthew Waters [Thu, 31 Mar 2016 08:38:12 +0000 (19:38 +1100)]
glmemory: add checking the read implementation format/type on gles2 platforms
By default, reading GL_RED or GL_RG us unsupported by glReadPixels unless
exposed through GL_COLOR_READ_IMPLEMENTATION_FORMAT/TYPE. This allows
downloading multiple-planar video frames where possible.
Matthew Waters [Thu, 31 Mar 2016 08:35:09 +0000 (19:35 +1100)]
glbasememory: rollback map state when subclass map fails
Otherwise our state doesn't reflect reality.
Matthew Waters [Thu, 31 Mar 2016 08:31:00 +0000 (19:31 +1100)]
glmemorypbo: unmap pbo memory on pbo read error
Otherwise we are returning failure with a dangling map!
Also only unset the NEED_DOWNLOAD flag in download_transfer() if the read actually
succeeds.
Matthew Waters [Thu, 31 Mar 2016 08:25:32 +0000 (19:25 +1100)]
glshader: add glBindFragDataLocation
There are some cases where it's needed for binding in/out variables in shaders.
e.g. glsl 150 (gl 3.2) doesn't support the 'layout (location = ?)' specifiers in
the shader source so we have to bind them ourselves.
Sebastian Dröge [Thu, 31 Mar 2016 09:20:30 +0000 (12:20 +0300)]
adaptivedemux: Handle find_stream_for_pad() without g_assert_not_reached() if no pad is found
Happens e.g. if a RECONFIGURE event is sent from downstream while we're
switching pads at this very moment. The old pad is gone and the stream has a
new pad.
https://bugzilla.gnome.org/show_bug.cgi?id=764404
Matthew Waters [Wed, 30 Mar 2016 14:21:42 +0000 (01:21 +1100)]
nvenc: add support for building against version 6 of the SDK
While mostly API compatible, the ABI has changed so binaries will not work
across header versions (and ultimately nvidia driver releases).
https://bugzilla.gnome.org/show_bug.cgi?id=763324
Vanessa Chipirras Navalon [Wed, 30 Mar 2016 21:34:59 +0000 (22:34 +0100)]
opencv: pyramidsegment: delete element
cvPyrSegmentation() has been deprecated in OpenCV 3.0, and there isn't any
function to replace it. Deleting this element so we can support OpenCV 3.1
without build issues.
https://bugzilla.gnome.org/show_bug.cgi?id=760473
Vanessa Chipirras Navalon [Tue, 26 Jan 2016 15:52:37 +0000 (16:52 +0100)]
opencv: gstcvsmooth: Ported to OpenCV version 3.1
cvarrToMat() is added because it is compatible with all versions of Opencv
and the use the class constructor Mat is eliminated because is deprecated
in 3.X versions. This keeps compatibility with 2.4.
https://bugzilla.gnome.org/show_bug.cgi?id=760473
Vanessa Chipirras Navalon [Wed, 27 Jan 2016 09:05:13 +0000 (10:05 +0100)]
opencv: grabcut: Ported to OpenCV version 3.1
cvarrToMat() is added because it is compatible with all versions of Opencv
and using the class Mat constructor is eliminated, because is deprecated
in 3.X versions. The use the using namespace cv because is called some
functions many times. This keeps compatibility with 2.4.
https://bugzilla.gnome.org/show_bug.cgi?id=760473
Vanessa Chipirras Navalon [Wed, 27 Jan 2016 14:37:39 +0000 (15:37 +0100)]
opencv: faceblur: Ported to OpenCV version 3.1
cvarrToMat() is added because it is compatible with all versions of Opencv
and the use of the class constructor Mat is eliminated because is deprecated
in 3.X versions. Included 'using namespace std' because it is needed for the
Vector class in 3.X versions. This keeps compatibility with 2.4.
https://bugzilla.gnome.org/show_bug.cgi?id=760473
Vanessa Chipirras Navalon [Wed, 27 Jan 2016 14:51:37 +0000 (15:51 +0100)]
opencv: handdetect: Ported to OpenCV version 3.1
cvarrToMat() is added because it is compatible with all versions of Opencv
and the use of the class constructor Mat is eliminated because is deprecated
in 3.X versions. Included 'using namespace std' because it is needed for the
vector class in 3.X versions. This keeps compatibility with 2.4.
https://bugzilla.gnome.org/show_bug.cgi?id=760473
Vanessa Chipirras Navalon [Wed, 27 Jan 2016 15:51:13 +0000 (16:51 +0100)]
opencv: retinex: Ported to OpenCV version 3.1
cvarrToMat() is added because it is compatible with all versions of Opencv
and using the class constructor Mat is eliminated because is deprecated
in 3.X versions. This keeps compatibility with 2.4.
https://bugzilla.gnome.org/show_bug.cgi?id=760473
Vanessa Chipirras Navalon [Thu, 28 Jan 2016 15:19:46 +0000 (16:19 +0100)]
opencv: disparity: Ported to OpenCV version 3.1
'METHOD_VAR', 'METHOD_GC' is removed because there aren't equivalent functions
in new OpenCV versions. 'img_right_as_cvMat_rgb', 'img_left_as_cvMat_rgb' and
'depth_map_as_cvMat2' variables is removed because these aren't used.
cvarrToMat() is added because it is compatible with all versions of Opencv
and using the class Mat constructor is eliminated, because is deprecated
in 3.X versions. The use 'using namespace cv' because is called some
functions many times. This keeps compatibility with 2.4.
https://bugzilla.gnome.org/show_bug.cgi?id=760473
Vanessa Chipirras Navalon [Mon, 1 Feb 2016 12:58:49 +0000 (13:58 +0100)]
opencv: skindetect: Ported to OpenCV version 3.1
cvCVPixToPlane() has been deprecated in OpenCV 3.0, and there is
function to replace it cvSplit(). The include compat.hpp is deleted because
in 3.X versions doen't exist and it isn't necessary for 2.4.X versions
in this element. This keeps compatibility with 2.4.
https://bugzilla.gnome.org/show_bug.cgi?id=760473
Vanessa Chipirras Navalon [Thu, 28 Jan 2016 16:40:51 +0000 (17:40 +0100)]
opencv: Ported to OpenCV version 3.1 OpenCV
configure.ac was changed to work with new versions of OpenCV 3.X.
A new include is added gstopencvutils.cpp because it contains
the previous. This keeps compatibility with 2.4.
https://bugzilla.gnome.org/show_bug.cgi?id=760473
Sebastian Dröge [Wed, 30 Mar 2016 07:34:07 +0000 (10:34 +0300)]
ahcsrc: There's no point in read-only CONSTRUCT properties
And creating one is causing assertions. Also get rid of the other CONSTRUCT
property as it's a) unneeded for default initialization and b) you're not
supposed to use constructor properties when creating element instances and the
GStreamer API doesn't provide direct ways for doing so.
https://bugzilla.gnome.org/show_bug.cgi?id=764339
Edward Hervey [Mon, 7 Mar 2016 13:57:35 +0000 (14:57 +0100)]
teletexdec: Simplify negotiation code
No need to use a while() loop if we're going only going to use
the first structure of the caps ...
CID #1341748
Sebastian Dröge [Mon, 28 Mar 2016 10:52:07 +0000 (13:52 +0300)]
aggregator: Fix leak in unit test
GST_PAD_PROBE_HANDLED means that we should've unreffed the probe data,
it was handled by us in one way or another.
Nirbheek Chauhan [Mon, 28 Mar 2016 03:16:10 +0000 (08:46 +0530)]
.gitignore: Ignore some more test temporary files
Nirbheek Chauhan [Mon, 28 Mar 2016 03:15:45 +0000 (08:45 +0530)]
tests/compositor: Add test for aggregator pad numbering
Tests that the behaviour in
7a5cb5a473 is being conformed to.
Nirbheek Chauhan [Sun, 27 Mar 2016 13:36:50 +0000 (19:06 +0530)]
aggregator: Fix strcmp test for sink template
Nirbheek Chauhan [Sun, 27 Mar 2016 13:11:30 +0000 (18:41 +0530)]
aggregator: Don't try to be too smart while allocating pad names
Previously, while allocating the pad number for a new pad, aggregator was
maintaining an interesting relationship between the pad count and the pad
number.
If you requested a sink pad called "sink_6", padcount (which is badly named and
actually means number-of-pads-minus-one) would be set to 6. Which means that if
you then requested a sink pad called "sink_0", it would be assigned the name
"sink_6" again, which fails the non-uniqueness test inside gstelement.c.
This can be fixed by instead setting padcount to be 7 in that case, but this
breaks manual management of pad names by the application since it then becomes
impossible to request a pad called "sink_2". Instead, we fix this by always
directly using the requested name as the sink pad name. Uniqueness of the pad
name is tested separately inside gstreamer core. If no name is requested, we use
the next available pad number.
Note that this is important since the sinkpad numbering in aggregator is not
meaningless. Videoaggregator uses it to decide the Z-order of video frames.
Thibault Saunier [Tue, 23 Feb 2016 14:11:36 +0000 (15:11 +0100)]
lv2: Port filters to GStreamer 1.0 and use lilv instead of slv2
Properly separate files as we will not have only one single base class
for all elements as we used to with 0.10, but the same way it is done
with ladspa, we subclass GstAudioFilter, GstBaseSource etc...
https://bugzilla.gnome.org/show_bug.cgi?id=678207
Nirbheek Chauhan [Sun, 27 Mar 2016 08:59:58 +0000 (14:29 +0530)]
gtk: Fix logging in base widget and fix desc of GL sink
Set a default category for gtkgstbasewidget lest the logging go to the 'default'
category where it can't be found easily
Yann Jouanin [Sun, 27 Mar 2016 01:11:45 +0000 (03:11 +0200)]
rtmpsrc plugin : add timeout option
https://bugzilla.gnome.org/show_bug.cgi?id=764251
Sebastian Dröge [Fri, 18 Mar 2016 11:35:37 +0000 (13:35 +0200)]
mxfmux: Instead of releasing request pads on stop(), clear them only
Request pads are requested by applications and as such should only be released
by them again. Instead of releasing them when stopping the muxer, just clear
their state so that they can be used again when starting the muxer again.
https://bugzilla.gnome.org/show_bug.cgi?id=763862
Sebastian Dröge [Sat, 5 Mar 2016 07:47:27 +0000 (09:47 +0200)]
player: Add is_live flag to the GstPlayerMediaInfo
https://bugzilla.gnome.org/show_bug.cgi?id=763126
Sebastian Dröge [Mon, 29 Feb 2016 09:39:54 +0000 (11:39 +0200)]
sdp: Add new sdpsrc element
This can read from an SDP file or get the SDP data via property. Works
around the problem that sdpdemux inside decodebin fails because the
GST_STATE_CHANGE_NO_PREROLL is not observed by the pipeline.
See https://bugzilla.gnome.org/show_bug.cgi?id=702495
https://bugzilla.gnome.org/show_bug.cgi?id=762860
Matthew Waters [Fri, 25 Mar 2016 06:49:14 +0000 (17:49 +1100)]
gtk/gl: don't assert when gdk doesn't provide a GL context
Allows the application to check whether gtkglsink is supported by setting
the element to READY.
https://bugzilla.gnome.org/show_bug.cgi?id=764148
Thiago Santos [Mon, 7 Mar 2016 22:41:19 +0000 (19:41 -0300)]
mpegtsbase: plug EIT string leak
Thiago Santos [Mon, 7 Mar 2016 22:06:19 +0000 (19:06 -0300)]
dvbbasebin: unref pat table after usage
Remember to unref the GPtrArray of the PAT table after
use
Thiago Santos [Fri, 4 Mar 2016 23:05:38 +0000 (20:05 -0300)]
dvbbasebin: plug some leaks
Plug various leaks in dvbbasebin.
Thiago Santos [Thu, 3 Mar 2016 14:31:01 +0000 (11:31 -0300)]
mpegtspacketizer: simplify variable reset
Just set it directly to 0, instead of checking and reseting
Thiago Santos [Tue, 1 Mar 2016 21:21:12 +0000 (18:21 -0300)]
dvbsrc: print time in same format
Makes it easier to compare
Martin Kelly [Tue, 15 Mar 2016 23:22:59 +0000 (16:22 -0700)]
ahc: use g_slice_new instead of g_slice_new0
In many cases, we use g_slice_new0 and then immediately overwrite the
allocated memory. This is inefficient. Since we're going to immediately
overwrite it, we might as well use plain g_slice_new.
https://bugzilla.gnome.org/show_bug.cgi?id=763998
Vineeth TM [Wed, 9 Mar 2016 23:50:28 +0000 (08:50 +0900)]
d3dvideosink: post message to application for unhandled keyboard/mouse events
https://bugzilla.gnome.org/show_bug.cgi?id=763403
Vineeth TM [Wed, 9 Mar 2016 23:49:01 +0000 (08:49 +0900)]
dfbvideosink: post message to application for unhandled keyboard/mouse events
https://bugzilla.gnome.org/show_bug.cgi?id=763403
Vineeth TM [Wed, 9 Mar 2016 23:44:57 +0000 (08:44 +0900)]
gtkbasesink: post message to application for unhandled keyboard/mouse events
https://bugzilla.gnome.org/show_bug.cgi?id=763403
Justin Kim [Thu, 3 Mar 2016 11:10:16 +0000 (20:10 +0900)]
ahcsrc: remove probe_properties
It's a residue of 0.10.
https://bugzilla.gnome.org/show_bug.cgi?id=763100
Vineeth TM [Fri, 4 Mar 2016 06:50:26 +0000 (15:50 +0900)]
bad: use new gst_element_class_add_static_pad_template()
https://bugzilla.gnome.org/show_bug.cgi?id=763081
Martin Kelly [Tue, 8 Mar 2016 01:23:23 +0000 (17:23 -0800)]
ahc: eliminate AHC*_CALL macros
Currently, we use AHC*_CALL macros to call many of the Camera functions.
However, we already have helper classes to call the Camera functions, so
eliminate the macros.
As a nice side-benefit, we also get improved error handling and
reporting when something goes wrong calling these functions, because a
GError gets populated, and we log a GST_ERROR when something fails. This
was harder to do using macros, as all error handling was hidden from the
caller.
https://bugzilla.gnome.org/show_bug.cgi?id=763065
Martin Kelly [Thu, 18 Feb 2016 19:29:06 +0000 (11:29 -0800)]
ahc: use gst unref functions
https://bugzilla.gnome.org/show_bug.cgi?id=763065
Martin Kelly [Thu, 18 Feb 2016 22:08:13 +0000 (14:08 -0800)]
ahc: use gst new object functions
https://bugzilla.gnome.org/show_bug.cgi?id=763065
Vincent Penquerc'h [Thu, 17 Mar 2016 13:44:13 +0000 (13:44 +0000)]
interlace: fix negotiation with fixed framerate downstream
https://bugzilla.gnome.org/show_bug.cgi?id=762924
Sebastian Dröge [Thu, 24 Mar 2016 12:08:46 +0000 (14:08 +0200)]
gl/gtk: Fix compiler warning in example
fxtest.c: In function ‘main’:
fxtest.c:190:3: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
GtkWidget *window;
^~~~~~~~~
Sebastian Dröge [Thu, 24 Mar 2016 11:33:12 +0000 (13:33 +0200)]
Back to development
Sebastian Dröge [Thu, 24 Mar 2016 10:33:19 +0000 (12:33 +0200)]
Release 1.8.0
Sebastian Dröge [Thu, 24 Mar 2016 10:05:23 +0000 (12:05 +0200)]
Update .po files
Thibault Saunier [Wed, 23 Mar 2016 12:43:46 +0000 (13:43 +0100)]
vulkan: Minor string fix
Matthew Waters [Wed, 23 Mar 2016 11:13:47 +0000 (22:13 +1100)]
vulkan: VK_API_VERSION has been removed
In a stable release too, naughty.
Use VK_API_VERSION_1_0 instead
https://bugzilla.gnome.org/show_bug.cgi?id=764066
Matthew Waters [Tue, 22 Mar 2016 07:20:59 +0000 (07:20 +0000)]
gl/proto: sync operations are available on GLES 3.0
Without the GST_GL_API_GLES2 bit set, we will not even attempt to look
for the function pointers in the core library and will fallback to
glFlush/glFinish.
Matthew Waters [Tue, 22 Mar 2016 07:16:34 +0000 (07:16 +0000)]
gl/build: add GST_GL_HAVE_DMABUF to gstglconfig.h
it's exposed in public API so hiding it in an AC_DEFINE for config.h only
works when building libgstgl itself. Attempting to use libgstgl (especially
on egl platforms) will throw a compilation error.
Jimmy Ohn [Mon, 21 Mar 2016 06:22:15 +0000 (15:22 +0900)]
mxfdemux: Fix query memory leak
Peer query isn't being freed in case of GST_QUERY_SEEKING.
https://bugzilla.gnome.org/show_bug.cgi?id=763974
Sebastian Dröge [Fri, 18 Mar 2016 17:45:09 +0000 (19:45 +0200)]
vulkan: Ship missing headers with tarballs
https://bugzilla.gnome.org/show_bug.cgi?id=763877
Aleksander Wabik [Thu, 17 Mar 2016 19:24:32 +0000 (19:24 +0000)]
h264parse, h265parse: fix handling of downstream force-key-unit events
The parser handles the downstream force-key-unit event incorrectly,
it tries to parse it as an upstream force-key-unit event, does not
check the return value, and then uses uninitialized memory in
"all_headers" boolean variable.
https://bugzilla.gnome.org/show_bug.cgi?id=763793
Matthew Waters [Thu, 17 Mar 2016 11:43:12 +0000 (22:43 +1100)]
glmemory: unset GL_UNPACK_ROW_LENGTH in opengl3
If the user uploads their own texture without setting the unpack length, then
then the result will have the appearance of stride mismanagement due to
an incorrect row length.
Matthew Waters [Thu, 17 Mar 2016 05:34:42 +0000 (16:34 +1100)]
gl/examples/qt: restrict the GL API to opengl where needed
Until the examples are ported to opengl3/gles2, they will not work with any
other GL api.
Matthew Waters [Thu, 17 Mar 2016 05:31:52 +0000 (16:31 +1100)]
gl/examples/gtk: call XInitThreads
Fixes some sporadic X11 threading assertions.
Matthew Waters [Wed, 16 Mar 2016 16:06:05 +0000 (03:06 +1100)]
glutils: remove custom code for setting caps features
Just use gst_caps_set_features() instead.
Matthew Waters [Wed, 16 Mar 2016 14:52:00 +0000 (01:52 +1100)]
glfilter: only allow the same src/sink caps when we are in passthrough mode
If we are given caps with extra features (like the overlay composition
features), we can only deal with that when we are in passthrough mode.
Previously we were bailing entirely and not allowing passthrough filter elements
with things like textoverlay.
Fixes the following pipeline (assuming glfilter supports passthrough):
gl ! textoverlay ! glfilter ! ... ! glimagesinkelement
https://bugzilla.gnome.org/show_bug.cgi?id=763756
Matthew Waters [Wed, 16 Mar 2016 11:48:00 +0000 (22:48 +1100)]
glupload: deal with the ANY caps feature correctly
When transforming, xplode it out into the necessary caps features both
with and without the passthough features.
Fixes negotiation in the following class of pipelines:
gl ! textoverlay ! glupload ! glimagesinkelement
https://bugzilla.gnome.org/show_bug.cgi?id=763756
Matthew Waters [Wed, 16 Mar 2016 11:19:25 +0000 (22:19 +1100)]
wayland: fix null pointer dereference on error
gnome-shell doesn't the support wl_scaler interface which makes creating a
wayland display fail creation.
Found in the generic state changes test
Matthew Waters [Wed, 16 Mar 2016 11:16:34 +0000 (22:16 +1100)]
glstereo{mix,split}: allow running on GLES 2/3
It's mostly supported for GLES 2.x, fully supported on GLES 3.x
Sebastian Dröge [Wed, 16 Mar 2016 10:03:53 +0000 (12:03 +0200)]
openslesringbuffer: Warn if the position reported by OpenSL is higher than what we queued up so far
This would hint at wrong position reporting, and apparently sometimes happens
after a seek.
Sebastian Dröge [Wed, 16 Mar 2016 09:34:46 +0000 (11:34 +0200)]
mxfmux: Fix typo in JPEG2000 colorspace
sRGC -> sRGB
Sebastian Dröge [Tue, 15 Mar 2016 10:13:17 +0000 (12:13 +0200)]
Release 1.7.91
Sebastian Dröge [Tue, 15 Mar 2016 09:56:59 +0000 (11:56 +0200)]
Update .po files
Tim-Philipp Müller [Sat, 12 Mar 2016 15:44:54 +0000 (15:44 +0000)]
tsdemux: add video/x-h265 to template caps
Jan Schmidt [Fri, 11 Mar 2016 16:00:14 +0000 (03:00 +1100)]
mpegts: Don't leave freed programs in the hash table
When the sub-class claims a program for later freeing, make
sure it's not left in the hash table, or it can cause crashes on shutdown.
Make sure tsdemux frees any program it has kept around at shutdown
if it wasn't freed already.
https://bugzilla.gnome.org/show_bug.cgi?id=763503
Sreerenj Balachandran [Fri, 11 Mar 2016 15:34:03 +0000 (17:34 +0200)]
videoparsers: h265: Fix segfault while transforming hevc to nal aligned bytestream
Create temporary ParseFrame and copy the nal size buffer region
for each nal unit like we did for h264.
https://bugzilla.gnome.org/show_bug.cgi?id=763494
Sebastian Dröge [Fri, 11 Mar 2016 08:08:28 +0000 (10:08 +0200)]
amc: Correctly handle NULL input buffers
https://bugzilla.gnome.org/show_bug.cgi?id=763401
Sebastian Dröge [Fri, 11 Mar 2016 08:00:39 +0000 (10:00 +0200)]
amcvideodec: getOutputBuffers() returns a NULL array when a surface was configured
So don't error out if it does.
https://bugzilla.gnome.org/show_bug.cgi?id=763401
Matthew Waters [Thu, 10 Mar 2016 14:40:39 +0000 (01:40 +1100)]
gleffects; give each effect a unique long name and description
Gives applications that scrape the factory details more detailed and unique
details on the exact element.
https://bugzilla.gnome.org/show_bug.cgi?id=760566
Matthew Waters [Thu, 10 Mar 2016 06:46:05 +0000 (17:46 +1100)]
glshader: some compatibility changes for GL 1.4
GL 1.4 (with GL_ARB_shader_objects) doesn't have glIsProgram or glIsShader
equivalents. As they are simply assertions, skip them when there isn't a
valid function pointer.
Matthew Waters [Wed, 9 Mar 2016 13:29:41 +0000 (00:29 +1100)]
glfilterapp: update for the use of shaders
Fixes black output when placed in pipelines (using the default drawing).
https://bugzilla.gnome.org/show_bug.cgi?id=763365
Matthew Waters [Wed, 9 Mar 2016 13:27:53 +0000 (00:27 +1100)]
glfilter: retrieve the shader attributes from the GL thread
Otherwise we will receive bogus values
https://bugzilla.gnome.org/show_bug.cgi?id=763365
Matthew Waters [Wed, 9 Mar 2016 13:24:48 +0000 (00:24 +1100)]
gl/examples/cube*: choose opengl by default
The examples don't work with any other GL API.
Also fix the yuv example to not translate the cube out of the clipping area.
Matthew Waters [Wed, 9 Mar 2016 13:23:14 +0000 (00:23 +1100)]
gl/examples/fxtest: add needed glupload to the pipeline
Fixes a negotiation failure in the example
Edward Hervey [Mon, 7 Mar 2016 12:04:08 +0000 (13:04 +0100)]
mpegvideoparser: Handle non-hierarchical profiles again
This is a regression from since mpegvideoparser was switched to
use the codecparsing library.
The problem is that the high bit of the profile_and_level is used
to specify non-hierarchical profiles and levels. Unfortunately we
were discarding that information.
Expose that escape bit, and use it in the element
https://bugzilla.gnome.org/show_bug.cgi?id=763220
Vineeth TM [Wed, 9 Mar 2016 02:58:43 +0000 (11:58 +0900)]
glimagesink: Fix window memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=763356
Edward Hervey [Tue, 8 Mar 2016 10:41:49 +0000 (11:41 +0100)]
tsdemux: Don't reset/recalculate segments with accurate seeks
When dealing with accurate seeks, we must send out a segment which
is exactly what is requested.
https://bugzilla.gnome.org/show_bug.cgi?id=763262
Matthew Waters [Mon, 7 Mar 2016 15:06:46 +0000 (02:06 +1100)]
glvideomixer: signal continuation in reset
We want to iterate over all the pads, not just the first one. Fix by returning
TRUE in the GstAggregatorPadForeachFunc.
Removes a GST_IS_GL_CONTEXT() assertion on shutdown with >2 inputs
using gst-launch.
Matthew Waters [Mon, 7 Mar 2016 13:35:22 +0000 (00:35 +1100)]
gldisplay: make readding the same context a no-op
With
e38af2304427db908a16bbae0e60aa68be1ba5b5 returning the correct contexts,
gst_gl_display_add_context() was susceptible to causing infinte loops when
adding the same GstGLContext more than once. Fix and add a test for
gst_gl_display_add_context().
Fixes glvideomixer gst-validate tests.
Sebastian Dröge [Mon, 7 Mar 2016 06:52:54 +0000 (08:52 +0200)]
Revert "libgstgl: cocoa, eagl: don't marshal GL calls to the context thread"
This reverts commit
797d6415dfd6e111efb2cab544958a67cbf22b17.
We're frozen for 1.8.0 release and this change might have bigger impact.
Alessandro Decina [Mon, 7 Mar 2016 05:03:25 +0000 (16:03 +1100)]
libgstgl: cocoa, eagl: don't marshal GL calls to the context thread
Execute GL calls without marshalling them to the context thread. In the cocoa
and eagl backends calling gst_gl_context_activate is cheap and therefore calling
it on the current thread and serializing GL calls with a per-context lock is
more efficient (faster and has less overhead) than marshalling everything to the
context thread.
This optimization cuts a large overhead in g_poll (continuously waking up the
context thread) and in g_mutex_*/g_cond_* (waiting for results from the context
thread).
Mark Nauwelaerts [Sat, 5 Mar 2016 16:16:24 +0000 (17:16 +0100)]
gldisplay: really retrieve glcontext for a specific thread
When requesting a glcontext (regardless of thread), the result was correct.
However, when requesting current glcontext on a specific thread, it could
come up with a glcontext active on another thread.
https://bugzilla.gnome.org/show_bug.cgi?id=763168
Matthew Waters [Sun, 6 Mar 2016 08:35:38 +0000 (19:35 +1100)]
gl: misc docs fixes/additions
Matthew Waters [Sun, 6 Mar 2016 08:32:21 +0000 (19:32 +1100)]
gl*memory: document new functionality and objects
Matthew Waters [Sun, 6 Mar 2016 08:23:06 +0000 (19:23 +1100)]
docs: add new GL api to .types file for type/signal introspection
Matthew Waters [Sun, 6 Mar 2016 08:22:31 +0000 (19:22 +1100)]
docs: ignore some private GL headers
Matthew Waters [Sun, 6 Mar 2016 08:18:54 +0000 (19:18 +1100)]
docs/gl: add gl functions/structs from -unused into the docs
Mark Nauwelaerts [Sat, 5 Mar 2016 18:48:45 +0000 (19:48 +0100)]
glfilter: handle some more unfixed fields when fixating caps