platform/upstream/gstreamer.git
6 years agopbutils: fix some GIR annotations
Mark Nauwelaerts [Fri, 20 Apr 2018 19:53:17 +0000 (21:53 +0200)]
pbutils: fix some GIR annotations

Mostly related to out and array parameters

6 years agovideo: fix some GIR annotations
Mark Nauwelaerts [Fri, 20 Apr 2018 19:53:16 +0000 (21:53 +0200)]
video: fix some GIR annotations

Mostly related to out and array parameters

6 years agoaudio: fix some GIR annotations
Mark Nauwelaerts [Fri, 20 Apr 2018 19:53:16 +0000 (21:53 +0200)]
audio: fix some GIR annotations

Mostly related to out and array parameters

6 years agortsp: fix some GIR annotations
Mark Nauwelaerts [Fri, 20 Apr 2018 19:53:15 +0000 (21:53 +0200)]
rtsp: fix some GIR annotations

Mostly related to out and array parameters.

6 years agortp: fix some GIR annotations
Mark Nauwelaerts [Fri, 20 Apr 2018 19:53:10 +0000 (21:53 +0200)]
rtp: fix some GIR annotations

Mostly related to out and array parameters.

6 years agoaudioaggregator: fix filtered getcaps
Mathieu Duponchelle [Mon, 23 Apr 2018 14:32:41 +0000 (16:32 +0200)]
audioaggregator: fix filtered getcaps

In the situation described in
https://bugzilla.gnome.org/show_bug.cgi?id=795397,

downstream_caps consists of two structures, the first with
the preferred rate, if at all possible (44100), the second
containing the full range of allowed rates, as audioresample
correctly tries to negotiate passthrough caps.

As audioaggregator cannot perform rate conversion, it wants
to return a fixated rate in its getcaps implementation,
however it previously directly used the first structure in
the caps allowed downstream, without taking the filter into
consideration, to determine the rate to fixate to.

With this, we first intersect our downstream caps with the
filter, in order not to fixate to an unsupported rate.

6 years agotests: videodecoder: Fix a minor c&p mistake
Zeeshan Ali [Mon, 23 Apr 2018 10:23:41 +0000 (12:23 +0200)]
tests: videodecoder: Fix a minor c&p mistake

This completes what commit 0de0f3b2c should have already done. :)

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

6 years agotests: videodecoder: Fix a minor c&p mistake
Zeeshan Ali [Mon, 23 Apr 2018 10:23:41 +0000 (12:23 +0200)]
tests: videodecoder: Fix a minor c&p mistake

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

6 years agovideo: Safe guard info->finfo when mapping a frame
Thibault Saunier [Sat, 21 Apr 2018 04:00:28 +0000 (01:00 -0300)]
video: Safe guard info->finfo when mapping a frame

Not sure how that slept through but that case is possible and leads
to segfaults in any code path of the function right now.

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

6 years agoencoding-profile: Handle escaped '\:' in caps describing profiles
Thibault Saunier [Fri, 20 Apr 2018 14:04:44 +0000 (11:04 -0300)]
encoding-profile: Handle escaped '\:' in caps describing profiles

Otherwise it won't be possible to specify some profiles such as

    video/x-h264,profile=(string)high-4:4:4

With this patch, we can do

    video/x-h264,profile=(string)high-4\:4\:4

6 years agomeson: gl: fix 'invalid keyword argument' meson warnings
Tim-Philipp Müller [Fri, 20 Apr 2018 10:42:16 +0000 (11:42 +0100)]
meson: gl: fix 'invalid keyword argument' meson warnings

Required is not a valid kwarg for cc.has_header()

6 years agortpbasedepayload: condition the sending of gap events
Mathieu Duponchelle [Fri, 6 Apr 2018 18:02:13 +0000 (20:02 +0200)]
rtpbasedepayload: condition the sending of gap events

The default implementation for packet loss handling previously
always sent a gap event.

While this is correct as long as we know the packet that was
lost was actually a media packet, with ULPFEC this becomes
a bit more complicated, as we do not know whether the packet
that was lost was a FEC packet, in which case it is better
to not actually send any gap events in the default implementation.

Some payloaders can be more clever about, for example VP8 can
use the picture-id, and the M and S bits to determine whether
the missing packet was inside an encoded frame or outside,
and thus whether if it was a media packet or a FEC packet,
which is why ulpfecdec still lets these lost events go through,
though stripping them of their seqnum, and appending a new
"might-have-been-fec" field to them.

This is all a bit terrible, but necessary to have ULPFEC
integrate properly with the rest of our RTP stack.

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

6 years agoappsink: Reuse sample object in pull_sample if possible
Mathieu Duponchelle [Tue, 10 Apr 2018 22:57:43 +0000 (00:57 +0200)]
appsink: Reuse sample object in pull_sample if possible

Simple optimization to reduce memory allocations.

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

6 years agoparsebin: Post STREAM_COLLECTION on EVENT_STREAM_COLLECTION
Thibault Saunier [Wed, 18 Apr 2018 19:06:07 +0000 (16:06 -0300)]
parsebin: Post STREAM_COLLECTION on EVENT_STREAM_COLLECTION

Otherwise decodebin won't get notified about STREAM_COLLECTION comming
from the sources and thus will never get informored about it. Without
being informed about the stream collection decodebin won't be able to
select any streams. It ends up not creating any output for the streams
defined from outside parserbin.

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

6 years agoegl: fix build when using RPi EGL
Omar Akkila [Wed, 18 Apr 2018 14:28:42 +0000 (10:28 -0400)]
egl: fix build when using RPi EGL

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

6 years agomeson: move some dependency checks to the top level
Mathieu Duponchelle [Wed, 18 Apr 2018 15:22:45 +0000 (17:22 +0200)]
meson: move some dependency checks to the top level

The newly-added build definitions for test/icles relied
on dependencies that were only defined when the examples
are enabled, thus breaking meson build -Ddisable_examples=true

6 years agovideo: Don't corrupt caption GstMeta
Edward Hervey [Mon, 16 Apr 2018 15:04:06 +0000 (17:04 +0200)]
video: Don't corrupt caption GstMeta

the meta initialization function is provided *after* the base implementation
fields have been set so do *NOT* reset them otherwise it would result
in corrupted GstMeta.

Instead explicitely set our fields to the default values we actually want.

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

From f0c2dc9 to ed78bee

6 years agogl: Define default value for GST_GL_HAVE_WINDOW_GBM
Víctor Manuel Jáquez Leal [Mon, 16 Apr 2018 09:10:45 +0000 (11:10 +0200)]
gl: Define default value for GST_GL_HAVE_WINDOW_GBM

Thus, silent compiler's warning:
"GST_GL_HAVE_WINDOW_GBM" is not defined, evaluates to 0 [-Wundef]

6 years agotag: fix some GIR annotations
Mark Nauwelaerts [Fri, 13 Apr 2018 18:18:56 +0000 (20:18 +0200)]
tag: fix some GIR annotations

Mostly related to out and array parameters.

6 years agotests: make getaddrinfo suppression more generic
Tim-Philipp Müller [Fri, 13 Apr 2018 00:23:38 +0000 (01:23 +0100)]
tests: make getaddrinfo suppression more generic

So it works for me on debian sid.

6 years agovalgrind supps: ignore leaks where pango is the first frame
Mathieu Duponchelle [Thu, 12 Apr 2018 23:05:23 +0000 (01:05 +0200)]
valgrind supps: ignore leaks where pango is the first frame

6 years agovalgrind supps: ignore intentional leak in GL test
Mathieu Duponchelle [Thu, 12 Apr 2018 23:02:27 +0000 (01:02 +0200)]
valgrind supps: ignore intentional leak in GL test

6 years agovalgrind supps: conditional moves in nvidia-glcore
Mathieu Duponchelle [Thu, 12 Apr 2018 20:34:22 +0000 (22:34 +0200)]
valgrind supps: conditional moves in nvidia-glcore

Not much we can do here

6 years agovalgrind supps: getaddrinfo leaks when resolving addresses
Mathieu Duponchelle [Thu, 12 Apr 2018 20:33:27 +0000 (22:33 +0200)]
valgrind supps: getaddrinfo leaks when resolving addresses

https://lists.debian.org/debian-glibc/2016/03/msg00243.html

6 years agoaudioaggregator: unref converted buffer after gst_buffer_replace
Mathieu Duponchelle [Thu, 12 Apr 2018 20:24:26 +0000 (22:24 +0200)]
audioaggregator: unref converted buffer after gst_buffer_replace

6 years agoalsamidisrc: unref buffer_list before early return
Mathieu Duponchelle [Thu, 12 Apr 2018 20:23:50 +0000 (22:23 +0200)]
alsamidisrc: unref buffer_list before early return

6 years agotests/audiomixer: fix caps leak
Mathieu Duponchelle [Thu, 12 Apr 2018 19:49:40 +0000 (21:49 +0200)]
tests/audiomixer: fix caps leak

6 years agovalgrind supps: ignore bash leaks
Mathieu Duponchelle [Thu, 12 Apr 2018 18:15:01 +0000 (20:15 +0200)]
valgrind supps: ignore bash leaks

gst_install_plugins_* can instantiate bash

6 years agourisourcebin: Avoid unreffing a pad we are not owning
Thibault Saunier [Tue, 10 Apr 2018 12:31:32 +0000 (09:31 -0300)]
urisourcebin: Avoid unreffing a pad we are not owning

expose_output_pad takes ownership of the pad.

6 years agouridecodebin3: free_play_items when READY_TO_PAUSED failed.
Mathieu Duponchelle [Thu, 12 Apr 2018 17:33:18 +0000 (19:33 +0200)]
uridecodebin3: free_play_items when READY_TO_PAUSED failed.

We will never go through the PAUSED_TO_READY transition if
that is the case, and thus never free the play items.

6 years agoplaybin3: fix leak of recursive mutex
Tim-Philipp Müller [Thu, 12 Apr 2018 17:12:49 +0000 (18:12 +0100)]
playbin3: fix leak of recursive mutex

6 years agovalgrind suppressions: ignore XInitThreads leaks
Mathieu Duponchelle [Thu, 12 Apr 2018 16:50:35 +0000 (18:50 +0200)]
valgrind suppressions: ignore XInitThreads leaks

As we load that symbol dynamically, valgrind gets confused
when it leaks and reports the leak against an unrelated library
and an unknown (??) symbol.

To address that, put the loading and calling of that symbol
in a separate function, and ignore any malloc leak happening
in that function.

6 years agovalgrind supps: ignore leak in XextCreateExtension
Mathieu Duponchelle [Thu, 12 Apr 2018 16:44:12 +0000 (18:44 +0200)]
valgrind supps: ignore leak in XextCreateExtension

Searching for that specific function in other suppression files
on the Internet shows a few projects ignoring it

eg: https://github.com/XCSoar/XCSoar/blob/master/valgrind.suppressions

6 years agovorbisenc: do not map input buffer in WRITE mode
Mathieu Duponchelle [Wed, 11 Apr 2018 20:56:34 +0000 (22:56 +0200)]
vorbisenc: do not map input buffer in WRITE mode

6 years agomeson: port tests/icles
Mathieu Duponchelle [Thu, 12 Apr 2018 13:02:51 +0000 (15:02 +0200)]
meson: port tests/icles

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

6 years agoaudiovisualizer: Only fixate pixel-aspect-ratio if the field exists
Sebastian Dröge [Wed, 11 Apr 2018 19:40:23 +0000 (21:40 +0200)]
audiovisualizer: Only fixate pixel-aspect-ratio if the field exists

It's optional.

6 years agoappsrc: Documentation fix in gst_app_src_push_sample_internal
Vivia Nikolaidou [Wed, 11 Apr 2018 09:18:55 +0000 (12:18 +0300)]
appsrc: Documentation fix in gst_app_src_push_sample_internal

Make it clear that it doesn't take ownership of the sample.

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

6 years agoaudiovisualizer: Fixate pixel-aspect-ratio to the closest value to 1/1
Sebastian Dröge [Tue, 10 Apr 2018 19:18:11 +0000 (21:18 +0200)]
audiovisualizer: Fixate pixel-aspect-ratio to the closest value to 1/1

6 years agoplayback: Add support for CEA 608/708 CC overlay elements
Edward Hervey [Mon, 12 Mar 2018 09:53:05 +0000 (10:53 +0100)]
playback: Add support for CEA 608/708 CC overlay elements

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

6 years agovideo: Add support for VANC and Closed Caption
Edward Hervey [Thu, 15 Feb 2018 12:59:56 +0000 (13:59 +0100)]
video: Add support for VANC and Closed Caption

This commits add common elements for Ancillary Data and Closed
Caption support in GStreamer:

* A VBI (Video Blanking Interval) parser that supports detection
  and extraction of Ancillary data according to the SMPTE S291M
  specification. Currently supports the v210 and UYVY video
  formats.

* A new GstMeta for Closed Caption : GstVideoCaptionMeta. This
  supports the two types of CC : CEA-608 and CEA-708, along with
  the 4 different ways they can be transported (other systems
  are super-set of those).

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

6 years agopbutils: Add Closed Caption caps description
Edward Hervey [Wed, 31 Jan 2018 14:09:36 +0000 (15:09 +0100)]
pbutils: Add Closed Caption caps description

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

6 years agoaudiobasesrc: posting errors should be always be safe
Nirbheek Chauhan [Mon, 9 Apr 2018 11:54:30 +0000 (17:24 +0530)]
audiobasesrc: posting errors should be always be safe

Don't try to signal an error in the ringbuffer if it hasn't been
allocated yet.

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

6 years agoaudioringbuffer: Don't spam INFO for every buffer
Nirbheek Chauhan [Sat, 7 Apr 2018 05:37:45 +0000 (11:07 +0530)]
audioringbuffer: Don't spam INFO for every buffer

This makes GST_DEBUG=4 outputs too spammy, and such frequent messages
are meant to go into DEBUG or TRACE anyway.

6 years agotests: Enable tests for videodecoder
Zeeshan Ali [Thu, 5 Apr 2018 14:41:57 +0000 (16:41 +0200)]
tests: Enable tests for videodecoder

The tests pass fine here so don't see any reason to keep them disabled.

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

6 years agoencodebin: Always respect encoding profile preset factory name
Thibault Saunier [Wed, 4 Apr 2018 22:30:55 +0000 (19:30 -0300)]
encodebin: Always respect encoding profile preset factory name

And fail if it is not present.

6 years agoencodebin: Inform about missing elements in the "text" error field
Thibault Saunier [Sat, 24 Mar 2018 18:51:20 +0000 (15:51 -0300)]
encodebin: Inform about missing elements in the "text" error field

Instead of the debug field, that information should be directly
exposed to end users.

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

6 years agovideo: Fix/Add section documentation
Edward Hervey [Mon, 2 Apr 2018 13:08:48 +0000 (15:08 +0200)]
video: Fix/Add section documentation

6 years agodocs/libs: The big spring cleanup
Edward Hervey [Mon, 2 Apr 2018 06:45:04 +0000 (08:45 +0200)]
docs/libs: The big spring cleanup

* Explicitely specify which headers aren't to be included in gtkdoc-scan
  This is essentially all the headers that are not installed and only
  for internal/local usage. This also includes the orc-generated headers.
* Remove all symbols/sections that are no longer present (due to accurately
  scanning only the headers we need).
* Add or expose sections which weren't previously exposed
* Make sure the "unified" library headers (ex: gst/video/video.h) are used
  everywhere applicable. Only use the specific headers where applicable
  (such as the GL-implementation-specific objects)
* Add all documentation which was not previously exposed in the right sections
* Update 'types' file to get as many runtime information as possible

This brings down the number of unused symbols to 15 (from over 300).

6 years agolibs: Documentation cleanup
Edward Hervey [Mon, 2 Apr 2018 06:34:58 +0000 (08:34 +0200)]
libs: Documentation cleanup

* Fix wrong naming, wrong types and typos
* Add missing sections
* Add missing documentation for entries
* Explicitely mark private structure entries
* Remove items that never existed

6 years agotools: Fix discoverer deprecation
Edward Hervey [Mon, 2 Apr 2018 06:43:17 +0000 (08:43 +0200)]
tools: Fix discoverer deprecation

The only information provided by "misc" was the missing plugins which
is already handled with another API

6 years agolibs: Add deprecation guard
Edward Hervey [Mon, 2 Apr 2018 06:42:01 +0000 (08:42 +0200)]
libs: Add deprecation guard

Those functions have been marked as deprecated

6 years agocheck: Remove old structures from ABI check
Edward Hervey [Mon, 2 Apr 2018 06:33:58 +0000 (08:33 +0200)]
check: Remove old structures from ABI check

Just in case someone still tries to run it on 32bit osx

6 years agovideorate: In reverse playback mode, don't output the first buffer with ts=segment...
Sebastian Dröge [Fri, 28 Apr 2017 12:24:43 +0000 (15:24 +0300)]
videorate: In reverse playback mode, don't output the first buffer with ts=segment.stop

Instead go backwards before segment.stop based on the framerate or the
next buffers end timestamp. Otherwise the first buffer will usually be
dropped because outside the segment.

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

6 years agogl: pick up GstVideo-1.0.gir from local build dir
Tim-Philipp Müller [Tue, 27 Mar 2018 09:43:16 +0000 (10:43 +0100)]
gl: pick up GstVideo-1.0.gir from local build dir

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

6 years agotools: play: fix leaving STDIN in non-blocking mode after exit
Antonio Ospite [Thu, 22 Mar 2018 10:12:20 +0000 (11:12 +0100)]
tools: play: fix leaving STDIN in non-blocking mode after exit

gst-play-1.0 sets STDIN to non-blocking mode to have the input
characters read as soon as they arrive.

However, when gst_play_kb_set_key_handler() gets called from
restore_terminal() it forgets to restore the STDIN blocking status.

This can result in broken behavior for cli command executed in the same
terminal after gst-play-1.0 exited.

It turns out that putting STDIN in non-blocking mode is not even the
proper way to achieve the desired effect, instead VMIN and VTIME in
struct termios should be set to 0.

Let's do that, and don't mess with the STDIN blocking mode now that it's
not necessary.

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

6 years agoencoding-profile: fix gi annotation for gst_encoding_profile_find
Thiago Santos [Sun, 18 Mar 2018 18:15:55 +0000 (11:15 -0700)]
encoding-profile: fix gi annotation for gst_encoding_profile_find

6 years agogl: Disable glmixerbin for the time being too
Sebastian Dröge [Sun, 25 Mar 2018 09:48:12 +0000 (12:48 +0300)]
gl: Disable glmixerbin for the time being too

Otherwise we have one copy in gst-plugins-bad and one (unused) here,
which makes static linking unhappy.

6 years agoencodebin: Use gst_object_unref() instead of g_object_unref()
Seungha Yang [Sat, 24 Mar 2018 12:35:07 +0000 (21:35 +0900)]
encodebin: Use gst_object_unref() instead of g_object_unref()

... for better debugging (e.g., tracing refcount)

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

6 years agoaudio-aggregator: Check return values
Edward Hervey [Fri, 23 Mar 2018 13:24:38 +0000 (14:24 +0100)]
audio-aggregator: Check return values

And copy over already-parsed information

CID #1427140

6 years agomeson: libs: use gnome.mkenums_simple() to generate enumtypes files
Alessandro Decina [Thu, 20 Jul 2017 04:15:30 +0000 (14:15 +1000)]
meson: libs: use gnome.mkenums_simple() to generate enumtypes files

This way we no longer need custom wrapper scripts or template files.

6 years agogl/gbm: Initialize window handle (= gbm surface) like other window systems
Carlos Rafael Giani [Sun, 4 Mar 2018 15:41:14 +0000 (16:41 +0100)]
gl/gbm: Initialize window handle (= gbm surface) like other window systems

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

6 years agoviv-fb: Include gstglfuncs.h to fix cross compilation errors
Carlos Rafael Giani [Thu, 22 Mar 2018 06:56:28 +0000 (07:56 +0100)]
viv-fb: Include gstglfuncs.h to fix cross compilation errors

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

6 years agodmabufallocator: Fix build if LINUX_DMA_BUF_H is missing
Nicolas Dufresne [Wed, 21 Mar 2018 22:15:49 +0000 (18:15 -0400)]
dmabufallocator: Fix build if LINUX_DMA_BUF_H is missing

6 years agoallocators: Add DMABuf synchronization
Nicolas Dufresne [Sat, 10 Mar 2018 02:24:52 +0000 (21:24 -0500)]
allocators: Add DMABuf synchronization

When doing CPU Access, some architecture may require caches to be
synchronize before use. Otherwise, some visual artifact may be
visible, as the CPU modification may still resides in cache.

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

6 years agovideo: Set correct value in g-i annotations for tile related mask constants
Sebastian Dröge [Wed, 21 Mar 2018 08:27:04 +0000 (10:27 +0200)]
video: Set correct value in g-i annotations for tile related mask constants

6 years agovideo: Include gstvideoaffinetransformationmeta.h in video.h
Sebastian Dröge [Wed, 21 Mar 2018 08:25:43 +0000 (10:25 +0200)]
video: Include gstvideoaffinetransformationmeta.h in video.h

6 years agopbutils: Include gstaudiovisualizer.h in pbutils.h
Sebastian Dröge [Wed, 21 Mar 2018 08:21:41 +0000 (10:21 +0200)]
pbutils: Include gstaudiovisualizer.h in pbutils.h

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

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

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

6 years agooggstream: protect against out-of-bounds read
Edward Hervey [Sat, 17 Mar 2018 05:33:38 +0000 (06:33 +0100)]
oggstream: protect against out-of-bounds read

We need at least 17 bytes of data for a valid flac header

oss-fuzz #6974

6 years agotests: audiomixer: remove unistd.h include
Tim-Philipp Müller [Fri, 16 Mar 2018 09:28:44 +0000 (09:28 +0000)]
tests: audiomixer: remove unistd.h include

Not needed and breaks the build with MVSC.

6 years agoaudiostreamalign: Mark the whole type as new in 1.14
Sebastian Dröge [Thu, 15 Mar 2018 07:58:11 +0000 (09:58 +0200)]
audiostreamalign: Mark the whole type as new in 1.14

6 years agopkg-config: Add orc-0.4 to Requires.private of gstreamer-audio and gstreamer-video
Sebastian Dröge [Tue, 13 Mar 2018 21:09:58 +0000 (23:09 +0200)]
pkg-config: Add orc-0.4 to Requires.private of gstreamer-audio and gstreamer-video

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

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

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

6 years agomeson: install new audio-prelude.h
Tim-Philipp Müller [Tue, 13 Mar 2018 13:49:42 +0000 (13:49 +0000)]
meson: install new audio-prelude.h

6 years agodocs: update api decorators to ignore
Tim-Philipp Müller [Tue, 13 Mar 2018 11:56:59 +0000 (11:56 +0000)]
docs: update api decorators to ignore

6 years agovideo: GST_EXPORT -> GST_VIDEO_API
Tim-Philipp Müller [Tue, 13 Mar 2018 11:48:31 +0000 (11:48 +0000)]
video: GST_EXPORT -> GST_VIDEO_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 agotag: GST_EXPORT -> GST_TAG_API
Tim-Philipp Müller [Tue, 13 Mar 2018 11:32:02 +0000 (11:32 +0000)]
tag: GST_EXPORT -> GST_TAG_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 agosdp: GST_EXPORT -> GST_SDP_API
Tim-Philipp Müller [Tue, 13 Mar 2018 11:27:11 +0000 (11:27 +0000)]
sdp: GST_EXPORT -> GST_SDP_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 agortsp: GST_EXPORT -> GST_RTSP_API
Tim-Philipp Müller [Tue, 13 Mar 2018 11:23:21 +0000 (11:23 +0000)]
rtsp: GST_EXPORT -> GST_RTSP_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 agortp: GST_EXPORT -> GST_RTP_API
Tim-Philipp Müller [Tue, 13 Mar 2018 11:17:58 +0000 (11:17 +0000)]
rtp: GST_EXPORT -> GST_RTP_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 agoriff: GST_EXPORT -> GST_RIFF_API
Tim-Philipp Müller [Tue, 13 Mar 2018 11:13:08 +0000 (11:13 +0000)]
riff: GST_EXPORT -> GST_RIFF_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 agopbutils: GST_EXPORT -> GST_PBUTILS_API
Tim-Philipp Müller [Tue, 13 Mar 2018 11:08:34 +0000 (11:08 +0000)]
pbutils: GST_EXPORT -> GST_PBUTILS_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 agogl: GST_EXPORT -> GST_GL_API
Tim-Philipp Müller [Tue, 13 Mar 2018 10:57:15 +0000 (10:57 +0000)]
gl: GST_EXPORT -> GST_GL_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 agofft: GST_EXPORT -> GST_FFT_API
Tim-Philipp Müller [Tue, 13 Mar 2018 10:43:20 +0000 (10:43 +0000)]
fft: GST_EXPORT -> GST_FFT_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 agoaudio: GST_EXPORT -> GST_AUDIO_API
Tim-Philipp Müller [Tue, 13 Mar 2018 10:36:56 +0000 (10:36 +0000)]
audio: GST_EXPORT -> GST_AUDIO_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 agoapp: GST_EXPORT -> GST_APP_API
Tim-Philipp Müller [Tue, 13 Mar 2018 10:28:21 +0000 (10:28 +0000)]
app: GST_EXPORT -> GST_APP_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 agoallocators: GST_EXPORT -> GST_ALLOCATORS_API
Tim-Philipp Müller [Tue, 13 Mar 2018 10:19:16 +0000 (10:19 +0000)]
allocators: GST_EXPORT -> GST_ALLOCATORS_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 agoaudioaggregator: fix channel-mask negotiation
Mathieu Duponchelle [Mon, 12 Mar 2018 15:23:02 +0000 (16:23 +0100)]
audioaggregator: fix channel-mask negotiation

When outputting more than two channels, a channel-mask has to be
specified in the output caps.

We follow the same heuristic as other cases, when downstream
does not specify a channel-mask, we use that of the first
configured pad, and if there was none we generate a fallback
mask.

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

6 years agoplayback: Remove subtitle-encoding property on uridecodebin3
Edward Hervey [Mon, 12 Mar 2018 12:38:07 +0000 (13:38 +0100)]
playback: Remove subtitle-encoding property on uridecodebin3

For now, until we found a more future-proof solution

6 years agodocs: video: fix typo and add since marker
Tim-Philipp Müller [Sun, 11 Mar 2018 22:57:02 +0000 (22:57 +0000)]
docs: video: fix typo and add since marker

6 years agodocs: libs: add another missing symbol
Tim-Philipp Müller [Sun, 11 Mar 2018 22:45:32 +0000 (22:45 +0000)]
docs: libs: add another missing symbol

6 years agodocs: add video region of interest add/get parameter api to docs
Tim-Philipp Müller [Sun, 11 Mar 2018 19:06:45 +0000 (19:06 +0000)]
docs: add video region of interest add/get parameter api to docs

6 years agoaudio: Add audioaggregator.h in audio.h
Thibault Saunier [Sun, 11 Mar 2018 15:13:32 +0000 (12:13 -0300)]
audio: Add audioaggregator.h in audio.h

6 years agodocs: add GstPhysMemoryAllocator to docs
Tim-Philipp Müller [Thu, 8 Mar 2018 01:01:53 +0000 (01:01 +0000)]
docs: add GstPhysMemoryAllocator to docs

6 years agoRevert "alsasrc: lock calls to snd_pcm_delay() with mutex as in alsasink"
Tim-Philipp Müller [Wed, 7 Mar 2018 18:50:05 +0000 (18:50 +0000)]
Revert "alsasrc: lock calls to snd_pcm_delay() with mutex as in alsasink"

This reverts commit 4f88125b3ddc15367d528e850cc27739f5bb27fa.

This seems to have undesirable side-effects and needs more
investigation first.

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

6 years agogl: only enable gbm backend if gudev is available
Tim-Philipp Müller [Mon, 5 Mar 2018 19:57:55 +0000 (19:57 +0000)]
gl: only enable gbm backend if gudev is available

gudev/gudev.h is included unconditionally, so only enable
the gbm backend if gudev was actually found. This also
matches the meson build behaviour.

Should fix build on GNOME SDK builder.