Vineeth TM [Tue, 26 Jan 2016 00:34:00 +0000 (09:34 +0900)]
uvch264_src: Fix caps memory leak
v4l_caps and new_caps are being allocated new memory before freeing the
old allocation.
https://bugzilla.gnome.org/show_bug.cgi?id=761108
Vineeth TM [Thu, 24 Dec 2015 06:36:54 +0000 (15:36 +0900)]
mpegtsbase: Refactor code to check for subclass seek handling
If subclass is not able to handle seek event, then there is no need to
stop streaming and send flush events. We should simply return FALSE
https://bugzilla.gnome.org/show_bug.cgi?id=758516
Vineeth TM [Thu, 24 Dec 2015 06:10:16 +0000 (15:10 +0900)]
mpegtsbase: Add condition to check for non working negative rate
tsdemux is not able to handle negative playback rates.
But in mpegtsbase, the same check is not being done.
added a check to not handle negative rate while seeking unless
the same is handled upstream.
https://bugzilla.gnome.org/show_bug.cgi?id=758516
Matthew Waters [Wed, 17 Feb 2016 02:00:46 +0000 (13:00 +1100)]
glfilter: insert the debug marker from the GL thread
https://bugzilla.gnome.org/show_bug.cgi?id=761538
Matthew Waters [Wed, 17 Feb 2016 00:42:23 +0000 (11:42 +1100)]
glimagesink: remove unsed reconfigure variable
Matthew Waters [Wed, 13 Jan 2016 02:17:56 +0000 (13:17 +1100)]
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
Wang Xin-yu (王昕宇) [Thu, 21 Jan 2016 02:40:36 +0000 (10:40 +0800)]
glvideomixer: don't leak pad's vertex buffer on release_pad
https://bugzilla.gnome.org/show_bug.cgi?id=760873
Matthew Waters [Tue, 16 Feb 2016 14:08:18 +0000 (01:08 +1100)]
glmixer: Remove usage of GstGLMixerFrameData
Subclasses can just iterate over the list of pads themselves
https://bugzilla.gnome.org/show_bug.cgi?id=760873
Matthew Waters [Wed, 13 Jan 2016 03:41:22 +0000 (14:41 +1100)]
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
Tim-Philipp Müller [Tue, 16 Feb 2016 22:34:43 +0000 (22:34 +0000)]
Update common: make check-exports not fail for libgstgl.def
Should fix distcheck on some build bots.
Vineeth TM [Tue, 26 Jan 2016 00:37:04 +0000 (09:37 +0900)]
acmenc/acmmp3dec: remove unnecessary break after return
https://bugzilla.gnome.org/show_bug.cgi?id=761109
Thiago Santos [Tue, 21 Jul 2015 21:02:38 +0000 (18:02 -0300)]
configure: improve check for wayland-scanner binary
The plugin doesn't need the wayland-scanner package to be built
or run, it only needs the wayland-scanner program during compile time.
When cross-compiling, build systems might not have the wayland-scanner
package for the target system as it is a developer's tool, while it should
still be possible to use wayland-scanner from the host system.
This patch fixes it by not requiring the wayland-scanner package but
just the binary itself.
Note that the check is done outside of the PKG_CHECK_MODULES
as it doesn't work inside of it.
https://bugzilla.gnome.org/show_bug.cgi?id=752688
Philippe Normand [Thu, 21 Jan 2016 10:53:33 +0000 (11:53 +0100)]
adaptivedemux: restore bitrate averaging support
This was accidentally removed in commit
ccff3be3.
https://bugzilla.gnome.org/show_bug.cgi?id=733959
Philippe Normand [Wed, 20 Jan 2016 14:33:28 +0000 (15:33 +0100)]
adaptivedemux: remove queue2 overrun notification
Due to performance impact concerns this is removed. An alternative
approach would be to rely on buffering messages monitoring.
https://bugzilla.gnome.org/show_bug.cgi?id=733959
Matthew Waters [Tue, 16 Feb 2016 05:18:21 +0000 (16:18 +1100)]
vkdevice: add the necessary but arbitrary queue priority
Silences an error in the validation layers.
Matthew Waters [Tue, 16 Feb 2016 05:12:07 +0000 (16:12 +1100)]
vkswapper: add the necessary call to check if the physical device supports the surface
Silences an error in the validation layers.
Matthew Waters [Tue, 16 Feb 2016 04:53:56 +0000 (15:53 +1100)]
vulkan: update to SDK 1.0.3.1
Matthew Waters [Tue, 16 Feb 2016 04:36:41 +0000 (15:36 +1100)]
vulkan/build: search for the correct library
SDK 1.0.1 used libvulkan-1.so, 1.0.2 uses libvulkan.so
Matthew Waters [Tue, 16 Feb 2016 00:51:28 +0000 (11:51 +1100)]
vkswapper: iterate over the device queue's using the new iteration API
Matthew Waters [Tue, 16 Feb 2016 00:49:24 +0000 (11:49 +1100)]
vkdevice: add callback iteration over the device queue's
Matthew Waters [Tue, 16 Feb 2016 00:22:37 +0000 (11:22 +1100)]
vkqueue: add context helpers
Matthew Waters [Wed, 10 Feb 2016 14:31:14 +0000 (01:31 +1100)]
vkutils: move object-specific context queries to their respective files
vkutils now just contains some utility functions to further simplify retrieving
multiple objects.
Matthew Waters [Wed, 10 Feb 2016 13:50:53 +0000 (00:50 +1100)]
vkdevice: remove unneeded error parameter from get_queue()
Matthew Waters [Wed, 10 Feb 2016 07:06:46 +0000 (18:06 +1100)]
vkupload: implement an uploader abstraction
Matthew Waters [Wed, 10 Feb 2016 08:50:27 +0000 (19:50 +1100)]
vkdisplay: unref the instance
fixes memory leak
Matthew Waters [Wed, 10 Feb 2016 08:34:55 +0000 (19:34 +1100)]
vulkan: chain up in finalize
They were missing in some cases
Matthew Waters [Wed, 10 Feb 2016 07:58:32 +0000 (18:58 +1100)]
vksink: only unref if the pointers are non-NULL
Matthew Waters [Wed, 10 Feb 2016 07:05:47 +0000 (18:05 +1100)]
vkimagememory: free the managing struct on _free
fixes a memory leak
Matthew Waters [Tue, 9 Feb 2016 07:26:40 +0000 (18:26 +1100)]
vkdevice: perform a waitIdle before destroying the device
Matthew Waters [Tue, 9 Feb 2016 06:46:53 +0000 (17:46 +1100)]
Revert "vulkan: remove views from the memory objects."
This reverts commit
1ea817298ee4d5ef9b00f888f8ebe16a888b1150.
Matthew Waters [Tue, 9 Feb 2016 06:31:26 +0000 (17:31 +1100)]
vulkanmemory: remove bind variants
Matthew Waters [Tue, 9 Feb 2016 05:21:00 +0000 (16:21 +1100)]
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.
Matthew Waters [Tue, 9 Feb 2016 00:34:57 +0000 (11:34 +1100)]
vkswapper: alpha flags are now supported by LunarG's driver
Matthew Waters [Mon, 8 Feb 2016 13:07:38 +0000 (00:07 +1100)]
vulkan: add a vulkanbuffer bufferpool
Matthew Waters [Mon, 8 Feb 2016 11:49:15 +0000 (22:49 +1100)]
vulkan: add upload element
Matthew Waters [Mon, 8 Feb 2016 07:28:29 +0000 (18:28 +1100)]
vkutils: fix assert inversion
Matthew Waters [Mon, 8 Feb 2016 07:27:16 +0000 (18:27 +1100)]
vulkan: add caps feature names for the buffer and image memories
Matthew Waters [Mon, 8 Feb 2016 03:44:20 +0000 (14:44 +1100)]
vulkan: add device to handle_context_query
Matthew Waters [Mon, 8 Feb 2016 03:32:10 +0000 (14:32 +1100)]
vulkan: move instance_open into the utility ensure_element_data
So callers don't have to perform it themselves.
Matthew Waters [Mon, 8 Feb 2016 03:25:49 +0000 (14:25 +1100)]
vkinstance: add signal for overriding device creation
Matthew Waters [Mon, 8 Feb 2016 01:22:11 +0000 (12:22 +1100)]
vulkan: separate allocation and binding of memory
Matthew Waters [Mon, 8 Feb 2016 01:14:44 +0000 (12:14 +1100)]
vkbuffermemory: follow the rest of the struct macros
Matthew Waters [Fri, 5 Feb 2016 08:31:49 +0000 (19:31 +1100)]
vkswapper: use buffer memory to upload video frames to the GPU
Matthew Waters [Fri, 5 Feb 2016 08:18:40 +0000 (19:18 +1100)]
vulkan: add a buffer memory allocator
Wraps the VkBuffer in a GstMemory subclass.
Matthew Waters [Fri, 5 Feb 2016 08:11:51 +0000 (19:11 +1100)]
vkmemory: align struct members in the header
Matthew Waters [Fri, 5 Feb 2016 08:10:43 +0000 (19:10 +1100)]
vkmacros: use specific _INIT macros to initialize structures
Matthew Waters [Fri, 5 Feb 2016 08:09:41 +0000 (19:09 +1100)]
vkimagememory: add get_{width,height) functions
Matthew Waters [Wed, 27 Jan 2016 04:20:49 +0000 (15:20 +1100)]
vulkan: update to release 1.0.1.1
Matthew Waters [Fri, 22 Jan 2016 03:34:06 +0000 (14:34 +1100)]
vulkan/xcb: flush after mapping the window
Otherwise the map may not reach the server and not appear.
Matthew Waters [Mon, 4 Jan 2016 05:51:26 +0000 (16:51 +1100)]
vkswapper: fix semaphore usage
Matthew Waters [Thu, 31 Dec 2015 05:34:24 +0000 (16:34 +1100)]
vulkan: add some debugging about the supported extensions
Matthew Waters [Thu, 31 Dec 2015 04:58:37 +0000 (15:58 +1100)]
vkswapper: get the function pointers from the correct object
GetPhysicalDevice* functions are instance functions rather than device
functions.
Matthew Waters [Thu, 31 Dec 2015 04:38:37 +0000 (15:38 +1100)]
vkinstance: add the necessary winsys extension
Matthew Waters [Thu, 31 Dec 2015 04:34:45 +0000 (15:34 +1100)]
vkdisplay: forward declare GstVulkanDisplayType
Matthew Waters [Thu, 31 Dec 2015 04:32:15 +0000 (15:32 +1100)]
vkapi: remove unneeded headers
vkapi is for accessing the vulkan headers with the correct defines applied so
doesn't need any interal headers.
Matthew Waters [Wed, 30 Dec 2015 04:15:40 +0000 (15:15 +1100)]
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
Matthew Waters [Wed, 30 Dec 2015 04:14:23 +0000 (15:14 +1100)]
vkswapper: only wait on the semaphore once
It's invalid usage and we may deadlock
Matthew Waters [Wed, 30 Dec 2015 14:27:54 +0000 (01:27 +1100)]
vkimagememory: initialize flags and don't crash on errors
Matthew Waters [Wed, 30 Dec 2015 03:06:01 +0000 (14:06 +1100)]
vulkan: update error db for 0.10.2
Matthew Waters [Tue, 29 Dec 2015 05:05:17 +0000 (16:05 +1100)]
vulkan: update to SDK 0.10.2
Matthew Waters [Mon, 7 Dec 2015 06:33:43 +0000 (17:33 +1100)]
vulkan: implement GstContext helpers
Based off libgstgl's implementation
Matthew Waters [Mon, 7 Dec 2015 06:21:12 +0000 (17:21 +1100)]
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.
Matthew Waters [Mon, 7 Dec 2015 06:00:37 +0000 (17:00 +1100)]
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.
Matthew Waters [Mon, 7 Dec 2015 05:46:28 +0000 (16:46 +1100)]
vkswapper: remove outdated comment
Matthew Waters [Mon, 7 Dec 2015 05:39:53 +0000 (16:39 +1100)]
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.
Matthew Waters [Wed, 2 Dec 2015 06:54:30 +0000 (17:54 +1100)]
vkmemory: debug output the memory properties requested
Matthew Waters [Wed, 2 Dec 2015 06:14:49 +0000 (17:14 +1100)]
vkimagememory: don't leak GstMapInfo in failure cases on _map()
Matthew Waters [Wed, 2 Dec 2015 06:10:39 +0000 (17:10 +1100)]
vulkan: de-C99 struct declarations
Matthew Waters [Tue, 1 Dec 2015 07:37:34 +0000 (18:37 +1100)]
vkwindow/swapper: implement redraw handling
only xcb has been implemented
Matthew Waters [Tue, 1 Dec 2015 05:28:28 +0000 (16:28 +1100)]
vulkan: implement quitting and resizing the window
As before, only xcb has been implemented.
Matthew Waters [Sat, 24 Oct 2015 06:29:05 +0000 (17:29 +1100)]
new vulkan based video sink
Currently xcb is the only winsys that is implemented and there's no redraws et
al
Tim-Philipp Müller [Tue, 16 Feb 2016 12:38:21 +0000 (12:38 +0000)]
tests: remove test files no longer needed
Tim-Philipp Müller [Tue, 16 Feb 2016 10:44:33 +0000 (10:44 +0000)]
mpg123: move plugin from -bad to -ugly
https://bugzilla.gnome.org/show_bug.cgi?id=719849
Matthew Waters [Tue, 16 Feb 2016 08:59:13 +0000 (19:59 +1100)]
gtk(gl)sink: remove the signal handlers on finalize
It's possible that the sink element will be freed before the widget is
destroyed. When the widget was eventually destroyed, it was attempting to
access member variables of the freed sink struct which resulted in undefined
behaviour.
Fix by disconnecting our signal on finalize.
https://bugzilla.gnome.org/show_bug.cgi?id=762098
Sebastian Dröge [Tue, 16 Feb 2016 06:48:23 +0000 (08:48 +0200)]
gl: Remove leftover g_prints
One was commented out, but we also don't use // comments :)
Matthew Waters [Tue, 16 Feb 2016 03:41:37 +0000 (14:41 +1100)]
gldebug: use the correct spelling for behavior
The headers use the american spelling of behavior not the UK/AUS version with
the extra U.
Matthew Waters [Tue, 16 Feb 2016 02:58:42 +0000 (13:58 +1100)]
glcontext: don't enable GL debug for messages that won't be logged
This is an optimization to avoid pointless string processing.
Alessandro Decina [Tue, 16 Feb 2016 02:01:20 +0000 (13:01 +1100)]
glvideoflip: don't ignore method changes when caps aren't set (yet)
Tim-Philipp Müller [Tue, 16 Feb 2016 00:33:50 +0000 (00:33 +0000)]
rtp: move RTP H.265 payloader/depayloader to -good
https://bugzilla.gnome.org/show_bug.cgi?id=761606
Stian Selnes [Wed, 7 Oct 2015 21:49:58 +0000 (23:49 +0200)]
netsim: Add netsim element
Resurrected from the Farstream repository and given an
overhaul to fix races, deadlocks etc.
https://bugzilla.gnome.org/show_bug.cgi?id=756252
Florin Apostol [Fri, 20 Nov 2015 19:38:03 +0000 (19:38 +0000)]
dashdemux: gst_dash_demux_get_live_seek_range returns positive values
https://bugzilla.gnome.org/show_bug.cgi?id=752374
Tim-Philipp Müller [Wed, 10 Feb 2016 10:31:19 +0000 (10:31 +0000)]
gl: syncmeta: define GL_TIMEOUT_IGNORED in more portable way
Alessandro Decina [Wed, 10 Feb 2016 05:37:22 +0000 (16:37 +1100)]
gstglshader: cache uniform locations
Avoid redundant calls to glGetUniformLocation. The results can be cached once
the shader has been linked.
Alessandro Decina [Wed, 10 Feb 2016 04:40:02 +0000 (15:40 +1100)]
applemedia: videotesturecache: let CVOpenGLESTextureCache flush every 1s
Leave kCVOpenGLESTextureCacheMaximumTextureAgeKey to the default (1s). We used
to set it to 0 and flush manually, but apparently (looking at the GLES profiler)
0 means "disable the cache entirely".
Alessandro Decina [Wed, 10 Feb 2016 02:08:43 +0000 (13:08 +1100)]
gstglcontext: micro optimization to gst_gl_context_thread_add
Invoke the callback right away when called on the context thread. Removes
overhead when nesting libgstgl calls (for example when working with the sync
meta).
Julien MOUTTE [Wed, 6 Jan 2016 21:39:00 +0000 (21:39 +0000)]
rtpmsink: Implement setcaps that uses streamheader
This allow adding rtmpsink after the flv streaming have started. Otherwise,
FLV streamheader is never sent to the server, which cannot figure-out
what is this stream about. It should also help in certain renegotiation
figures. The sink will no longer work without an streamheader in caps,
though there is no known implementation of flvdemux that does not
support this.
https://bugzilla.gnome.org/show_bug.cgi?id=760242
Luis de Bethencourt [Tue, 9 Feb 2016 21:35:19 +0000 (21:35 +0000)]
mssdemux: remove unnecessary check
stream->current_fragment has the value of g_list_previous (iter) which has
just been checked. No need to check it again.
Just to be safe, use a g_assert() to check fragment before dereferencing.
CID #1352041
Thiago Santos [Tue, 9 Feb 2016 20:24:50 +0000 (17:24 -0300)]
dashdemux: plug mpd client leak
On parsing error, free the mpd client object
https://bugzilla.gnome.org/show_bug.cgi?id=760120
Florin Apostol [Mon, 4 Jan 2016 12:12:45 +0000 (12:12 +0000)]
dashdemux: fix memory leak in gst_dash_demux_update_manifest_data
new_client local variable was not freed in case of errors.
Also, the buffer is not unmapped.
https://bugzilla.gnome.org/show_bug.cgi?id=760120
Florin Apostol [Tue, 10 Nov 2015 22:01:38 +0000 (22:01 +0000)]
mpdparser: renamed gst_mpd_client_get_next_segment_availability_end_time to gst_mpd_client_get_next_segment_availability_start_time
The function actually returns the segment availability start time (as defined by the standard).
That is at the end of the segment, but it is called availability start time.
Availability end time is something else (the time when the segment is no longer
available on the server). The function name was misleading.
https://bugzilla.gnome.org/show_bug.cgi?id=757655
Florin Apostol [Tue, 10 Nov 2015 22:00:58 +0000 (22:00 +0000)]
mpdparser: corrected getting segment availability
https://bugzilla.gnome.org/show_bug.cgi?id=757655
Florin Apostol [Thu, 19 Nov 2015 15:30:34 +0000 (15:30 +0000)]
mpdparser: tests: added unit test for getting segment availability when segment timeline is used
https://bugzilla.gnome.org/show_bug.cgi?id=757655
Florin Apostol [Thu, 7 Jan 2016 12:50:06 +0000 (12:50 +0000)]
adaptive_demux: tests: improved validation of pads
When removing a pad, the on_demuxPadRemoved function must find a stream
for that pad.
https://bugzilla.gnome.org/show_bug.cgi?id=760328
Florin Apostol [Thu, 7 Jan 2016 12:48:12 +0000 (12:48 +0000)]
adaptive_demux: tests: fix pad used for AppSink event
on_demuxNewPad registered the on_appsink_event callback on a wrong pad.
https://bugzilla.gnome.org/show_bug.cgi?id=760328
Florin Apostol [Fri, 8 Jan 2016 16:25:12 +0000 (16:25 +0000)]
adaptivedemux: tests: remove unused demux_sent_eos callback
The demux_sent_eos callback is unused in tests. It was also registered on
a wrong pad, so it actually triggered when demux received eos from a
fragment download.
https://bugzilla.gnome.org/show_bug.cgi?id=760328
Florin Apostol [Fri, 8 Jan 2016 18:17:21 +0000 (18:17 +0000)]
adaptivedemux: tests: remove unneeded youtube xmlns from manifests
https://bugzilla.gnome.org/show_bug.cgi?id=760328
Alessandro Decina [Tue, 9 Feb 2016 03:07:54 +0000 (14:07 +1100)]
applemedia: vtdec: implement GstElement::set_context
Alessandro Decina [Tue, 9 Feb 2016 03:04:09 +0000 (14:04 +1100)]
applemedia: vtdec: update copyright
Alessandro Decina [Tue, 9 Feb 2016 02:42:48 +0000 (13:42 +1100)]
applemedia: avfvideosrc: implement GstElement::set_context
Needed to properly handle gst.gl.app_context(s).
Alessandro Decina [Tue, 9 Feb 2016 02:39:18 +0000 (13:39 +1100)]
applemedia: avfvideosrc: add myself to the copyright holders