platform/upstream/gstreamer.git
6 years agoUpdate for g_type_class_add_private() deprecation in recent GLib
Tim-Philipp Müller [Sat, 23 Jun 2018 15:01:09 +0000 (17:01 +0200)]
Update for g_type_class_add_private() deprecation in recent GLib

https://gitlab.gnome.org/GNOME/glib/merge_requests/7

6 years agoconcat: Properly forward the SEGMENT seqnum
Edward Hervey [Mon, 18 Jun 2018 14:29:18 +0000 (16:29 +0200)]
concat: Properly forward the SEGMENT seqnum

6 years agoevent: Unset SNAP flags when creating a new seek event without KEY_UNIT flag
Sebastian Dröge [Mon, 11 Jun 2018 07:22:39 +0000 (10:22 +0300)]
event: Unset SNAP flags when creating a new seek event without KEY_UNIT flag

The SNAP flags only make sense in combination with the KEY_UNIT flag,
and without they expose all kinds of unexpected behaviour in various
elements that don't expect this from happening.

Also warn if this ever happens.

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

6 years agoevent: Require writable events for setting the running-time-offset and sequence number
Sebastian Dröge [Mon, 18 Jun 2018 06:17:36 +0000 (09:17 +0300)]
event: Require writable events for setting the running-time-offset and sequence number

Otherwise multiple code paths with the same event could change the
values on each other.

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

6 years agogst_structure_to_string: display actual value of pointers
Guillaume Desmottes [Thu, 15 Mar 2018 11:43:56 +0000 (12:43 +0100)]
gst_structure_to_string: display actual value of pointers

We used to always display "NULL" which was pretty confusing when
debugging.

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

6 years agostream: Add some missing API safe guards
Thibault Saunier [Wed, 13 Jun 2018 20:27:24 +0000 (16:27 -0400)]
stream: Add some missing API safe guards

6 years agopoll: minor docs clarification
Tim-Philipp Müller [Fri, 8 Jun 2018 16:58:43 +0000 (17:58 +0100)]
poll: minor docs clarification

'Not implemented' could be misinterpreted to mean that
the API doesn't even exist there.

6 years agowin32: update for new API
Tim-Philipp Müller [Fri, 8 Jun 2018 16:57:01 +0000 (17:57 +0100)]
win32: update for new API

6 years agopoll: add API to watch for POLLPRI
Guillaume Desmottes [Thu, 5 Apr 2018 10:40:09 +0000 (12:40 +0200)]
poll: add API to watch for POLLPRI

Windows doesn't seem to have an equivalent of POLLPRI so disabled those
functions on this platform.

This API can be used, for example, to wait for video4linux events which
are using POLLPRI.

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

6 years agopoll: stop treating on POLLPRI as 'read'
Guillaume Desmottes [Thu, 5 Apr 2018 10:19:39 +0000 (12:19 +0200)]
poll: stop treating on POLLPRI as 'read'

Current code was considering "can read" as having either POLLIN or POLLPRI being
set.
This may lead to client being awaken because of POLLPRI, starting a blocking
read and getting stuck because there is actually nothing to read.

This patch removes POLLPRI handling in read code and I'll add specific
API to wait for POLLPRI.

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

6 years agobaseparse: Ensure seqnum consistency
Edward Hervey [Tue, 5 Jun 2018 15:02:18 +0000 (17:02 +0200)]
baseparse: Ensure seqnum consistency

We need all relevant events of a segment to have consistent seqnum:
* GST_EVENT_SEGMENT
* GST_EVENT_EOS

If we are push-based and create a new segment, use the same seqnum
as the upstream event.

If we are pull-based, use the seqnum of that newly created segment
event everywhere

6 years agomessage: Only allow setting valid seqnum on messages
Edward Hervey [Tue, 5 Jun 2018 15:01:05 +0000 (17:01 +0200)]
message: Only allow setting valid seqnum on messages

If we want to make sure we never end up with invalid seqnum on
messages let's forbid setting them.

6 years agoevent: Only allow setting valid seqnum on events
Edward Hervey [Tue, 5 Jun 2018 14:59:50 +0000 (16:59 +0200)]
event: Only allow setting valid seqnum on events

If we want to make sure we never end up with invalid seqnum on
events let's forbid setting them.

6 years agobin: Make sure we don't use invalid seqnums on messages
Edward Hervey [Tue, 5 Jun 2018 14:58:21 +0000 (16:58 +0200)]
bin: Make sure we don't use invalid seqnums on messages

There is a possibility that the accumlation functions don't set
a seqnum. Make sure we only set/override the seqnum of the new
messages if we *have* a valid upstream seqnum to use

6 years agoqueue2: use GstQueueArray
Dimitrios Katsaros [Sat, 2 Jun 2018 12:02:19 +0000 (14:02 +0200)]
queue2: use GstQueueArray

When using queue2 as a queue it was using GQueue with
individually allocated queue items, so two allocs for
each item. With GstQueueArray we can avoid those.

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

6 years agodataqueue: add some missing introspection annotations
Mike Wey [Sun, 3 Jun 2018 17:37:40 +0000 (19:37 +0200)]
dataqueue: add some missing introspection annotations

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

6 years agobaseparse: Documentation improvements
Edward Hervey [Wed, 30 May 2018 12:06:06 +0000 (14:06 +0200)]
baseparse: Documentation improvements

* Remove references to old functions and methods
* Use proper #ClassName.vmethod() decorator for vmethod

6 years agomeson: Add an option to activate extra checks
Thibault Saunier [Tue, 22 May 2018 14:30:58 +0000 (16:30 +0200)]
meson: Add an option to activate extra checks

And activate them by default as with autotools

6 years agomeson: rename gtkdoc option to gtk_doc
Tim-Philipp Müller [Mon, 21 May 2018 22:10:21 +0000 (23:10 +0100)]
meson: rename gtkdoc option to gtk_doc

6 years agodatetime: Update/fix documentation
Edward Hervey [Mon, 21 May 2018 09:37:00 +0000 (11:37 +0200)]
datetime: Update/fix documentation

6 years agosample: Update documentation
Edward Hervey [Mon, 21 May 2018 09:36:42 +0000 (11:36 +0200)]
sample: Update documentation

6 years agogst: Add an example to GST_STATIC_PAD_TEMPLATE macro
Edward Hervey [Mon, 21 May 2018 09:16:29 +0000 (11:16 +0200)]
gst: Add an example to GST_STATIC_PAD_TEMPLATE macro

6 years agogst: add some GIR array annotations
Mark Nauwelaerts [Mon, 21 May 2018 07:14:37 +0000 (09:14 +0200)]
gst: add some GIR array annotations

6 years agomeson: add 'nls' option to disable translations
Tim-Philipp Müller [Sun, 20 May 2018 13:07:15 +0000 (14:07 +0100)]
meson: add 'nls' option to disable translations

And enable by default. Was implicitly disabled because
ENABLE_NLS was not defined.

6 years agowin32: update for new aggregator API
Tim-Philipp Müller [Wed, 16 May 2018 22:25:26 +0000 (23:25 +0100)]
win32: update for new aggregator API

Fixes make distcheck.

6 years agoaggregator: Add get_next_time function for live streams
Olivier Crête [Sat, 5 May 2018 08:46:09 +0000 (10:46 +0200)]
aggregator: Add get_next_time function for live streams

Add a function to do the right thing for live streams.

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

6 years agopad: Fix race condition causing the same probe to be called multiple times
Sebastian Dröge [Wed, 9 May 2018 21:05:51 +0000 (00:05 +0300)]
pad: Fix race condition causing the same probe to be called multiple times

Probes were remembering a cookie that was used to check if the probe was
already called this time before the probes list changed. However the
same probes could've been called by another thread in between and thus
gotten a new cookie, and would then be called a second time.

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

6 years agogst: Use memcpy() instead of strncpy() where appropriate
Edward Hervey [Fri, 4 May 2018 07:29:22 +0000 (09:29 +0200)]
gst: Use memcpy() instead of strncpy() where appropriate

strncpy() is assumed to be for strings so the compiler assumes that
it will need an extra byte for the string-terminaning NULL.

For cases where we know it's actually "binary" data, just copy it
with memcpy.

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

6 years agobitwriter: Fix build error
Seungha Yang [Mon, 7 May 2018 01:47:00 +0000 (10:47 +0900)]
bitwriter: Fix build error

Fix implicit-function-declaration warning for meemst and memcpy

gstbitwriter.h:166:3: error: implicit declaration of function ‘memset’
   memset (bitwriter->data + clear_pos, 0, (new_bit_size >> 3) - clear_pos);
   ^

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

6 years agogstevent: Add some FIXME: 2.0 about removing the timestamp
Jan Schmidt [Sun, 6 May 2018 15:32:14 +0000 (01:32 +1000)]
gstevent: Add some FIXME: 2.0 about removing the timestamp

The timestamp field isn't valuable or used well anywhere. We
should remove it for GStreamer 2.0

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

6 years agobitwriter: Add unit tests
Sreerenj Balachandran [Tue, 18 Mar 2014 14:01:04 +0000 (16:01 +0200)]
bitwriter: Add unit tests

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

6 years agobitwriter: Add a generic bit writer
Wind Yuan [Tue, 12 Nov 2013 07:00:51 +0000 (15:00 +0800)]
bitwriter: Add a generic bit writer

GstBitWriter provides a bit writer that can write any number of
bits into a memory buffer. It provides functions for writing any
number of bits into 8, 16, 32 and 64 bit variables.

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

6 years agomeson: Update option names to omit disable_ and with- prefixes
Nirbheek Chauhan [Sat, 5 May 2018 13:38:09 +0000 (19:08 +0530)]
meson: Update option names to omit disable_ and with- prefixes

Also yield common options to the outer project (gst-build in our case)
so that they don't have to be set manually.

6 years agobufferlist: fix abort due to underflow when creating 0-sized list
Tim-Philipp Müller [Sat, 5 May 2018 14:16:45 +0000 (16:16 +0200)]
bufferlist: fix abort due to underflow when creating 0-sized list

gst_buffer_list_new_sized(0) will cause an underflow in a calculation
which then makes it try to allocate huge amounts of memory, which
may lead to aborts.

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

6 years agoscripts: create-uninstalled-setup: remove dead wiki link, mention gst-build
Tim-Philipp Müller [Sat, 5 May 2018 10:16:07 +0000 (12:16 +0200)]
scripts: create-uninstalled-setup: remove dead wiki link, mention gst-build

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

6 years agoaggregator: since marker for new API
Tim-Philipp Müller [Sat, 5 May 2018 09:32:12 +0000 (11:32 +0200)]
aggregator: since marker for new API

Was also backported.

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

6 years agodebugutils: Update configure option in documentation
Francisco Velazquez [Fri, 4 May 2018 12:00:21 +0000 (14:00 +0200)]
debugutils: Update configure option in documentation

Update documentation on non existent option `gst-enable-gst-debug'.  Instead,
one has to make sure that the `--disable-gst-debug' option was not used when
compiling GStreamer (i.e., `./configure --disable-gst-debug').

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

6 years agoSource code typo fixes
luz.paz [Fri, 27 Apr 2018 16:41:58 +0000 (12:41 -0400)]
Source code typo fixes

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

6 years agoFix typos in comments and docs
luz.paz [Fri, 27 Apr 2018 16:40:31 +0000 (12:40 -0400)]
Fix typos in comments and docs

Found via `codespell`

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

6 years agowin32: add new symbol
Tim-Philipp Müller [Wed, 25 Apr 2018 18:47:11 +0000 (19:47 +0100)]
win32: add new symbol

6 years agoaggregator: Improve doc for gst_aggregator_pad_has_buffer
Olivier Crête [Wed, 25 Apr 2018 18:30:04 +0000 (14:30 -0400)]
aggregator: Improve doc for gst_aggregator_pad_has_buffer

6 years agoaggregator: Add API to check if a pad has a new buffer
Olivier Crête [Mon, 23 Apr 2018 15:34:19 +0000 (11:34 -0400)]
aggregator: Add API to check if a pad has a new buffer

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

6 years agobuffer: don't over-allocate internal GstMeta items
Tim-Philipp Müller [Wed, 25 Apr 2018 17:28:00 +0000 (18:28 +0100)]
buffer: don't over-allocate internal GstMeta items

We would allocate space for two GstMeta structs even though
there is only one in the end (the one in GstMetaItem and in
GstFooMeta overlap).

6 years agoMeson: Use library() to build both static and shared libs
Xavier Claessens [Fri, 23 Mar 2018 16:48:37 +0000 (12:48 -0400)]
Meson: Use library() to build both static and shared libs

Meson supports building both static and shared libraries in a single
library() call. It has the advantage of reusing the same .o objects and
thus avoid double compilation.

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

6 years agoMeson: Fix check for linker args
Xavier Claessens [Tue, 24 Apr 2018 18:37:40 +0000 (14:37 -0400)]
Meson: Fix check for linker args

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

6 years agopkgconfig: set pluginsdir to plugins/ sub-directory for uninstalled .pc file
Tim-Philipp Müller [Sun, 22 Apr 2018 18:23:50 +0000 (19:23 +0100)]
pkgconfig: set pluginsdir to plugins/ sub-directory for uninstalled .pc file

So we don't unnecessarily scan directories that have no plugins
(or try to open libs). Matches how we limit the search space for
plugin modules to gst/ ext/ sys/ subdirs.

6 years agomeson: fix invalid keyword argument warnings
Tim-Philipp Müller [Fri, 20 Apr 2018 11:30:24 +0000 (12:30 +0100)]
meson: fix invalid keyword argument warnings

cc.compiles() doesn't have a 'prefix' argument (yet) and the
prefix has already been prepended to the source code snippets.

https://github.com/mesonbuild/meson/issues/2364

6 years agoRevert "docs: Minor fix in event_new_select_streams"
Thibault Saunier [Wed, 18 Apr 2018 14:35:20 +0000 (11:35 -0300)]
Revert "docs: Minor fix in event_new_select_streams"

This reverts commit f218917d02760f8f32a35e4e635e23230c47c0c6.

6 years agodocs: Minor fix in event_new_select_streams
Thibault Saunier [Tue, 17 Apr 2018 23:03:09 +0000 (20:03 -0300)]
docs: Minor fix in event_new_select_streams

6 years agomultiqueue, inputselector: show pad properties in gst-inspect-1.0
Tim-Philipp Müller [Tue, 17 Apr 2018 10:24:31 +0000 (11:24 +0100)]
multiqueue, inputselector: show pad properties in gst-inspect-1.0

6 years agoinputselector, outputselector: add guards for wrong pads being set as active pads
Tim-Philipp Müller [Tue, 17 Apr 2018 10:01:09 +0000 (11:01 +0100)]
inputselector, outputselector: add guards for wrong pads being set as active pads

Catch users wrongly setting foreign pads or wrong pads as
the selector's active pad, which leads to all kinds of
other issues. It's a programming error so handle it just
like we would if we had direct API.

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

6 years agocaps: Add a macro based variant of gst_caps_copy
Thibault Saunier [Tue, 17 Apr 2018 17:00:20 +0000 (14:00 -0300)]
caps: Add a macro based variant of gst_caps_copy

This way we do not hit the performance overhead of having the method
not inlined but still can use it from bindings.

6 years agopad: Handle changing sticky events in pad probes
Thibault Saunier [Mon, 16 Apr 2018 19:30:27 +0000 (16:30 -0300)]
pad: Handle changing sticky events in pad probes

In the case where the user sets a new padprobeinfo->data in a probe
where the data is a sticky event, the new sticky event should be automatically
sticked on the probed pad.

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

6 years agodebug: Make PADS debug background blue
Thibault Saunier [Tue, 17 Apr 2018 12:33:02 +0000 (09:33 -0300)]
debug: Make PADS debug background blue

Red on red was... suboptimal!

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

6 years agowin32: update defs for new exports
Tim-Philipp Müller [Tue, 17 Apr 2018 16:00:53 +0000 (17:00 +0100)]
win32: update defs for new exports

6 years agoharness: Handle harness->element not being a GstBin
Thibault Saunier [Mon, 16 Apr 2018 19:27:57 +0000 (16:27 -0300)]
harness: Handle harness->element not being a GstBin

It is totally valid but in gst_harness_find_element we were not
handling that case.

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

6 years agogst: Stop inlining gst_caps_copy
Thibault Saunier [Wed, 4 Apr 2018 20:36:57 +0000 (17:36 -0300)]
gst: Stop inlining gst_caps_copy

This way it gets exposed to bindings through GObject Introspection.

6 years agoAutomatic update of common submodule
Tim-Philipp Müller [Mon, 16 Apr 2018 09:52:46 +0000 (10:52 +0100)]
Automatic update of common submodule

From f0c2dc9 to ed78bee

6 years agogstconfig.h.in: initial RISC-V support
Aurelien Jarno [Sat, 14 Apr 2018 22:49:55 +0000 (00:49 +0200)]
gstconfig.h.in: initial RISC-V support

RISC-V supports unaligned accesses, but these might run extremely slowly
depending on the implementation. Therefore set GST_HAVE_UNALIGNED_ACCESS
to 0 on this architecture.

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

6 years agoadapter: port the buffer list from GSList to GstQueueArray
Mathieu Duponchelle [Wed, 11 Apr 2018 15:16:54 +0000 (17:16 +0200)]
adapter: port the buffer list from GSList to GstQueueArray

Significantly reduces the amount of memory allocation operations.

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

6 years agoAPI: gst_queue_array_peek_nth
Mathieu Duponchelle [Wed, 11 Apr 2018 13:38:36 +0000 (15:38 +0200)]
API: gst_queue_array_peek_nth

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

6 years agogstqueuearray: make find() return a 0-based index
Mathieu Duponchelle [Wed, 11 Apr 2018 11:44:33 +0000 (13:44 +0200)]
gstqueuearray: make find() return a 0-based index

And make the drop() functions expect a 0-based index too,
this addresses a longstanding FIXME. This will not break
backward compatibility, because the drop() functions
were previously only meant to be used with the index
returned by find().

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

6 years agogstsample: new API
Mathieu Duponchelle [Tue, 10 Apr 2018 22:49:02 +0000 (00:49 +0200)]
gstsample: new API

gst_sample_set_buffer
gst_sample_set_caps
gst_sample_set_segment
gst_sample_set_info
gst_sample_is_writable
gst_sample_make_writable

This commit makes it possible to reuse a sample object and avoid
unnecessary memory allocations, for example in appsink.

In addition, writability is now required to set the buffer list.

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

6 years agobase: fix some GIR annotations
Mark Nauwelaerts [Fri, 13 Apr 2018 18:15:46 +0000 (20:15 +0200)]
base: fix some GIR annotations

Mostly related to out parameters and their transfer

6 years agogst: add some GIR array annotations
Mark Nauwelaerts [Thu, 29 Mar 2018 16:59:43 +0000 (18:59 +0200)]
gst: add some GIR array annotations

6 years agodebugutils: Add missing parameters documentation
Víctor Manuel Jáquez Leal [Fri, 13 Apr 2018 07:58:05 +0000 (09:58 +0200)]
debugutils: Add missing parameters documentation

6 years agogstdebug: fix occasional deadlocks on windows when outputting debug logging
Tim-Philipp Müller [Wed, 11 Apr 2018 18:56:01 +0000 (19:56 +0100)]
gstdebug: fix occasional deadlocks on windows when outputting debug logging

When outputting debug logs on Windows, some sections are protected
with a non-recursive lock. Turns out though that gst_debug_message_get()
might indirectly, via our printf format extensions, call code which
in turn would try to log something when it can't handle something. If
that happens we end up in gst_debug_log_default() again recursively and
try to again take the lock that's already taken, thus deadlocking.

Format the debug message string outside of the critical section
instead to avoid this.

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

6 years agogsturi: include gstconfig.h earlier for GST_API define
Tim-Philipp Müller [Mon, 9 Apr 2018 13:19:19 +0000 (14:19 +0100)]
gsturi: include gstconfig.h earlier for GST_API define

6 years agogstinfo: fix debug levels being applied in the wrong order
Jan Alexander Steffens (heftig) [Tue, 27 Mar 2018 08:25:46 +0000 (10:25 +0200)]
gstinfo: fix debug levels being applied in the wrong order

Remove unneeded reapplication of patterns. Besides being
superfluous (gst_debug_reset_threshold already applies
patterns) it was also wrong and didn't stop checking patterns
after the first match (broken in 67e9d139).

Also fix up unit test which checked for the wrong order.

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

6 years agogstinfo: Simplify gst_debug_reset_threshold() implementation
Jan Alexander Steffens (heftig) [Tue, 27 Mar 2018 08:15:46 +0000 (10:15 +0200)]
gstinfo: Simplify gst_debug_reset_threshold() implementation

Replace the while+goto with a for+break and check walk to determine
whether we had a match. Move up the unlock to keep the locked section as
small as possible.

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

6 years agogstinfo: Reduce code duplication around level pattern matching
Jan Alexander Steffens (heftig) [Tue, 27 Mar 2018 08:14:27 +0000 (10:14 +0200)]
gstinfo: Reduce code duplication around level pattern matching

Move the match, logging and set_threshold to a new function.

The log levels are different, so choose the higher one (LOG). Having two
equivalent messages at two different levels seems like a bad idea
anyway.

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

6 years agostreamcollection: embed GQueue into the private struct
Tim-Philipp Müller [Tue, 27 Mar 2018 16:16:05 +0000 (17:16 +0100)]
streamcollection: embed GQueue into the private struct

6 years agodocs: Update libs documentation
Edward Hervey [Mon, 2 Apr 2018 10:44:15 +0000 (12:44 +0200)]
docs: Update libs documentation

* Make sure all libcheck headers are ignored
* Add all missing symbols

6 years agodocs: Update gst core doc
Edward Hervey [Mon, 2 Apr 2018 10:43:57 +0000 (12:43 +0200)]
docs: Update gst core doc

6 years agogst: Documentation fixes
Edward Hervey [Mon, 2 Apr 2018 10:42:30 +0000 (12:42 +0200)]
gst: Documentation fixes

* Fix copy-paste error for GstParamSpecArray documentation
* Use proper field name for tracer utils documentation

6 years agolibs: Documentation fixes
Edward Hervey [Mon, 2 Apr 2018 10:41:48 +0000 (12:41 +0200)]
libs: Documentation fixes

* Symbols not properly exposed or wrongly named

6 years agobin: fix deep-element-added signal debug log message
Matthew Waters [Thu, 29 Mar 2018 01:36:11 +0000 (12:36 +1100)]
bin: fix deep-element-added signal debug log message

Adding the bin to the child element doesn't really make sense.

6 years agomeson: bump meson req for gnome.mkenums_simple()
Tim-Philipp Müller [Thu, 22 Mar 2018 13:00:21 +0000 (13:00 +0000)]
meson: bump meson req for gnome.mkenums_simple()

6 years agomeson: remove no longer needed core enumtypes template files
Tim-Philipp Müller [Thu, 22 Mar 2018 12:18:28 +0000 (12:18 +0000)]
meson: remove no longer needed core enumtypes template files

6 years agomeson: use gnome.mkenums_simple() to generate core enumtypes
Alessandro Decina [Thu, 20 Jul 2017 08:12:43 +0000 (18:12 +1000)]
meson: use gnome.mkenums_simple() to generate core enumtypes

6 years agomeson: use gnome.mkenums_simple() to generate controller enumtypes
Alessandro Decina [Thu, 20 Jul 2017 03:03:55 +0000 (13:03 +1000)]
meson: use gnome.mkenums_simple() to generate controller enumtypes

6 years agomeson: delete unused variable
Alessandro Decina [Wed, 19 Jul 2017 09:37:02 +0000 (19:37 +1000)]
meson: delete unused variable

6 years agotest: Pool now try to reset the size
Nicolas Dufresne [Thu, 22 Mar 2018 00:02:50 +0000 (20:02 -0400)]
test: Pool now try to reset the size

As a side effect, buffers are no longer expected to be discarded on
resize.

6 years agogstbuffer: reset buffer to its original size if intact
Petr Kulhavy [Mon, 14 Nov 2016 14:35:50 +0000 (15:35 +0100)]
gstbuffer: reset buffer to its original size if intact

Enhance default_reset_buffer() to resize the buffer to its full size if the
memory hasn't changed. This allows to reuse the buffer even if the offset has
changed or the size has shrunk, rather than freeing the buffer.

Change related to: https://bugzilla.gnome.org/show_bug.cgi?id=772841

6 years agonet: Include gstnetcontrolmessagemeta.h in net.h
Sebastian Dröge [Wed, 21 Mar 2018 08:20:14 +0000 (10:20 +0200)]
net: Include gstnetcontrolmessagemeta.h in net.h

6 years agoparamspecs: Set g-i annotation values for GST_PARAM_* constants
Sebastian Dröge [Wed, 21 Mar 2018 08:13:44 +0000 (10:13 +0200)]
paramspecs: Set g-i annotation values for GST_PARAM_* constants

6 years agoelementfactory: GST_ELEMENT_FACTORY_TYPE_DECODABLE had DECRYPTOR added, update g...
Sebastian Dröge [Wed, 21 Mar 2018 08:11:30 +0000 (10:11 +0200)]
elementfactory: GST_ELEMENT_FACTORY_TYPE_DECODABLE had DECRYPTOR added, update g-i annotation value

6 years agogst: Fix compilation with latest GLib
Sebastian Dröge [Tue, 20 Mar 2018 14:11:01 +0000 (16:11 +0200)]
gst: Fix compilation with latest GLib

g_object_ref() forwards the type of its argument nowadays.

./grammar.y:409:14: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
gstchildproxy.c:212:7: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]

6 years agoBack to development
Tim-Philipp Müller [Tue, 20 Mar 2018 09:02:34 +0000 (09:02 +0000)]
Back to development

6 years agoRelease 1.14.0
Tim-Philipp Müller [Mon, 19 Mar 2018 20:09:51 +0000 (20:09 +0000)]
Release 1.14.0

6 years agoUpdate docs
Tim-Philipp Müller [Mon, 19 Mar 2018 20:09:51 +0000 (20:09 +0000)]
Update docs

6 years agoRelease 1.13.91
Tim-Philipp Müller [Tue, 13 Mar 2018 19:08:54 +0000 (19:08 +0000)]
Release 1.13.91

6 years agoUpdate docs
Tim-Philipp Müller [Tue, 13 Mar 2018 19:08:54 +0000 (19:08 +0000)]
Update docs

6 years agomeson: docs: update api decorators to ignore
Tim-Philipp Müller [Tue, 13 Mar 2018 11:54:42 +0000 (11:54 +0000)]
meson: docs: update api decorators to ignore

6 years agodocs: fixup for new libs API export decorators
Tim-Philipp Müller [Mon, 12 Mar 2018 23:12:13 +0000 (23:12 +0000)]
docs: fixup for new libs API export decorators

6 years agonet: GST_EXPORT -> GST_NET_API
Tim-Philipp Müller [Mon, 12 Mar 2018 23:03:26 +0000 (23:03 +0000)]
net: GST_EXPORT -> GST_NET_API

We need different export decorators for the different libs.
For now no actual change though, just rename before the release,
and add prelude headers to define the new decorator to GST_EXPORT.

6 years agocontroller: GST_EXPORT -> GST_CONTROLLER_API
Tim-Philipp Müller [Mon, 12 Mar 2018 23:03:26 +0000 (23:03 +0000)]
controller: GST_EXPORT -> GST_CONTROLLER_API

We need different export decorators for the different libs.
For now no actual change though, just rename before the release,
and add prelude headers to define the new decorator to GST_EXPORT.

6 years agocheck: GST_EXPORT -> GST_CHECK_API
Tim-Philipp Müller [Mon, 12 Mar 2018 23:03:26 +0000 (23:03 +0000)]
check: GST_EXPORT -> GST_CHECK_API

We need different export decorators for the different libs.
For now no actual change though, just rename before the release,
and add prelude headers to define the new decorator to GST_EXPORT.

6 years agobase: GST_EXPORT -> GST_BASE_API
Tim-Philipp Müller [Mon, 12 Mar 2018 23:03:26 +0000 (23:03 +0000)]
base: GST_EXPORT -> GST_BASE_API

We need different export decorators for the different libs.
For now no actual change though, just rename before the release,
and add prelude headers to define the new decorator to GST_EXPORT.

6 years agogst: GST_EXPORT -> GST_API
Tim-Philipp Müller [Mon, 12 Mar 2018 23:03:26 +0000 (23:03 +0000)]
gst: GST_EXPORT -> GST_API

We need different export decorators for the different libs.
For now no actual change though, just rename before the release,
and add prelude headers to define the new decorator to GST_EXPORT.