Vanessa Chipirras Navalon
037f54d644
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
2016-03-30 22:12:16 +01:00
Vanessa Chipirras Navalon
4b60b47075
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
2016-03-30 22:11:49 +01:00
Vanessa Chipirras Navalon
b37c759e52
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
2016-03-30 22:10:58 +01:00
Edward Hervey
11ace3c18a
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
2016-03-29 10:57:32 +02:00
Thibault Saunier
c32e74fd8a
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
2016-03-27 19:28:00 +02:00
Nirbheek Chauhan
21023800ca
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
2016-03-27 12:04:16 +03:00
Yann Jouanin
9554e1c666
rtmpsrc plugin : add timeout option
...
https://bugzilla.gnome.org/show_bug.cgi?id=764251
2016-03-27 11:54:36 +03:00
Matthew Waters
cfbe7d1399
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
2016-03-25 17:49:14 +11:00
Vineeth TM
1ac501d427
dfbvideosink: post message to application for unhandled keyboard/mouse events
...
https://bugzilla.gnome.org/show_bug.cgi?id=763403
2016-03-24 14:58:24 +02:00
Vineeth TM
9fe6b9b86b
gtkbasesink: post message to application for unhandled keyboard/mouse events
...
https://bugzilla.gnome.org/show_bug.cgi?id=763403
2016-03-24 14:58:24 +02:00
Vineeth TM
8cdfb13658
bad: use new gst_element_class_add_static_pad_template()
...
https://bugzilla.gnome.org/show_bug.cgi?id=763081
2016-03-24 14:56:51 +02:00
Thibault Saunier
b634f08ad6
vulkan: Minor string fix
2016-03-23 13:43:46 +01:00
Matthew Waters
dcfa7ee044
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
2016-03-23 22:15:35 +11:00
Sebastian Dröge
02fff22db5
vulkan: Ship missing headers with tarballs
...
https://bugzilla.gnome.org/show_bug.cgi?id=763877
2016-03-18 19:45:09 +02:00
Matthew Waters
16dec9eacc
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
2016-03-17 02:28:32 +11:00
Matthew Waters
96754a6d52
glstereo{mix,split}: allow running on GLES 2/3
...
It's mostly supported for GLES 2.x, fully supported on GLES 3.x
2016-03-17 02:28:32 +11:00
Matthew Waters
4e7797546a
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
2016-03-11 01:40:39 +11:00
Matthew Waters
8ceeca93b2
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
2016-03-10 22:53:01 +11:00
Vineeth TM
1f32d6aff7
glimagesink: Fix window memory leak
...
https://bugzilla.gnome.org/show_bug.cgi?id=763356
2016-03-09 08:57:16 +02:00
Matthew Waters
a68c8978a6
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.
2016-03-08 02:06:46 +11:00
Joe Gorse
71bf7ffe14
hls: Add OPENSSL_CFLAGS to CFLAGS
...
https://bugzilla.gnome.org/show_bug.cgi?id=763079
2016-03-04 09:26:34 +02:00
Sergey Borovkov
7981c1cb86
qml: Fix leak of the OpenGL contexts
...
[Matthew Waters]: add NULL checks before unreffing
https://bugzilla.gnome.org/show_bug.cgi?id=762999
2016-03-03 13:13:26 +11:00
Reynaldo H. Verdejo Pinochet
b077cd5510
vksink: fix spelling on failed _ensure_data() error message
2016-03-02 14:53:46 -08:00
Vivia Nikolaidou
c3d6635bbf
mpeg2enc: Provide format as a string instead of a char to gst_structure_new
...
The format was provided as 'I420' instead of "I420", causing a crash.
2016-03-02 21:49:29 +02:00
Vineeth TM
55060ee6ce
vkswapper/vkutils: Fix gerror memory leak
...
https://bugzilla.gnome.org/show_bug.cgi?id=762842
2016-02-29 09:50:25 +02:00
Vineeth TM
d258b06013
vkdevice: Fix duplicate assignment of queue variable
...
https://bugzilla.gnome.org/show_bug.cgi?id=762842
2016-02-29 09:50:25 +02:00
Vineeth TM
e821582c13
vksink: Fix GError memory leak
...
https://bugzilla.gnome.org/show_bug.cgi?id=762842
2016-02-29 09:50:25 +02:00
Thiago Santos
38cc9070cd
dashdemux: sync index and the selected chunk when seeking
...
Otherwise the chunk selected isn't matched to the index and
the timing will be different, causing it to actually start
from a different position
2016-02-26 17:31:44 -03:00
Tim-Philipp Müller
111bb7c4c2
opus: rename plugin to opusparse for the time being
...
Until we fix it up and get rid of the opus dependency and
move it elsewhere too.
2016-02-26 00:44:34 +00:00
Tim-Philipp Müller
5f6ab24e0d
opus: remove Opus encoder/decoder, moved to -base
...
https://bugzilla.gnome.org/show_bug.cgi?id=756282
2016-02-26 00:44:34 +00:00
Tim-Philipp Müller
a50e4bcadf
opus: remove Opus RTP elements, they have moved to -good
...
https://bugzilla.gnome.org/show_bug.cgi?id=756282
2016-02-25 22:56:38 +00:00
Matthew Waters
c086540291
qt: use a static_cast instead of dynamic one
...
The dynamic_cast is a little but of overkill as the app will still crash if it
fails in the later g_assert.
Allows compilation with -fno-rtti
https://bugzilla.gnome.org/show_bug.cgi?id=762526
2016-02-24 21:20:18 +11:00
Wang Xin-yu (王昕宇)
96ac4af7bf
glmixer: iterator didn't advance in continue statement
...
Leading to a deadlock.
https://bugzilla.gnome.org/show_bug.cgi?id=760873
2016-02-24 18:27:44 +11:00
Dave Craig
a5eee1e28a
disparity: Don't assume that get_current_caps() returns non-NULL caps after has_current_caps()
...
Remove calls to gst_pad_has_current_caps() which then go on to call
gst_pad_get_current_caps() as the caps can go to NULL in between. Instead just
use gst_pad_get_current_caps() and check for NULL.
https://bugzilla.gnome.org/show_bug.cgi?id=759539
2016-02-23 18:13:37 +02:00
Florin Apostol
72e46a4478
dashdemux: correctly handle an HTTP-XSDATE that is exactly the size of the date string
...
The code in the gst_dash_demux_parse_http_xsdate() was trying to
handle the case where the string is not null terminated by resizing
the buffer and appending a zero byte. This does not work if the buffer
is exactly the length of the string because the gst_buffer_resize()
function does not re-allocate the buffer, it just changes its size.
If a buffer is passed to gst_dash_demux_parse_http_xsdate() that is
exactly the length of the string, the function fails with an assert
failure in gst_buffer_resize().
https://bugzilla.gnome.org/show_bug.cgi?id=762148
2016-02-23 14:41:35 +02:00
Matthew Waters
98752fde48
gl: fix the build
...
2d287812
was incomplete
2016-02-22 21:03:28 +11:00
Matthew Waters
2d2878125e
gl: error out if the configured GL API is unsupported by our element
...
https://bugzilla.gnome.org/show_bug.cgi?id=759801
2016-02-22 20:52:54 +11:00
Sergey Borovkov
0d80be0ce0
qmlglsink: Schedule onSceneGrpahInitialized to execute on render thread
...
onSceneGraphInitialized() is called from non render thread currently when
scene graph is already initialized.
https://bugzilla.gnome.org/show_bug.cgi?id=761003
2016-02-22 20:26:41 +11:00
Tim-Philipp Müller
95b1d4bf39
daala: don't use exported but undeclared core debug category symbols
...
It's not right and won't work on Windows with MSVC.
2016-02-20 12:55:08 +00:00
Sebastian Dröge
bce2f8f5f0
modplug: Fix compiler warning about C++11 compatibility
...
gstmodplug.cc:94:17: error: invalid suffix on literal; C++11 requires a space between literal and string macro [-Werror=literal-suffix]
#define FORMATS "{ "GST_AUDIO_NE (S32)", "GST_AUDIO_NE (S16)", U8 }"
^
gstmodplug.cc:94:39: error: invalid suffix on literal; C++11 requires a space between literal and string macro [-Werror=literal-suffix]
#define FORMATS "{ "GST_AUDIO_NE (S32)", "GST_AUDIO_NE (S16)", U8 }"
^
2016-02-18 00:24:04 +02:00
David Fernandez
55ba6f1ee8
curlbasesink: don't send empty buffers
...
Fixes problem in curlhttpsink when qtmux uses faststart.
https://bugzilla.gnome.org/show_bug.cgi?id=762013
2016-02-17 11:10:22 +00:00
Thibault Saunier
d3fc5b5175
ladspa: Fix some debugs
2016-02-17 11:17:24 +01:00
Matthew Waters
b24d28f729
glimagesink: remove unsed reconfigure variable
2016-02-17 11:42:23 +11:00
Matthew Waters
ccc17ebe10
glimagesink: don't push a reconfigure event from the GL thread
...
Doing so may cause deadlocks when other elements attempt destroy or created
GL resources.
https://bugzilla.gnome.org/show_bug.cgi?id=760559
2016-02-17 10:34:14 +11:00
Wang Xin-yu (王昕宇)
5b1872e387
glvideomixer: don't leak pad's vertex buffer on release_pad
...
https://bugzilla.gnome.org/show_bug.cgi?id=760873
2016-02-17 10:30:45 +11:00
Matthew Waters
ac690978f2
glmixer: Remove usage of GstGLMixerFrameData
...
Subclasses can just iterate over the list of pads themselves
https://bugzilla.gnome.org/show_bug.cgi?id=760873
2016-02-17 10:30:45 +11:00
Matthew Waters
0d94c9ae7f
glmixer: don't hold the object lock while calling into GL
...
Doing so can deadlock between the GL thread and the object lock e.g.
when performing reconfigure events in glimagesink on a resize event.
https://bugzilla.gnome.org/show_bug.cgi?id=760559
2016-02-17 10:30:45 +11:00
Matthew Waters
1cca847b2a
vkdevice: add the necessary but arbitrary queue priority
...
Silences an error in the validation layers.
2016-02-17 01:13:43 +11:00
Matthew Waters
49430569da
vkswapper: add the necessary call to check if the physical device supports the surface
...
Silences an error in the validation layers.
2016-02-17 01:13:43 +11:00
Matthew Waters
4ca3fdb955
vulkan: update to SDK 1.0.3.1
2016-02-17 01:13:43 +11:00
Matthew Waters
a3aa0d11ec
vkswapper: iterate over the device queue's using the new iteration API
2016-02-17 01:13:43 +11:00
Matthew Waters
ca8f2b0826
vkdevice: add callback iteration over the device queue's
2016-02-17 01:13:43 +11:00
Matthew Waters
eb4419b49b
vkqueue: add context helpers
2016-02-17 01:13:43 +11:00
Matthew Waters
5617b0904b
vkutils: move object-specific context queries to their respective files
...
vkutils now just contains some utility functions to further simplify retrieving
multiple objects.
2016-02-17 01:13:43 +11:00
Matthew Waters
d1d8a365a2
vkdevice: remove unneeded error parameter from get_queue()
2016-02-17 01:13:43 +11:00
Matthew Waters
53f99ac804
vkupload: implement an uploader abstraction
2016-02-17 01:13:43 +11:00
Matthew Waters
57bd62f85f
vkdisplay: unref the instance
...
fixes memory leak
2016-02-17 01:13:43 +11:00
Matthew Waters
7118f1f7e2
vulkan: chain up in finalize
...
They were missing in some cases
2016-02-17 01:13:43 +11:00
Matthew Waters
22172df413
vksink: only unref if the pointers are non-NULL
2016-02-17 01:13:43 +11:00
Matthew Waters
b5dce08d8f
vkimagememory: free the managing struct on _free
...
fixes a memory leak
2016-02-17 01:13:43 +11:00
Matthew Waters
68b1e18123
vkdevice: perform a waitIdle before destroying the device
2016-02-17 01:13:43 +11:00
Matthew Waters
1c2aae08c5
Revert "vulkan: remove views from the memory objects."
...
This reverts commit 1ea817298ee4d5ef9b00f888f8ebe16a888b1150.
2016-02-17 01:13:43 +11:00
Matthew Waters
3c2710dc0f
vulkanmemory: remove bind variants
2016-02-17 01:13:43 +11:00
Matthew Waters
4c0a169af9
vulkan: remove views from the memory objects.
...
They are not used and it's not possible to create the view before binding the
VkDeviceMemory object to them.
2016-02-17 01:13:43 +11:00
Matthew Waters
0309c9fbc7
vkswapper: alpha flags are now supported by LunarG's driver
2016-02-17 01:13:43 +11:00
Matthew Waters
0dd1154b73
vulkan: add a vulkanbuffer bufferpool
2016-02-17 01:13:43 +11:00
Matthew Waters
86e18d6b8f
vulkan: add upload element
2016-02-17 01:13:43 +11:00
Matthew Waters
980213ee97
vkutils: fix assert inversion
2016-02-17 01:13:43 +11:00
Matthew Waters
43afa15fac
vulkan: add caps feature names for the buffer and image memories
2016-02-17 01:13:43 +11:00
Matthew Waters
7871910bc6
vulkan: add device to handle_context_query
2016-02-17 01:13:43 +11:00
Matthew Waters
bfab93dabe
vulkan: move instance_open into the utility ensure_element_data
...
So callers don't have to perform it themselves.
2016-02-17 01:13:43 +11:00
Matthew Waters
0bcb3cdd29
vkinstance: add signal for overriding device creation
2016-02-17 01:13:43 +11:00
Matthew Waters
300f4e03b2
vulkan: separate allocation and binding of memory
2016-02-17 01:13:43 +11:00
Matthew Waters
914c1a5193
vkbuffermemory: follow the rest of the struct macros
2016-02-17 01:13:43 +11:00
Matthew Waters
16510e2cbc
vkswapper: use buffer memory to upload video frames to the GPU
2016-02-17 01:13:43 +11:00
Matthew Waters
bd41cc4557
vulkan: add a buffer memory allocator
...
Wraps the VkBuffer in a GstMemory subclass.
2016-02-17 01:13:43 +11:00
Matthew Waters
eb3f6eebce
vkmemory: align struct members in the header
2016-02-17 01:13:43 +11:00
Matthew Waters
a2ad5d9eac
vkmacros: use specific _INIT macros to initialize structures
2016-02-17 01:13:43 +11:00
Matthew Waters
6731fad9af
vkimagememory: add get_{width,height) functions
2016-02-17 01:13:43 +11:00
Matthew Waters
08fd5c2ae5
vulkan: update to release 1.0.1.1
2016-02-17 01:13:43 +11:00
Matthew Waters
700eb16af8
vulkan/xcb: flush after mapping the window
...
Otherwise the map may not reach the server and not appear.
2016-02-17 01:13:43 +11:00
Matthew Waters
28ad97059d
vkswapper: fix semaphore usage
2016-02-17 01:13:43 +11:00
Matthew Waters
0ee8fe193e
vulkan: add some debugging about the supported extensions
2016-02-17 01:13:43 +11:00
Matthew Waters
72e956fe5e
vkswapper: get the function pointers from the correct object
...
GetPhysicalDevice* functions are instance functions rather than device
functions.
2016-02-17 01:13:43 +11:00
Matthew Waters
d067ed8a9e
vkinstance: add the necessary winsys extension
2016-02-17 01:13:43 +11:00
Matthew Waters
3ed50f36ed
vkdisplay: forward declare GstVulkanDisplayType
2016-02-17 01:13:43 +11:00
Matthew Waters
f0fb45dd76
vkapi: remove unneeded headers
...
vkapi is for accessing the vulkan headers with the correct defines applied so
doesn't need any interal headers.
2016-02-17 01:13:43 +11:00
Matthew Waters
873e0d6340
vkimagememory: fix the memory barrier access masks
...
silences the following warnings from the validation layer
AccessMask xxx must have required access bit xxx and may have optional bits 0
when layout is VK_IMAGE_LAYOUT_TRANSFER_{SRC,DST}_OPTIMAL
2016-02-17 01:13:43 +11:00
Matthew Waters
9a0f415e79
vkswapper: only wait on the semaphore once
...
It's invalid usage and we may deadlock
2016-02-17 01:13:43 +11:00
Matthew Waters
2f11fc029d
vkimagememory: initialize flags and don't crash on errors
2016-02-17 01:13:43 +11:00
Matthew Waters
b38362e75f
vulkan: update error db for 0.10.2
2016-02-17 01:13:43 +11:00
Matthew Waters
6fe59754df
vulkan: update to SDK 0.10.2
2016-02-17 01:13:43 +11:00
Matthew Waters
996200ffc0
vulkan: implement GstContext helpers
...
Based off libgstgl's implementation
2016-02-17 01:13:43 +11:00
Matthew Waters
75aaf184bb
vkdevice: remove gst_vulkan_device_close()
...
When sharing the device between multiple elements/application, we need
to use th erefcount to know when to close the device.
2016-02-17 01:13:43 +11:00
Matthew Waters
5dd530daec
vkinstance: remove gst_vulkan_instance_close
...
Sharing the instance across multiple elements/application will require
using the refcount instead to know when to close and destroy the instance.
2016-02-17 01:13:43 +11:00
Matthew Waters
203c6fa55c
vkswapper: remove outdated comment
2016-02-17 01:13:43 +11:00
Matthew Waters
8819319ad1
vkswapper: always match lock/unlock of the render lock
...
If a draw event comes from the winsys before we've rendered a buffer we were
deadlocking.
2016-02-17 01:13:43 +11:00
Matthew Waters
a4e82bcef7
vkmemory: debug output the memory properties requested
2016-02-17 01:13:43 +11:00
Matthew Waters
87a35f679d
vkimagememory: don't leak GstMapInfo in failure cases on _map()
2016-02-17 01:13:43 +11:00
Matthew Waters
074cb047ef
vulkan: de-C99 struct declarations
2016-02-17 01:13:43 +11:00