platform/upstream/gstreamer.git
6 years agoCOPYING: Put LGPLv2 in there
Olivier Crête [Fri, 4 May 2018 11:36:36 +0000 (13:36 +0200)]
COPYING: Put LGPLv2 in there

There is no GPLv2 code in this repo.

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

6 years agoappsink: Handle unlock in drain query handling too
Sebastian Dröge [Wed, 2 May 2018 15:39:31 +0000 (18:39 +0300)]
appsink: Handle unlock in drain query handling too

And also handle flushing, we might otherwise wait here forever when
flushing too.

6 years agoappsink: Make sure to also handle unlock when waiting for EOS to be handled
Sebastian Dröge [Wed, 2 May 2018 15:35:23 +0000 (18:35 +0300)]
appsink: Make sure to also handle unlock when waiting for EOS to be handled

Otherwise shutting down during EOS waiting will cause a deadlock.

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

6 years agoappsrc/sink: Fix optimization for only signalling waiters if someone is actually...
Sebastian Dröge [Wed, 2 May 2018 15:11:58 +0000 (18:11 +0300)]
appsrc/sink: Fix optimization for only signalling waiters if someone is actually waiting

It is possible that both application and the stream are waiting
currently, if for example the following happens:
  1) app is waiting because no buffer in appsink
  2) appsink providing a buffer and waking up app
  3) appsink getting another buffer and waiting because it's full now
  4) app thread getting back control

Previously step 4 would overwrite that the appsink is currently waiting,
so it would never be signalled again.

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

6 years agopbutils: Avoid assertion describing raw audio caps without format
Thibault Saunier [Mon, 30 Apr 2018 15:17:22 +0000 (17:17 +0200)]
pbutils: Avoid assertion describing raw audio caps without format

We used to get:

    gst_audio_format_from_string: assertion 'format != NULL' failed

6 years agoencoding-profile: Fix deserialization of a single profile
Thibault Saunier [Mon, 23 Apr 2018 19:50:26 +0000 (16:50 -0300)]
encoding-profile: Fix deserialization of a single profile

Instead of trying to guess what profile to build, just get the possible
elements to use with the specified caps and determine the
EncodingProfile from it.

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

6 years agoencodebin: Also lock input caps when dynamic output is disabled
Thibault Saunier [Sun, 22 Apr 2018 13:49:29 +0000 (10:49 -0300)]
encodebin: Also lock input caps when dynamic output is disabled

With the way caps negotiation work in encoders, the only way to ensure
that no downstream renegotiation is done in the encoder is to also lock
upstream caps. Anyway with the current behavior upstream of encoders
*require* to handle any file format so locking upstream format should
be safe.

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

6 years agotagmux: Reset final tags for reusing element
Seungha Yang [Mon, 30 Apr 2018 10:49:20 +0000 (19:49 +0900)]
tagmux: Reset final tags for reusing element

If the output tag had been exposed, it never ever updated
even if we reset the tagmux using state change.

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

6 years agouridecodebin3: don't segfault if a pad is not a source pad when it is removed
hoonhee.lee [Wed, 25 Apr 2018 00:28:53 +0000 (09:28 +0900)]
uridecodebin3: don't segfault if a pad is not a source pad when it is removed

Ignore to handling a pad of decodebin3 which doesn't have corresponding output
when it is removed.

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

6 years agovideodecoder: add test for event order
Michael Olbrich [Fri, 20 Apr 2018 10:30:22 +0000 (12:30 +0200)]
videodecoder: add test for event order

When frames are dropped or reordered then the serialized events are
collected and pushed with the next frame. This test verifies that the
order is preserved.

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

6 years agovideodecoder: keep event order
Matthias Fend [Thu, 8 Mar 2018 10:28:58 +0000 (11:28 +0100)]
videodecoder: keep event order

Since events are pushed out in reverse order, newer events need to
be added at the front of event lists

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

6 years agodmabufallocator: adds gst_dmabuf_allocator_alloc_with_flags
Hyunjun Ko [Fri, 30 Mar 2018 06:41:15 +0000 (15:41 +0900)]
dmabufallocator: adds gst_dmabuf_allocator_alloc_with_flags

If we can guarantee the lifetime of the fd is longer than
the memory, we can use DONT_CLOSE flag not to close when release.
But it's not provided in gstdmabuf yet while gstfdmemory does.

For example, in case of using VA-API or MSDK, we would need this api.
Otherwise we should call dup to duplicate the fd.

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

6 years agoviv-fb: export viv-fb display api
Haihua Hu [Thu, 26 Apr 2018 05:01:05 +0000 (13:01 +0800)]
viv-fb: export viv-fb display api

qmlgl plugin will use this api

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

6 years agoviv-fb: install gstgldisplay_viv_fb.h into build result
Haihua Hu [Tue, 24 Apr 2018 05:48:53 +0000 (13:48 +0800)]
viv-fb: install gstgldisplay_viv_fb.h into build result

gstgldisplay_viv_fb.h is need by qmlgl plugin in gst-good package

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

6 years agomeson: fix copy'n'paste-o in app plugin build description
Tim-Philipp Müller [Wed, 25 Apr 2018 10:26:17 +0000 (11:26 +0100)]
meson: fix copy'n'paste-o in app plugin build description

6 years agoMeson: Generate pc file for all plugins in base
Xavier Claessens [Tue, 24 Apr 2018 18:05:57 +0000 (14:05 -0400)]
Meson: Generate pc file for all plugins in base

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

6 years agomeson: use -Wl,-Bsymbolic-functions where supported
Tim-Philipp Müller [Wed, 25 Apr 2018 09:57:48 +0000 (10:57 +0100)]
meson: use -Wl,-Bsymbolic-functions where supported

Just like the autotools build.

6 years agogl/cocoa: Let ARC clean up our dispatch queue if ARC is used, and otherwise do it...
Sebastian Dröge [Tue, 24 Apr 2018 22:33:43 +0000 (01:33 +0300)]
gl/cocoa: Let ARC clean up our dispatch queue if ARC is used, and otherwise do it manually

Also don't use __bridge casts if ARC is not used, as is the case on 32
bit systems.

6 years agogl/cocoa: Use NSRect instead of CGRect
Sebastian Dröge [Tue, 24 Apr 2018 22:08:58 +0000 (01:08 +0300)]
gl/cocoa: Use NSRect instead of CGRect

On 64 bit systems they're typedefs of each other but on 32 bit systems
not, and we pass the rect to an API that expects a NSRect

6 years agoRevert "video: Add NV12_10LE40 pixel format"
Nicolas Dufresne [Tue, 24 Apr 2018 21:05:17 +0000 (17:05 -0400)]
Revert "video: Add NV12_10LE40 pixel format"

This reverts commit 35d0783fca504997e1be30cfebfa8de042ea49ab.

6 years agovideo: Add NV12_10LE40 pixel format
ayaka [Sat, 25 Mar 2017 20:54:42 +0000 (04:54 +0800)]
video: Add NV12_10LE40 pixel format

This pixel format is a fully packed variant of NV12, a luma
pixel would take 10bits in memory, without any filled bits
between pixels in a stride. The color range follows
the BT.2020 standard.

In order to get a performance in hardware memory
operation, it may expend the stride, append zero data at the
end of echo lines.

Signed-off-by: ayaka <ayaka@soulik.info>
https://bugzilla.gnome.org/show_bug.cgi?id=795462

6 years agogl: fix some GIR annotations
Mark Nauwelaerts [Fri, 20 Apr 2018 19:54:23 +0000 (21:54 +0200)]
gl: fix some GIR annotations

Mostly related to out and array parameters

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