platform/upstream/gstreamer.git
8 years agoadd .gbs.conf 27/133927/1 devel/vision
sangho park [Wed, 14 Jun 2017 04:47:59 +0000 (13:47 +0900)]
add .gbs.conf

Change-Id: I9fd66d3ef337db89c46141f13136333c9945a3a8

8 years agoadd packaging directory for initial build 22/133722/4
sangho park [Tue, 13 Jun 2017 07:42:41 +0000 (16:42 +0900)]
add packaging directory for initial build

Change-Id: I9413e789b42eb8f5017354161bb83fb2ffdb9c28

8 years agomessage: Don't pass a NULL debug string to g_utf8_validate()
Sebastian Dröge [Tue, 2 May 2017 11:35:50 +0000 (14:35 +0300)]
message: Don't pass a NULL debug string to g_utf8_validate()

g_utf8_validate() crashes on NULL, but NULL is valid for the debug
string nonetheless.

8 years agotypefind: Switch to normal mode before have-type
Jan Schmidt [Tue, 20 Dec 2016 13:40:10 +0000 (00:40 +1100)]
typefind: Switch to normal mode before have-type

Before emitting have-type, switch to NORMAL
mode, as part of the have-type processing sends
the caps event downstream, which might trigger
actions like downstream autoplugging or
flushing seeks - and the latter are only
passed upstream if we've set typefind to NORMAL
mode.

8 years agomeson: update version
Tim-Philipp Müller [Thu, 23 Feb 2017 17:22:33 +0000 (17:22 +0000)]
meson: update version

8 years agomeson: Fix build with latest upstream git
Nirbheek Chauhan [Sat, 18 Feb 2017 11:19:40 +0000 (16:49 +0530)]
meson: Fix build with latest upstream git

Trivial incorrect include_directories() call

8 years agoRelease 1.10.4 1.10.4
Sebastian Dröge [Thu, 23 Feb 2017 13:51:57 +0000 (15:51 +0200)]
Release 1.10.4

8 years agoUpdate .po files
Sebastian Dröge [Thu, 23 Feb 2017 13:12:42 +0000 (15:12 +0200)]
Update .po files

8 years agobytereader: fix peek value when scanning for 00 00 01 with non-0 offset
Tim-Philipp Müller [Tue, 21 Feb 2017 20:23:51 +0000 (20:23 +0000)]
bytereader: fix peek value when scanning for 00 00 01 with non-0 offset

We would add the offset a second time in _scan_for_start_code()
when we found a result, but it's already been added to the data
pointer at the beginning of _masked_scan_uint32_peek(), so the
peeked value would be wrong if the initial offset was >0, and
we would potentially read memory out-of-bounds.

Add unit test for all of this.

https://bugzilla.gnome.org/show_bug.cgi?id=778365

8 years agoinfo: put () around macro arguments
Wim Taymans [Mon, 20 Feb 2017 11:16:32 +0000 (12:16 +0100)]
info: put () around macro arguments

Put braces around macro arguments or else we might run into problems
with operater precedence.

8 years agodeviceproviderfactory: fix empty class check
Wim Taymans [Mon, 20 Feb 2017 09:49:46 +0000 (10:49 +0100)]
deviceproviderfactory: fix empty class check

8 years agoparse: Don't translate the "bin" element name
Sebastian Dröge [Tue, 31 Jan 2017 19:19:18 +0000 (21:19 +0200)]
parse: Don't translate the "bin" element name

Otherwise we won't be able to create bins, there is no element called
"Behälter" if you're using a German locale.

https://bugzilla.gnome.org/show_bug.cgi?id=777998

8 years agoRelease 1.10.3
Sebastian Dröge [Mon, 30 Jan 2017 14:26:20 +0000 (16:26 +0200)]
Release 1.10.3

8 years agoUpdate .po files
Sebastian Dröge [Mon, 30 Jan 2017 13:22:00 +0000 (15:22 +0200)]
Update .po files

8 years agodatetime: fix potential out-of-bound read on malformed datetime string
Tim-Philipp Müller [Sun, 15 Jan 2017 11:52:44 +0000 (11:52 +0000)]
datetime: fix potential out-of-bound read on malformed datetime string

https://bugzilla.gnome.org/show_bug.cgi?id=777263

8 years agocaps: Fix null pointer dereference on invalid static caps
Jan Schmidt [Mon, 2 Jan 2017 15:11:27 +0000 (02:11 +1100)]
caps: Fix null pointer dereference on invalid static caps

A typo in a static caps string may result in failure to
deserialise it, so don't dereference the result without
checking.

8 years agoqueue: Don't generate GST_FLOW_ERROR without logging
Jan Schmidt [Mon, 2 Jan 2017 15:13:30 +0000 (02:13 +1100)]
queue: Don't generate GST_FLOW_ERROR without logging

At least log a message to the debug log when generating
a GST_FLOW_ERROR, to make it possible to find where it came from.

8 years agopadtemplate: Fix null pointer dereference on invalid static caps
Jan Schmidt [Mon, 2 Jan 2017 15:12:27 +0000 (02:12 +1100)]
padtemplate: Fix null pointer dereference on invalid static caps

A typo in a static caps string may result in failure to
deserialise it, so don't dereference the result without
checking.

8 years agotools: gst-launch: set GST_GL_XINITTHREADS
Nicolas Dechesne [Thu, 22 Dec 2016 17:45:10 +0000 (18:45 +0100)]
tools: gst-launch: set GST_GL_XINITTHREADS

This ensure that XInitThreads is called and so gl contexts are properly
initialized.

https://bugzilla.gnome.org/show_bug.cgi?id=776401

8 years agobasesink: fix a use after free case
Fabrice Bellet [Wed, 30 Nov 2016 20:17:55 +0000 (21:17 +0100)]
basesink: fix a use after free case

The event may be disposed while being pushed, so we make sure the
debug infrastructure won't use it after the gst_pad_push().

8 years agoqueue/queue2: Ensure that the streaming thread is unlocked after deactivating the...
Sebastian Dröge [Tue, 13 Dec 2016 18:00:55 +0000 (20:00 +0200)]
queue/queue2: Ensure that the streaming thread is unlocked after deactivating the srcpad

It might happen that the srcpad task function is never called at all, in
which case unlocking everything from there will never happen.

Make sure to unlock everything another time after the task function is
definitely stopped.

https://bugzilla.gnome.org/show_bug.cgi?id=776039

8 years agomultiqueue: Fix overflow on get_buffering_level()
Seungha Yang [Sat, 10 Dec 2016 09:38:32 +0000 (18:38 +0900)]
multiqueue: Fix overflow on get_buffering_level()

guint64 denominator factor for gst_util_uint64_scale_int() can cause overflow

https://bugzilla.gnome.org/show_bug.cgi?id=775921

8 years agotracer: move the PAD_LINK tracer hook to _pad_link_full()
Stefan Sauer [Thu, 8 Dec 2016 19:20:17 +0000 (20:20 +0100)]
tracer: move the PAD_LINK tracer hook to _pad_link_full()

This is ultimately executing the pad_link. In the previous position we missed
some links, notably ghostpads.

8 years agofilesrc: Set GError in another error case
Edward Hervey [Mon, 12 Dec 2016 15:19:13 +0000 (16:19 +0100)]
filesrc: Set GError in another error case

When changing the location while open, properly set the GError regarding
the failure.

8 years agogstconfig: Fix unaligned access support for arc and nios2 architectures
Peter Seiderer [Tue, 6 Dec 2016 21:32:31 +0000 (22:32 +0100)]
gstconfig: Fix unaligned access support for arc and nios2 architectures

Fixes buildroot autobuild failures ([1], [2]).

[1] http://autobuild.buildroot.net/results/fbd/fbdcd90635d5ec3a62ad98a7ff93b71b8e5ecde4
[2] http://autobuild.buildroot.net/results/f3c/f3c9b0ed4ffb114221057237ce22c995b673a98b

https://bugzilla.gnome.org/show_bug.cgi?id=775728

8 years agohelpers/gst: Get bash completion options from gst-launch
Ricardo Ribalda Delgado [Tue, 6 Dec 2016 15:27:23 +0000 (16:27 +0100)]
helpers/gst: Get bash completion options from gst-launch

It is more likely that gst-launch is installed than ges-launch

Reported-by: Marianna Smidth Buschle <msb@qtec.com>
https://bugzilla.gnome.org/show_bug.cgi?id=775714

8 years agonet: set clock name in the constructor
Marcin Kolny [Fri, 2 Dec 2016 21:47:32 +0000 (22:47 +0100)]
net: set clock name in the constructor

gst_net_client_clock_new() and gst_ntp_clock_new() didn't set the
"name" property.

https://bugzilla.gnome.org/show_bug.cgi?id=775538

8 years agogstconfig: Fix unaligned access support for microblaze and xtensa architectures
Peter Seiderer [Mon, 5 Dec 2016 20:09:52 +0000 (21:09 +0100)]
gstconfig: Fix unaligned access support for microblaze and xtensa architectures

Fixes buildroot autobuild failures, for details see:
http://lists.busybox.net/pipermail/buildroot/2016-December/178895.html

https://bugzilla.gnome.org/show_bug.cgi?id=775661

8 years agoelements: Handle GstIterator RESYNC return value correctly in gst_iterator_foreach()
Sebastian Dröge [Mon, 5 Dec 2016 09:01:45 +0000 (11:01 +0200)]
elements: Handle GstIterator RESYNC return value correctly in gst_iterator_foreach()

8 years agobin: Make sure to resync iterators and handle RESYNC at all in gst_iterator_foreach...
Sebastian Dröge [Thu, 1 Dec 2016 16:20:11 +0000 (18:20 +0200)]
bin: Make sure to resync iterators and handle RESYNC at all in gst_iterator_foreach() calls

8 years agoRelease 1.10.2
Sebastian Dröge [Tue, 29 Nov 2016 14:20:15 +0000 (16:20 +0200)]
Release 1.10.2

8 years agoUpdate .po files
Sebastian Dröge [Tue, 29 Nov 2016 13:25:41 +0000 (15:25 +0200)]
Update .po files

8 years agopo: Update translations
Sebastian Dröge [Tue, 29 Nov 2016 12:08:41 +0000 (14:08 +0200)]
po: Update translations

8 years agogstutils: Fix a pad leak
Edward Hervey [Mon, 28 Nov 2016 12:48:16 +0000 (13:48 +0100)]
gstutils: Fix a pad leak

When requesting a pad from a template and it's already linked, this
means it was a static pad. Since we only want to return an *available*
pad, we must return NULL ... but we must also remove the reference
we got from getting that static pad.

The "No need to unref" message (which wasn't true for quite some time)
dates back from the very very very first commit introducing the 0.10
features.

8 years agomessage: Ensure that the "debug" field of error/warning/info messages is valid UTF-8
Sebastian Dröge [Mon, 28 Nov 2016 10:28:28 +0000 (12:28 +0200)]
message: Ensure that the "debug" field of error/warning/info messages is valid UTF-8

The caller might pass arbitrary data here that caused the error, and
trying to set invalid UTF-8 in a GstStructure causes it to be not set at
all. Later when trying to parse it, the field will not exist and the
return value will point to invalid memory. Prevent this by storing NULL
instead.

Also print a g_warning(), the caller should never ever do this to begin
with.

8 years agoqueues: Don't return negative position queries.
Jan Schmidt [Tue, 15 Nov 2016 11:39:43 +0000 (22:39 +1100)]
queues: Don't return negative position queries.

When subtracting queued data sizes from upstream queries
in queue, queue2, downloadbuffer and typefind, clamp the
result to not go negative, in case upstream returned
a nonsense value that's too small (as could happen if
upstream is estimating, or just broken)

8 years agomeson: update version
Tim-Philipp Müller [Sun, 20 Nov 2016 14:51:32 +0000 (14:51 +0000)]
meson: update version

8 years agoRelease 1.10.1
Sebastian Dröge [Thu, 17 Nov 2016 13:51:39 +0000 (15:51 +0200)]
Release 1.10.1

8 years agoUpdate .po files
Sebastian Dröge [Thu, 17 Nov 2016 12:46:26 +0000 (14:46 +0200)]
Update .po files

8 years agopo: Update translations
Sebastian Dröge [Thu, 17 Nov 2016 12:42:21 +0000 (14:42 +0200)]
po: Update translations

8 years agoUpdate .po files
Sebastian Dröge [Thu, 17 Nov 2016 12:39:04 +0000 (14:39 +0200)]
Update .po files

8 years agomultiqueue: Make sure not-linked streams get woken up
Jan Schmidt [Wed, 16 Nov 2016 12:19:28 +0000 (23:19 +1100)]
multiqueue: Make sure not-linked streams get woken up

When running in sync-by-running-time mode, pad groups
that have exactly 1 pad and it's not-linked might never
wake up after computing a high time, as the per-pad-group
high time was only recomputed when a pad in the group
advances.

Wake those up using the global multiqueue high-time across
all other groups instead.

https://bugzilla.gnome.org/show_bug.cgi?id=774322

8 years agotee: Set GST_PAD_FLAG_PROXY_CAPS before forwarding sticky events
Sebastian Dröge [Tue, 29 Mar 2016 07:38:05 +0000 (10:38 +0300)]
tee: Set GST_PAD_FLAG_PROXY_CAPS before forwarding sticky events

https://bugzilla.gnome.org/show_bug.cgi?id=752213

8 years agoadapter: fix distance when getting prev pts/dts at offset
Nicolas Huet [Wed, 27 Apr 2016 08:57:29 +0000 (10:57 +0200)]
adapter: fix distance when getting prev pts/dts at offset

https://bugzilla.gnome.org/show_bug.cgi?id=765662

8 years agobasetransform: fix pool leak when early returning in decide_allocation
Guillaume Desmottes [Thu, 21 Jul 2016 08:52:30 +0000 (10:52 +0200)]
basetransform: fix pool leak when early returning in decide_allocation

https://bugzilla.gnome.org/show_bug.cgi?id=769023

8 years agomeson: Add GstBase-1.0.gir to gst_base_dep
Nirbheek Chauhan [Thu, 10 Nov 2016 23:11:39 +0000 (04:41 +0530)]
meson: Add GstBase-1.0.gir to gst_base_dep

Without this, GIR generators can't find and use it

8 years agotests: Fix compile warning on mingw64
Victor Toso [Tue, 8 Nov 2016 16:09:53 +0000 (17:09 +0100)]
tests: Fix compile warning on mingw64

In file included from ../../libs/gst/net/gstntppacket.c:35:0,
                 from netclock-replay.c:25:
../../config.h:546:0: error: "__MSVCRT_VERSION__" redefined [-Werror]
 #define __MSVCRT_VERSION__ 0x0601

In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/crtdefs.h:10:0,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/stdio.h:9,
                 from netclock-replay.c:21:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/_mingw.h:220:0: note:
this is the location of the previous definition
 # define __MSVCRT_VERSION__ 0x0700

https://bugzilla.gnome.org/show_bug.cgi?id=774108

8 years agopool: Fix compiler warning on mingw64
Victor Toso [Tue, 8 Nov 2016 15:58:53 +0000 (16:58 +0100)]
pool: Fix compiler warning on mingw64

gstpoll.c: In function 'release_event':
gstpoll.c:239:3: error: suggest parentheses around assignment used as
          truth value [-Werror=parentheses]

   if (status = WaitForSingleObject (set->wakeup_event, INFINITE)) {
   ^~

https://bugzilla.gnome.org/show_bug.cgi?id=774108

8 years agoclock_gettime.c: Use __APPLE__ instead of __MACH__
Nirbheek Chauhan [Wed, 2 Nov 2016 08:41:43 +0000 (14:11 +0530)]
clock_gettime.c: Use __APPLE__ instead of __MACH__

Hurd also defines __MACH__, but it does not have mach_absolute_time. Use
the more strict __APPLE__ instead.

Has also been sent upstream: https://github.com/libcheck/check/pull/65

8 years agomeson: Unset the plugin paths to generate the .gir files
Thibault Saunier [Fri, 4 Nov 2016 13:19:17 +0000 (10:19 -0300)]
meson: Unset the plugin paths to generate the .gir files

Avoiding problems when using subproject:

    Failed to load plugin 'something.so: file too short

8 years agomeson: Advertise dependency on gst_dep generating girs
Thibault Saunier [Wed, 9 Nov 2016 17:07:28 +0000 (14:07 -0300)]
meson: Advertise dependency on gst_dep generating girs

And do not simply link to libgst as the gir information
location only exist in declare_dependecy

https://bugzilla.gnome.org/show_bug.cgi?id=774044

8 years agobuild: Fix AM_CONDITIONAL check for clock_gettime
Nirbheek Chauhan [Wed, 2 Nov 2016 08:31:38 +0000 (14:01 +0530)]
build: Fix AM_CONDITIONAL check for clock_gettime

It was always evaluating to false, so clock_gettime.c was always being
included into libcheck. This breaks building on Hurd and causes us to
always override clock_gettime() even when it is available.

https://bugzilla.gnome.org/show_bug.cgi?id=773813

8 years agomeson: update version
Tim-Philipp Müller [Tue, 1 Nov 2016 19:40:32 +0000 (19:40 +0000)]
meson: update version

8 years agoRelease 1.10.0
Sebastian Dröge [Tue, 1 Nov 2016 15:50:24 +0000 (17:50 +0200)]
Release 1.10.0

8 years agoUpdate .po files
Sebastian Dröge [Tue, 1 Nov 2016 15:40:11 +0000 (17:40 +0200)]
Update .po files

8 years agopo: Update translations
Sebastian Dröge [Tue, 1 Nov 2016 15:38:43 +0000 (17:38 +0200)]
po: Update translations

8 years agoUpdate .po files
Sebastian Dröge [Tue, 1 Nov 2016 15:36:02 +0000 (17:36 +0200)]
Update .po files

8 years agomeson: Add an option to explicitly disable gtk-doc
Nirbheek Chauhan [Tue, 25 Oct 2016 06:51:07 +0000 (12:21 +0530)]
meson: Add an option to explicitly disable gtk-doc

Similar to how Autotools provides an option, default is 'enabled'.

8 years agoRevert "collectpads: Assume PTS is equal DTS if PTS is missing"
Nicolas Dufresne [Mon, 24 Oct 2016 15:45:38 +0000 (11:45 -0400)]
Revert "collectpads: Assume PTS is equal DTS if PTS is missing"

This reverts commit 9b0d42ceecb3198399d7e05e3d5f080a7ca27ca9.

https://bugzilla.gnome.org/show_bug.cgi?id=762207

8 years agoallocator: Mark registered allocator for leak
Nicolas Dufresne [Tue, 18 Oct 2016 15:59:25 +0000 (11:59 -0400)]
allocator: Mark registered allocator for leak

8 years agogstmessage.h: Avoid gcc bit shift overflow compiler warning
Andrew Eikum [Tue, 21 Jun 2016 13:00:30 +0000 (08:00 -0500)]
gstmessage.h: Avoid gcc bit shift overflow compiler warning

Avoids bit shift overflow warning with gcc6.

https://bugzilla.gnome.org/show_bug.cgi?id=767882 (glib)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71803 (gcc)
https://bugzilla.gnome.org/show_bug.cgi?id=767883

8 years agoparse: fix erroneous use of _("")
Tim-Philipp Müller [Sun, 23 Oct 2016 21:11:08 +0000 (22:11 +0100)]
parse: fix erroneous use of _("")

Fixes xgettext warnings when doing 'make update-po':
gst/parse/grammar.y:217: warning: Empty msgid.  It is reserved by GNU gettext:
                                  gettext("") returns the header entry with
                                  meta information, not the empty string.

8 years agodocs: add index for API new in 1.10
Tim-Philipp Müller [Sat, 22 Oct 2016 16:05:44 +0000 (17:05 +0100)]
docs: add index for API new in 1.10

8 years agodocs: add index for API new in 1.8
Tim-Philipp Müller [Sat, 22 Oct 2016 16:05:25 +0000 (17:05 +0100)]
docs: add index for API new in 1.8

8 years agoadapter: Fix mix-up between DTS and PTS
Jesper Larsen [Fri, 21 Oct 2016 13:40:47 +0000 (15:40 +0200)]
adapter: Fix mix-up between DTS and PTS

https://bugzilla.gnome.org/show_bug.cgi?id=773319

8 years agoRevert "queue: Fix race when calculating cur_level.time"
Sebastian Dröge [Fri, 21 Oct 2016 12:22:28 +0000 (15:22 +0300)]
Revert "queue: Fix race when calculating cur_level.time"

This reverts commit d03bd547809f849405a3f706920091d9b03147b0.

It breaks the unit test, although it ensures that only correct values
are used for calculations. Needs to be fixed up.

https://bugzilla.gnome.org/show_bug.cgi?id=773096

8 years agoRevert "meson: Use the new `pic` argument on static libs"
Thibault Saunier [Thu, 20 Oct 2016 20:19:25 +0000 (17:19 -0300)]
Revert "meson: Use the new `pic` argument on static libs"

This reverts commit a5752240a178c2c651ed10167025fad8b9c4e7bd.

pic was added after 0.35 and will be present in 0.36 (meson
documentation was wrong).

8 years agomeson: Use the new `pic` argument on static libs
Thibault Saunier [Thu, 20 Oct 2016 18:38:46 +0000 (15:38 -0300)]
meson: Use the new `pic` argument on static libs

We depend on meson 0.35 which makes it simpler to handle

Removes a meson warning

8 years agoqueue: Fix race when calculating cur_level.time
Stian Selnes [Wed, 14 Sep 2016 12:23:56 +0000 (14:23 +0200)]
queue: Fix race when calculating cur_level.time

On the first buffer, it's possible that sink_segment is set but
src_segment has not been set yet. If this is the case, we should not
calculate cur_level.time since sink_segment.position may be large and
src_segment.position default is 0, with the resulting diff being larger
than max-size-time, causing the queue to start leaking (if
leaky=downstream).

One potential consequence of this is that the segment event may be
stored on the srcpad before the caps event is pushed downstream, causing
a g_warning ("Sticky event misordering, got 'segment' before 'caps'").

https://bugzilla.gnome.org/show_bug.cgi?id=773096

8 years agoelement: use g_strcmp0 in set_context
Matthew Waters [Mon, 26 Sep 2016 14:00:30 +0000 (00:00 +1000)]
element: use g_strcmp0 in set_context

It's NULL-safe while the libc implementation may not be.

https://bugzilla.gnome.org/show_bug.cgi?id=771773

8 years agoelement: check for invalid gstcontext's being provided to set_context
Matthew Waters [Mon, 26 Sep 2016 13:59:29 +0000 (23:59 +1000)]
element: check for invalid gstcontext's being provided to set_context

https://bugzilla.gnome.org/show_bug.cgi?id=771773

8 years agobuild: Apply XCode 8 workaround for iOS too
Nirbheek Chauhan [Tue, 18 Oct 2016 04:08:04 +0000 (09:38 +0530)]
build: Apply XCode 8 workaround for iOS too

clock_gettime was also added for iOS 10.0, so don't use it if we're
targetting an older version. That would've caused the symbol to not be
found at runtime on older devices.

8 years agomeson: Don't use c_std=c99
Nirbheek Chauhan [Sat, 15 Oct 2016 16:19:21 +0000 (21:49 +0530)]
meson: Don't use c_std=c99

Just use the default c_std used by the compiler. With GCC on Linux this
is gnu89.

Tons of errors related to time.h, signal.h, etc when using c99:

FAILED: libs/gst/check/libcheck/check@sta/check_run.c.o
cc  '-Ilibs/gst/check/libcheck/check@sta' '-fdiagnostics-color=always' '-I../libs/gst/check/libcheck' '-Ilibs/gst/check/libcheck' '-I.' '-I../.' '-Ilibs/gst/check/libcheck/..' '-I../libs/gst/check/libcheck/..' '-pipe' '-Wall' '-Winvalid-pch' '-std=c99' '-DHAVE_CONFIG_H' '-fPIC' '-O2' '-g' '-fPIC' '-MMD' '-MQ' 'libs/gst/check/libcheck/check@sta/check_run.c.o' '-MF' 'libs/gst/check/libcheck/check@sta/check_run.c.o.d' -o 'libs/gst/check/libcheck/check@sta/check_run.c.o' -c ../libs/gst/check/libcheck/check_run.c
In file included from ../libs/gst/check/libcheck/check_run.c:21:0:
../libs/gst/check/libcheck/libcompat.h:167:18: warning: ‘struct itimerspec’ declared inside parameter list will not be visible outside of this definition or declaration
     const struct itimerspec *new_value, struct itimerspec *old_value);
                  ^~~~~~~~~~
../libs/gst/check/libcheck/check_run.c:98:25: error: array type has incomplete element type ‘struct sigaction’
 static struct sigaction old_action[3];
                         ^~~~~~~~~~
../libs/gst/check/libcheck/check_run.c:99:25: error: array type has incomplete element type ‘struct sigaction’
 static struct sigaction new_action[3];
                         ^~~~~~~~~~

[...]

ninja: build stopped: subcommand failed.

The change was originally made because gnu99 was causing issues on OS X.

8 years agostats: Fix warning
Thibault Saunier [Fri, 14 Oct 2016 09:59:24 +0000 (11:59 +0200)]
stats: Fix warning

8 years agomeson: Make use of new environment object and set plugin path to builddir
Thibault Saunier [Tue, 4 Oct 2016 12:20:37 +0000 (09:20 -0300)]
meson: Make use of new environment object and set plugin path to builddir

- Properly set where to find gst-plugin-scanner
- Use GST_LOADING_WHITELIST so that only core plugins are used

Bump meson requirement to 0.35

8 years agocontrolbinding: Store object in a thread-safe GWeakRef
Sebastian Dröge [Thu, 13 Oct 2016 16:20:58 +0000 (18:20 +0200)]
controlbinding: Store object in a thread-safe GWeakRef

g_object_weak_ref() is not thread-safe.

8 years agoargbcontrolbinding: gst_object_replace() is transfer none
Sebastian Dröge [Thu, 13 Oct 2016 16:02:38 +0000 (18:02 +0200)]
argbcontrolbinding: gst_object_replace() is transfer none

8 years agodirectcontrolbinding: Clarify in the documentation what the difference between absolu...
Sebastian Dröge [Thu, 13 Oct 2016 16:01:14 +0000 (18:01 +0200)]
directcontrolbinding: Clarify in the documentation what the difference between absolute and not is

8 years agocontrolsource: Remove misleading sentence from the documentation
Sebastian Dröge [Thu, 13 Oct 2016 15:55:45 +0000 (17:55 +0200)]
controlsource: Remove misleading sentence from the documentation

control sources are not required to return values between 0.0 and 1.0.
This is completely up to the control binding that is used.

8 years agoobject: Fix broken sentence structure in docs
Sebastian Dröge [Thu, 13 Oct 2016 15:21:30 +0000 (17:21 +0200)]
object: Fix broken sentence structure in docs

8 years agotracers: fix structure leak
Vincent Penquerc'h [Thu, 13 Oct 2016 11:18:12 +0000 (12:18 +0100)]
tracers: fix structure leak

https://bugzilla.gnome.org/show_bug.cgi?id=772851

8 years agostreams: Extend GstStreamType documentation
Edward Hervey [Thu, 13 Oct 2016 10:03:20 +0000 (12:03 +0200)]
streams: Extend GstStreamType documentation

Users shouldn't assume it will be a single value since it's a flag.

8 years agobuild: Fix clock_gettime check with XCode 8
Nirbheek Chauhan [Mon, 3 Oct 2016 14:52:53 +0000 (20:22 +0530)]
build: Fix clock_gettime check with XCode 8

With XCode 8, clock_gettime will be incorrectly detected as being
available regardless of what OS X version we're targetting because the
symbol is available in the .tbd library as a weak symbol.
See: https://github.com/Homebrew/homebrew-core/issues/3727#issue-170086273

It's only starting from macOS 10.12 that clock_gettime is actually
available, so we can unconditionally disable it when targetting older
versions. We cannot simply do AC_CHECK_FUNCS with -Wl,-no_weak_imports
because the autoconf check does its own prototype declaration that
doesn't trigger that compiler flag.

https://bugzilla.gnome.org/show_bug.cgi?id=772451

8 years agobin: Add a new GST_BIN_FLAG_STREAMS_AWARE flag
Edward Hervey [Tue, 11 Oct 2016 10:12:57 +0000 (12:12 +0200)]
bin: Add a new GST_BIN_FLAG_STREAMS_AWARE flag

This flag is to indicate to child elements that they can add and
remove pads at any point in time without re-adding existing ones.

Elements should post before-hand a GST_MESSAGE_STREAM_COLLECTION

https://bugzilla.gnome.org/show_bug.cgi?id=772741

8 years agodocs: paths in env vars are separated by semicolons on windows
Tim-Philipp Müller [Mon, 10 Oct 2016 09:59:26 +0000 (10:59 +0100)]
docs: paths in env vars are separated by semicolons on windows

https://bugzilla.gnome.org/show_bug.cgi?id=772431

8 years agodocs: fix GST_LEAKS_TRACER_SIG doc
Guillaume Desmottes [Fri, 7 Oct 2016 15:02:47 +0000 (17:02 +0200)]
docs: fix GST_LEAKS_TRACER_SIG doc

The documentation wasn't mentioning the SIGUSR2 signal.

https://bugzilla.gnome.org/show_bug.cgi?id=772571

8 years agobin: Fix iterator resync'ing
Edward Hervey [Sat, 8 Oct 2016 15:23:08 +0000 (17:23 +0200)]
bin: Fix iterator resync'ing

When we get GST_ITERATOR_RESYNC, we need to call gst_iterator_resync()
otherwise we will always get GST_ITERATOR_RESYNC (and that loop would
run forever).

8 years agoqueue2: Implement gst_event_full_func handling
Edward Hervey [Sat, 8 Oct 2016 11:54:42 +0000 (13:54 +0200)]
queue2: Implement gst_event_full_func handling

Same as we do for queue

8 years agotracer/rusage: fix format string args
Stefan Sauer [Sat, 8 Oct 2016 11:20:58 +0000 (13:20 +0200)]
tracer/rusage: fix format string args

The format string contains a process id, but we did not provice one. This
caused us to log garbage since all args got shifted.

8 years agomessage: Fix typo in gst_message_new_progress() docs
Sebastian Dröge [Sat, 1 Oct 2016 13:47:05 +0000 (16:47 +0300)]
message: Fix typo in gst_message_new_progress() docs

test -> text

8 years agomeson: Setup pre-commit hooks when configuring
Thibault Saunier [Fri, 30 Sep 2016 12:57:57 +0000 (09:57 -0300)]
meson: Setup pre-commit hooks when configuring

8 years agomeson: update version
Tim-Philipp Müller [Fri, 30 Sep 2016 10:38:37 +0000 (11:38 +0100)]
meson: update version

8 years agoRelease 1.9.90
Sebastian Dröge [Fri, 30 Sep 2016 10:01:17 +0000 (13:01 +0300)]
Release 1.9.90

8 years agoUpdate .po files
Sebastian Dröge [Fri, 30 Sep 2016 09:08:52 +0000 (12:08 +0300)]
Update .po files

8 years agopo: Update translations
Sebastian Dröge [Fri, 30 Sep 2016 08:41:14 +0000 (11:41 +0300)]
po: Update translations

8 years agomeson: tracers: signal availability of libunwind and backtrace() to code
Tim-Philipp Müller [Tue, 27 Sep 2016 17:00:47 +0000 (18:00 +0100)]
meson: tracers: signal availability of libunwind and backtrace() to code

Not setting cdata here on purpose because of .. complications.

8 years agomeson: Build tracers
Thibault Saunier [Mon, 26 Sep 2016 21:21:19 +0000 (18:21 -0300)]
meson: Build tracers

8 years agomeson: Fix gtkdoc using new meson features
Thibault Saunier [Fri, 23 Sep 2016 23:40:39 +0000 (20:40 -0300)]
meson: Fix gtkdoc using new meson features

8 years agotests: remove unused valgrind stuff
Tim-Philipp Müller [Mon, 26 Sep 2016 11:14:14 +0000 (12:14 +0100)]
tests: remove unused valgrind stuff

Code was also checking the wrong define anyway.

8 years agotests: parse-launch: looks clean nowadays, so re-enable for valgrind
Tim-Philipp Müller [Mon, 26 Sep 2016 11:12:12 +0000 (12:12 +0100)]
tests: parse-launch: looks clean nowadays, so re-enable for valgrind

Also, the valgrind bits weren't hooked up properly anyway,
checking the wrong define.