platform/upstream/gstreamer.git
6 years agoplaysink: audio visualization support fixes
Philippe Normand [Sat, 16 Jun 2018 13:27:20 +0000 (14:27 +0100)]
playsink: audio visualization support fixes

The queue between the audiotee and the audio chain wasn't properly added to the
bin, leading to streamsynchronizer locks on EOS. Reconfiguration of the
visualization chain wasn't working as expected either. It is now possible to
dynamically enable/disable the audio visualization support.

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

6 years agoaudioaggregator: Also run the audio-specific caps fixation for audio aggregator subcl...
Sebastian Dröge [Thu, 16 Aug 2018 15:03:37 +0000 (18:03 +0300)]
audioaggregator: Also run the audio-specific caps fixation for audio aggregator subclasses that can't convert

6 years agoaudioaggregator: Fixate to some meaningful values if no sinkpad is configured yet
Sebastian Dröge [Thu, 16 Aug 2018 14:54:00 +0000 (17:54 +0300)]
audioaggregator: Fixate to some meaningful values if no sinkpad is configured yet

The default caps fixation code would select a rate of 1 for example,
which is not really ideal.

6 years agomeson: remove obsolete FIXME
Tim-Philipp Müller [Thu, 16 Aug 2018 10:35:33 +0000 (11:35 +0100)]
meson: remove obsolete FIXME

6 years agomeson: gl: find libjpeg via pkg-config
Tim-Philipp Müller [Thu, 16 Aug 2018 10:08:38 +0000 (11:08 +0100)]
meson: gl: find libjpeg via pkg-config

This effectively (but optionally) requires libjpeg-turbo which
ships with a .pc file and is what pretty much everyone these days
uses anyway for libjpeg, so shouldn't be a problem hopefully.

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

6 years agomeson: move gmodule check to top-level
Tim-Philipp Müller [Thu, 16 Aug 2018 09:58:47 +0000 (10:58 +0100)]
meson: move gmodule check to top-level

It's also needed by the generic/states test and the variable
is currently checked as part of the opengl lib tests so wouldn't
be available if opengl was disabled.

6 years agomeson: add option for opengl and the misc optional gl plugin deps
Tim-Philipp Müller [Thu, 16 Aug 2018 09:28:48 +0000 (10:28 +0100)]
meson: add option for opengl and the misc optional gl plugin deps

Finer control over the opengl integration library dependencies
is already implemented via the gl_api, gl_platform, and gl_winsys
options.

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

6 years agomeson: options: move gl options into separate section
Tim-Philipp Müller [Thu, 16 Aug 2018 09:13:39 +0000 (10:13 +0100)]
meson: options: move gl options into separate section

6 years agoaudioaggregator: Properly propagate caps negotiation failures
Sebastian Dröge [Mon, 13 Aug 2018 11:50:09 +0000 (14:50 +0300)]
audioaggregator: Properly propagate caps negotiation failures

Otherwise we'll end up doing a division by zero when clipping buffers,
and might even accept buffers for which we don't know the caps.

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

6 years agogst-libs: include config.h in all source files
Tim-Philipp Müller [Sat, 28 Apr 2018 13:50:11 +0000 (14:50 +0100)]
gst-libs: include config.h in all source files

This will be needed later when we get our export define from config.h

6 years agopbutils, rtsp: fix deprecation guards
Tim-Philipp Müller [Sat, 28 Apr 2018 23:18:58 +0000 (00:18 +0100)]
pbutils, rtsp: fix deprecation guards

Function body must only be removed if compiling with
GST_REMOVE_DEPRECATED. Function declaration must not
be skipped if GST_DISABLE_DEPRECATED is defined, since
it contains our export decorator and we wouldn't export
the symbol as public API any more then since we compile
with GST_DISABLE_DEPRECATED.

6 years agotests: remove unused build definition
Tim-Philipp Müller [Sat, 28 Apr 2018 12:41:11 +0000 (13:41 +0100)]
tests: remove unused build definition

6 years agomeson: add build options to disable tools and tests
Tim-Philipp Müller [Sun, 12 Aug 2018 17:12:35 +0000 (18:12 +0100)]
meson: add build options to disable tools and tests

6 years agotag: add license to generated backup language name table and update
Tim-Philipp Müller [Sun, 12 Aug 2018 12:19:44 +0000 (13:19 +0100)]
tag: add license to generated backup language name table and update

It's LGPL same as iso-codes

6 years agomeson: use iso-codes in gsttag if available
Tim-Philipp Müller [Sun, 12 Aug 2018 11:55:00 +0000 (12:55 +0100)]
meson: use iso-codes in gsttag if available

6 years agomeson: add zlib to gstreamer-1.0.pc if found
Tim-Philipp Müller [Sat, 11 Aug 2018 23:21:58 +0000 (00:21 +0100)]
meson: add zlib to gstreamer-1.0.pc if found

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

6 years agomeson: add options to disable gobject cast checks and glib asserts
Tim-Philipp Müller [Sat, 11 Aug 2018 23:13:31 +0000 (00:13 +0100)]
meson: add options to disable gobject cast checks and glib asserts

and define G_DISABLE_DEPRECATED for development versions,
like we do in autotools.

6 years agomeson: update available gl_winsys in options list
Tim-Philipp Müller [Sat, 11 Aug 2018 23:09:20 +0000 (00:09 +0100)]
meson: update available gl_winsys in options list

6 years agomeson: tag: check for zlib and support compressed id3v2 tag if found
Tim-Philipp Müller [Sat, 11 Aug 2018 17:49:10 +0000 (18:49 +0100)]
meson: tag: check for zlib and support compressed id3v2 tag if found

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

6 years agoglviewconvert: fix output when a transformation matrix is used
Matthew Waters [Fri, 10 Aug 2018 12:44:12 +0000 (22:44 +1000)]
glviewconvert: fix output when a transformation matrix is used

If we have a transformation matrix, we have no idea where in the output
the video is going to endup.  It might also be different and not cover
the entire output.

We need to clear the output to remove any previous data in the backing
texture.

Found from
https://stackoverflow.com/questions/51707229/python-gstreamer-for-dynamic-control-of-element-properties

6 years agomeson: fix install dir for generated header files
Bastian Köcher [Fri, 10 Aug 2018 11:43:38 +0000 (12:43 +0100)]
meson: fix install dir for generated header files

Nixos installs into a non-standard includedir, so need
to take account of the 'includedir' option instead of
just hard-coding 'include' here.

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

6 years agogst-play: use Fisher-Yates shuffle for shuffling the playlist
Tim-Philipp Müller [Wed, 8 Aug 2018 18:18:22 +0000 (19:18 +0100)]
gst-play: use Fisher-Yates shuffle for shuffling the playlist

6 years agotagdemux: Propagate flow returns from gst_type_find_helper_get_range() properly
Sebastian Dröge [Wed, 8 Aug 2018 10:44:55 +0000 (12:44 +0200)]
tagdemux: Propagate flow returns from gst_type_find_helper_get_range() properly

Instead of considering every failed typefinding as an error, even in
case of e.g. GST_FLOW_FLUSHING.

6 years agortsp: Include gstreamer-base gir dir in autotools
Thibault Saunier [Mon, 6 Aug 2018 18:17:09 +0000 (14:17 -0400)]
rtsp: Include gstreamer-base gir dir in autotools

6 years agogl/meson: fix macos additions for non-macos platforms
Matthew Waters [Fri, 3 Aug 2018 09:06:00 +0000 (19:06 +1000)]
gl/meson: fix macos additions for non-macos platforms

"gst-libs/gst/gl/meson.build:655:20: ERROR:  Unknown variable "quartzcore_dep"."

6 years agogl/meson: OSX support (CGL and Cocoa)
Alessandro Decina [Fri, 21 Jul 2017 06:59:28 +0000 (16:59 +1000)]
gl/meson: OSX support (CGL and Cocoa)

[Matthew Waters]: minor additions such as -fobjc-arc and relying on
dependency rather than cc.find_library()

6 years agoAdd GBM_CFLAGS and define EGL_PLATFORM_GBM_MESA
Norbert Wesp [Wed, 1 Aug 2018 11:59:45 +0000 (13:59 +0200)]
Add GBM_CFLAGS and define EGL_PLATFORM_GBM_MESA

Building an image with yocto for an 'am335x' processor will fail,
because 'gbm.h' can not be found and 'EGL_PLATFORM_GBM_MESA' is not defined.

So simply adding define of 'EGL_PLATFORM_GBM_MESA' in 'gstgldisplay_egl.c'
and adding 'GBM_CFLAGS' in 'gst-gl.m4' to get rid of this errors and complete
a full build process.

ERRORs were:
-----------
gst-plugins-base-1.14.1/gst-libs/gst/gl/gbm/gstglwindow_gbm_egl.h:24:10:
fatal error: gbm.h: No such file or directory
  #include <gbm.h>
           ^~~~~~~

gst-plugins-base-1.14.1/gst-libs/gst/gl/egl/gstgldisplay_egl.c:157:39:
error: 'EGL_PLATFORM_GBM_MESA' undeclared (first use in this function);
did you mean 'EGL_PLATFORM_WAYLAND'?
  ret = _gst_eglGetPlatformDisplay (EGL_PLATFORM_GBM_MESA, (gpointer) display,
                                    ^~~~~~~~~~~~~~~~~~~~~

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

6 years agoopusdec: Add property to control phase inversion
Nicolas Dufresne [Wed, 1 Aug 2018 02:41:16 +0000 (22:41 -0400)]
opusdec: Add property to control phase inversion

When enabled, phase-inversion slightly increase stereo quality, but
produce a stream that when downmixed to mono will present important
audio distortion. This patch disables this feature by default and
introduce a property that let user enable it if desired.

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

6 years agogl/gbm: allow headless mode
freyr [Mon, 30 Jul 2018 07:03:11 +0000 (10:03 +0300)]
gl/gbm: allow headless mode

Don't require an output for the GBM backend.

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

6 years agogl: Add switches for explicitely enabling/disabling PNG and JPEG support
Carlos Rafael Giani [Thu, 19 Jul 2018 09:16:05 +0000 (11:16 +0200)]
gl: Add switches for explicitely enabling/disabling PNG and JPEG support

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

6 years agogl: Add switch for explicitely enabling/disabling GBM support
Carlos Rafael Giani [Thu, 19 Jul 2018 08:30:54 +0000 (10:30 +0200)]
gl: Add switch for explicitely enabling/disabling GBM support

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

6 years agomeson: Fix build with x11 dependency is disabled
Nirbheek Chauhan [Tue, 31 Jul 2018 18:02:42 +0000 (23:32 +0530)]
meson: Fix build with x11 dependency is disabled

gtk_x11_dep is used unconditionally in tests/icles/meson.build

6 years agomeson: Fix detection of cdparanoia library
Nirbheek Chauhan [Tue, 31 Jul 2018 07:58:59 +0000 (13:28 +0530)]
meson: Fix detection of cdparanoia library

Without this the pkg-config file is required when the plugin is enabled.

6 years agotagdemux: Properly propagate gst_pad_pull_range() errors
Sebastian Dröge [Fri, 27 Jul 2018 12:15:34 +0000 (15:15 +0300)]
tagdemux: Properly propagate gst_pad_pull_range() errors

And don't consider FLUSHING an actual error, just stop in that case.

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

6 years agomeson: Add feature options for all plugins
Nirbheek Chauhan [Wed, 25 Jul 2018 02:05:05 +0000 (07:35 +0530)]
meson: Add feature options for all plugins

GL dependency detection is still automagic.

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

6 years agogl: Also don't leak floating references to elements set via properties
Sebastian Dröge [Wed, 25 Jul 2018 12:03:59 +0000 (15:03 +0300)]
gl: Also don't leak floating references to elements set via properties

Fixup for 58ac815eae6ed468d1db60a54a1bd34d6324c28c. Floating references
are such a mess.

6 years agogl: Don't steal callers reference when setting non-floating elements via properties
Sebastian Dröge [Wed, 25 Jul 2018 11:23:36 +0000 (14:23 +0300)]
gl: Don't steal callers reference when setting non-floating elements via properties

Introduced by fbef9220d3dc2f785081c4766901aab2ecfaed10. The code there
is only correct for elements we get from signals.

6 years agoaudio-buffer: fix typo in assignment that causes buggy behavior
George Kiagiadakis [Tue, 24 Jul 2018 12:09:25 +0000 (15:09 +0300)]
audio-buffer: fix typo in assignment that causes buggy behavior

6 years agogstaudiodecoder: take into account GstAudioMeta::samples on the output buffers
George Kiagiadakis [Wed, 14 Feb 2018 11:55:06 +0000 (13:55 +0200)]
gstaudiodecoder: take into account GstAudioMeta::samples on the output buffers

This is useful if the output buffers are planar and have extra padding
on each plane, in which case size/bpf does not represent the number of
valid samples.

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

6 years agogstaudiodecoder: do not aggregate output if buffers are planar
George Kiagiadakis [Wed, 14 Feb 2018 11:11:37 +0000 (13:11 +0200)]
gstaudiodecoder: do not aggregate output if buffers are planar

Aggregation will break the layout, as it concatenates buffers,
and fixing it here would be much more inefficient than configuring
the actual decoder implementation to output larger buffers.

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

6 years agomeson: gl/gtk tests: Add video_dep to the helper
Nicolas Dufresne [Sat, 21 Jul 2018 13:13:27 +0000 (09:13 -0400)]
meson: gl/gtk tests: Add video_dep to the helper

The gtk helper library includes videooverlay.h hence must have a
dependency on video_dep, this allow removing the dep from the dependant
executables.

6 years agomeson: examples: fix wrong keyword for gtk examples
Tim-Philipp Müller [Sat, 21 Jul 2018 10:12:09 +0000 (11:12 +0100)]
meson: examples: fix wrong keyword for gtk examples

6 years agomeson: Build gl/gtk examples
Nicolas Dufresne [Sat, 21 Jul 2018 02:07:04 +0000 (22:07 -0400)]
meson: Build gl/gtk examples

6 years agoaudiorate: accumulate offset by time diff
Justin Kim [Fri, 5 Jan 2018 07:07:54 +0000 (16:07 +0900)]
audiorate: accumulate offset by time diff

The fomula, 'offset = time / rate', is correct only if
the rate is never changed. When the rate is changed,
the offset should be re-calculated based on the previous
offset.

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

6 years agoxvimage: Fix symbol redefine build error
Seungha Yang [Wed, 18 Jul 2018 10:53:26 +0000 (19:53 +0900)]
xvimage: Fix symbol redefine build error

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

6 years agoglupload: Only offer DMABuf caps feature if using EGL
Nicolas Dufresne [Tue, 17 Jul 2018 15:43:40 +0000 (11:43 -0400)]
glupload: Only offer DMABuf caps feature if using EGL

This was miss-leading VAAPI which was not forcing linear back buffers,
would still export DMABuf. That caused bad rendering as the buffers are
tiled and most likely compressed.

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

6 years agourisourcebin: Rename urisourcebin variable and query functions
Wonchul Lee [Thu, 1 Sep 2016 06:14:37 +0000 (15:14 +0900)]
urisourcebin: Rename urisourcebin variable and query functions

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

6 years agourisourcebin: Set streams-aware flag
Seungha Yang [Fri, 11 May 2018 11:25:34 +0000 (20:25 +0900)]
urisourcebin: Set streams-aware flag

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

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

6 years agogl/build: fixed failed compilation due to missing EGLuint64KHR typedef
Iñigo Huguet [Mon, 16 Jul 2018 14:01:34 +0000 (16:01 +0200)]
gl/build: fixed failed compilation due to missing EGLuint64KHR typedef

[Matthew Waters]: add meson differences

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

6 years agoRevert "glupload: Only offer DMABuf caps feature if using EGL"
Nicolas Dufresne [Tue, 17 Jul 2018 15:51:49 +0000 (11:51 -0400)]
Revert "glupload: Only offer DMABuf caps feature if using EGL"

This reverts commit bc9afe724360cbbe5489ca1e1ea44f077810aca4.

6 years agoglupload: Only offer DMABuf caps feature if using EGL
Nicolas Dufresne [Tue, 17 Jul 2018 15:43:40 +0000 (11:43 -0400)]
glupload: Only offer DMABuf caps feature if using EGL

This was miss-leading VAAPI which was not forcing linear back buffers,
would still export DMABuf. That caused bad rendering as the buffers are
tiled and most likely compressed.

6 years agodocs: libs: Add new symbols to section file
Olivier Crête [Mon, 16 Jul 2018 21:09:02 +0000 (17:09 -0400)]
docs: libs: Add new symbols to section file

6 years agorawvideoparse: fix typo in 'plane-offsets' description
Guillaume Desmottes [Mon, 16 Jul 2018 11:12:50 +0000 (13:12 +0200)]
rawvideoparse: fix typo in 'plane-offsets' description

The property is 'plane-offsets', not 'plane-offset' so the example in
the description was wrong.

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

6 years agovideodecoder: Don't always drain on gaps/discont
Nicolas Dufresne [Mon, 9 Jul 2018 18:03:04 +0000 (14:03 -0400)]
videodecoder: Don't always drain on gaps/discont

V4L2 and OMX decoder don't support draining and keeping reference
frames. As a side effect, these decoder just stops working on
gaps/discont. When this drain was introduced, the commit stated that
this was for TRICKMODE_KEY_UNITS, so only drain if running in this mode.

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

6 years agotests: audio: test gst_audio_buffer_reorder_channels() also with non-interleaved...
George Kiagiadakis [Tue, 13 Feb 2018 13:04:04 +0000 (15:04 +0200)]
tests: audio: test gst_audio_buffer_reorder_channels() also with non-interleaved buffers

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

6 years agolibs: audio: implement planar buffer support in gst_audio_buffer_reorder_channels()
George Kiagiadakis [Tue, 13 Feb 2018 11:24:32 +0000 (13:24 +0200)]
libs: audio: implement planar buffer support in gst_audio_buffer_reorder_channels()

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

6 years agoaudiorate: fix support for non-interleaved buffers
George Kiagiadakis [Mon, 12 Feb 2018 12:45:44 +0000 (14:45 +0200)]
audiorate: fix support for non-interleaved buffers

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

6 years agolibs: audio: add a new gst_audio_buffer_truncate() function
George Kiagiadakis [Fri, 18 May 2018 13:22:47 +0000 (16:22 +0300)]
libs: audio: add a new gst_audio_buffer_truncate() function

Essentially this moves the truncation logic out of gst_audio_buffer_clip()
so that it can be used in other places, like in audiorate.

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

6 years agotests: audio: add unit tests for planar audio support in gst_audio_buffer_clip()
George Kiagiadakis [Fri, 18 May 2018 13:22:32 +0000 (16:22 +0300)]
tests: audio: add unit tests for planar audio support in gst_audio_buffer_clip()

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

6 years agolibs: audio: implement support for non-interleaved audio in gst_audio_buffer_clip()
George Kiagiadakis [Thu, 8 Feb 2018 12:34:23 +0000 (14:34 +0200)]
libs: audio: implement support for non-interleaved audio in gst_audio_buffer_clip()

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

6 years agogluploadelement: also set the context in decide_allocation
Matthew Waters [Thu, 12 Jul 2018 03:13:04 +0000 (13:13 +1000)]
gluploadelement: also set the context in decide_allocation

If downstream doesn't perform allocation queries, the context would
never be set and criticals would occur.

6 years agotests: simple-launch-lines: fixate audioconvert caps now that the layout is also...
George Kiagiadakis [Wed, 11 Jul 2018 15:29:52 +0000 (18:29 +0300)]
tests: simple-launch-lines: fixate audioconvert caps now that the layout is also convertable

Because audioconvert can now convert between interleaved and non-interleaved,
this pipeline fails on the upstream capsfilter not being able to fixate its
output caps. This is unavoidable.

6 years agoadder: remove non-interleaved layout from caps
George Kiagiadakis [Mon, 12 Feb 2018 13:33:49 +0000 (15:33 +0200)]
adder: remove non-interleaved layout from caps

adder needs more than just trivial work to support planar buffers properly
because it currently reads sub-buffers from GstCollectPads in order for all
of them to have matching sizes. In planar mode, this means it would truncate
some channels and mix them up in strange ways. It only works if all input
buffers in all sink pads have matching sizes.

6 years agoaudioresample: implement support for non-interleaved buffers
George Kiagiadakis [Wed, 7 Feb 2018 16:17:07 +0000 (18:17 +0200)]
audioresample: implement support for non-interleaved buffers

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

6 years agotests: audioconvert: add tests for planar audio
George Kiagiadakis [Fri, 9 Feb 2018 15:07:48 +0000 (17:07 +0200)]
tests: audioconvert: add tests for planar audio

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

6 years agotests: audioconvert: add support for specifying the layout on tests
George Kiagiadakis [Fri, 9 Feb 2018 12:29:57 +0000 (14:29 +0200)]
tests: audioconvert: add support for specifying the layout on tests

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

6 years agoaudioconvert: implement support for converting between interleaved and non-interleave...
George Kiagiadakis [Thu, 1 Feb 2018 16:08:51 +0000 (18:08 +0200)]
audioconvert: implement support for converting between interleaved and non-interleaved layouts

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

6 years agolibs: audio-converter: complete code to support non-interleaved audio buffers
George Kiagiadakis [Thu, 1 Feb 2018 15:00:06 +0000 (17:00 +0200)]
libs: audio-converter: complete code to support non-interleaved audio buffers

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

6 years agolibs: audio-resampler: add support for consuming non-interleaved input buffers
George Kiagiadakis [Thu, 1 Feb 2018 11:23:53 +0000 (13:23 +0200)]
libs: audio-resampler: add support for consuming non-interleaved input buffers

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

6 years agolibs: audio-channel-mixer: add support for non-interleaved audio buffers
George Kiagiadakis [Wed, 31 Jan 2018 17:28:57 +0000 (19:28 +0200)]
libs: audio-channel-mixer: add support for non-interleaved audio buffers

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

6 years agotests/check/Makefile.am: link audiotestsrc test with libgstaudio
George Kiagiadakis [Wed, 11 Jul 2018 11:48:57 +0000 (14:48 +0300)]
tests/check/Makefile.am: link audiotestsrc test with libgstaudio

Needed for the new planar audio unit test

6 years agotests: audiotestsrc: add unit test for non-interleaved audio output
George Kiagiadakis [Wed, 31 Jan 2018 15:41:32 +0000 (17:41 +0200)]
tests: audiotestsrc: add unit test for non-interleaved audio output

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

6 years agoaudiotestsrc: implement producing non-interleaved audio buffers
George Kiagiadakis [Wed, 31 Jan 2018 15:39:05 +0000 (17:39 +0200)]
audiotestsrc: implement producing non-interleaved audio buffers

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

6 years agogl/utils: fixup matrix math again for column major
Matthew Waters [Tue, 10 Jul 2018 10:03:12 +0000 (20:03 +1000)]
gl/utils: fixup matrix math again for column major

e4bf9ed8f060021151cd57e2b00493ed696cb47b was not quite right and changed
the wrong thing. Intead we needed to change the multiplication order
and should have kept the previous to/from matrices as is done in this
patch.

6 years agovideopool: display expected size in warning message
Guillaume Desmottes [Mon, 9 Jul 2018 08:48:54 +0000 (10:48 +0200)]
videopool: display expected size in warning message

Display the size computed from the caps when rejecting a pool
configuration because the buffer size is too small.

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

6 years agovideosink: Set processing deadline to 15ms
Olivier Crête [Fri, 20 Oct 2017 16:36:55 +0000 (18:36 +0200)]
videosink: Set processing deadline to 15ms

This roughly corresponds to one frame at 60fps, and leave 5ms
of max_lateness to not change the existing behaviour.

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

6 years agoparsebin: Don't try to continue autoplugging a parser if we got raw caps
Sebastian Dröge [Fri, 6 Jul 2018 07:51:37 +0000 (10:51 +0300)]
parsebin: Don't try to continue autoplugging a parser if we got raw caps

Otherwise we'll fail with an unhelpful message that no decoder for the
raw caps was found if a container contains raw media.

6 years agotypefindfunctions: Bail out on huge EBML chunks
Edward Hervey [Fri, 6 Jul 2018 11:48:09 +0000 (13:48 +0200)]
typefindfunctions: Bail out on huge EBML chunks

We can't handle/store more than guint32 anyway

6 years agotypefindfunctions: Use guint32 for sizes
Edward Hervey [Fri, 6 Jul 2018 11:46:17 +0000 (13:46 +0200)]
typefindfunctions: Use guint32 for sizes

This brings it in sync with the type used with gst_type_find_*() API

6 years agotypefindfunctions: Use types of same size/signedness
Edward Hervey [Fri, 6 Jul 2018 11:12:51 +0000 (13:12 +0200)]
typefindfunctions: Use types of same size/signedness

Where applicable/possible

6 years agotests: audio: add unit test for GstAudioBuffer & GstAudioMeta
George Kiagiadakis [Thu, 8 Feb 2018 13:20:09 +0000 (15:20 +0200)]
tests: audio: add unit test for GstAudioBuffer & GstAudioMeta

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

6 years agolibs: audio: Implement GstAudioBuffer & GstAudioMeta
George Kiagiadakis [Wed, 7 Feb 2018 12:36:01 +0000 (14:36 +0200)]
libs: audio: Implement GstAudioBuffer & GstAudioMeta

Library bits to support non-interleaved audio

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

6 years agomeson: rtsp now also depends on libgstbase
Tim-Philipp Müller [Fri, 29 Jun 2018 09:54:36 +0000 (10:54 +0100)]
meson: rtsp now also depends on libgstbase

6 years agortsp: Also use libgstbase for introspection module
Edward Hervey [Fri, 29 Jun 2018 06:53:48 +0000 (08:53 +0200)]
rtsp: Also use libgstbase for introspection module

6 years agortsp: Link to libgstbase for GstDataQueue
Sebastian Dröge [Fri, 29 Jun 2018 06:08:46 +0000 (08:08 +0200)]
rtsp: Link to libgstbase for GstDataQueue

6 years agoaudiobasesrc: Round down segsize to an integer number of samples
wangzq [Thu, 28 Jun 2018 12:13:04 +0000 (20:13 +0800)]
audiobasesrc: Round down segsize to an integer number of samples

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

6 years agortspconnection: Use GstQueueArray instead of GQueue for the queued messages
Sebastian Dröge [Thu, 28 Jun 2018 08:19:19 +0000 (10:19 +0200)]
rtspconnection: Use GstQueueArray instead of GQueue for the queued messages

6 years agogl: check for EGL_KHR_platform_gbm for non-MESA gbm implementations
memeka [Tue, 26 Jun 2018 02:48:27 +0000 (12:18 +0930)]
gl: check for EGL_KHR_platform_gbm for non-MESA gbm implementations

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

6 years agogl: fix build on iOS
Tim-Philipp Müller [Sun, 24 Jun 2018 11:35:20 +0000 (13:35 +0200)]
gl: fix build on iOS

6 years agogl: fix build on Windows
Tim-Philipp Müller [Sun, 24 Jun 2018 11:19:21 +0000 (13:19 +0200)]
gl: fix build on Windows

6 years agogl: Update for g_type_class_add_private() deprecation in recent GLib
Tim-Philipp Müller [Sat, 23 Jun 2018 19:33:16 +0000 (21:33 +0200)]
gl: Update for g_type_class_add_private() deprecation in recent GLib

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

6 years agortp: Update for g_type_class_add_private() deprecation in recent GLib
Tim-Philipp Müller [Sat, 23 Jun 2018 19:33:16 +0000 (21:33 +0200)]
rtp: Update for g_type_class_add_private() deprecation in recent GLib

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

6 years agopbutils: Update for g_type_class_add_private() deprecation in recent GLib
Tim-Philipp Müller [Sat, 23 Jun 2018 19:33:16 +0000 (21:33 +0200)]
pbutils: Update for g_type_class_add_private() deprecation in recent GLib

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

6 years agotag: Update for g_type_class_add_private() deprecation in recent GLib
Tim-Philipp Müller [Sat, 23 Jun 2018 19:33:16 +0000 (21:33 +0200)]
tag: Update for g_type_class_add_private() deprecation in recent GLib

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

6 years agovideo: Update for g_type_class_add_private() deprecation in recent GLib
Tim-Philipp Müller [Sat, 23 Jun 2018 19:33:16 +0000 (21:33 +0200)]
video: Update for g_type_class_add_private() deprecation in recent GLib

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

6 years agoaudio: Update for g_type_class_add_private() deprecation in recent GLib
Tim-Philipp Müller [Sat, 23 Jun 2018 19:33:16 +0000 (21:33 +0200)]
audio: Update for g_type_class_add_private() deprecation in recent GLib

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

6 years agoapp: Update for g_type_class_add_private() deprecation in recent GLib
Tim-Philipp Müller [Sat, 23 Jun 2018 19:33:16 +0000 (21:33 +0200)]
app: Update for g_type_class_add_private() deprecation in recent GLib

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

6 years agoglcontextegl: only dump configs once
Matthew Waters [Fri, 22 Jun 2018 12:43:08 +0000 (22:43 +1000)]
glcontextegl: only dump configs once

6 years agoglcontextegl: Fix android build without ES3 tokens
Matthew Waters [Fri, 22 Jun 2018 12:40:55 +0000 (22:40 +1000)]
glcontextegl: Fix android build without ES3 tokens

6 years agortspdefs: Add gst_rtsp_generate_digest_auth_response_from_md5
Mathieu Duponchelle [Wed, 20 Jun 2018 02:41:24 +0000 (04:41 +0200)]
rtspdefs: Add gst_rtsp_generate_digest_auth_response_from_md5

Passwords are usually not stored in clear text, usually
the A1 section of the response is stored as is in .htdigest
files.

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