platform/upstream/gstreamer.git
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

6 years agogl/tests: matrix use the affine matrix setter to convert matrices
Matthew Waters [Thu, 21 Jun 2018 07:47:09 +0000 (17:47 +1000)]
gl/tests: matrix use the affine matrix setter to convert matrices

Removes some duplicated matrices that didn't really need to be
hardcoded.

6 years agoglcontextegl: dump the list of EGLConfig's available
Matthew Waters [Thu, 21 Jun 2018 07:36:39 +0000 (17:36 +1000)]
glcontextegl: dump the list of EGLConfig's available

6 years agogl: use dependency fallbacks to get at a possible gl-headers subproject
Matthew Waters [Mon, 18 Jun 2018 12:24:13 +0000 (22:24 +1000)]
gl: use dependency fallbacks to get at a possible gl-headers subproject

We would make the subproject conditional on the wrap-mode=nodownload
however get_option('wrap-mode') or similar is not available from
meson.build files as the wrap-mode is meant to be used automatically.

Instead use the dependency fallback mechanism to get at the subproject
where possible i.e. when downloading is allows and only add the compat
includes when we have a valid internal dependency from the gl-headers
subproject.

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

6 years agooggdemux: Make sure that events are writable before changing their seqnum
Sebastian Dröge [Mon, 18 Jun 2018 10:28:15 +0000 (13:28 +0300)]
oggdemux: Make sure that events are writable before changing their seqnum

6 years agogl/tests: add extension/version parsing checks
Matthew Waters [Fri, 15 Jun 2018 03:14:12 +0000 (13:14 +1000)]
gl/tests: add extension/version parsing checks

6 years agodiscoverer: Don't crash when running with -v if channel-mask==0 and >7 channels
Vivia Nikolaidou [Wed, 13 Jun 2018 12:29:46 +0000 (15:29 +0300)]
discoverer: Don't crash when running with -v if channel-mask==0 and >7 channels

For e.g. 16-channel audio, if the channel mask is 0 (which it usually
is), gst_audio_channel_positions_from_mask would get confused,
ultimately leading into a crash.

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

6 years agovideoencoder: Keep the segment position in sync
Edward Hervey [Wed, 13 Jun 2018 11:19:54 +0000 (13:19 +0200)]
videoencoder: Keep the segment position in sync

If the start of the segment is modified, the position should be
modified accordingly

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

6 years agosdp: Add new constructor, sdp_message_from_text
Mathieu Duponchelle [Mon, 11 Jun 2018 16:32:28 +0000 (18:32 +0200)]
sdp: Add new constructor, sdp_message_from_text

Helper function for bindings, in python for example
users can now replace:

res, msg = GstSdp.SDPMessage.new()
GstSdp.sdp_message_parse_buffer(bytes(text.encode()), msg)

with:

res, msg = GstSdp.SDPMessage.new_from_text(text)

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

6 years agovideopool: Removed unused private caps member
Nicolas Dufresne [Mon, 11 Jun 2018 17:51:47 +0000 (13:51 -0400)]
videopool: Removed unused private caps member

6 years agoRevert "gl/meson: add support for using bundled headers in a subproject"
Tim-Philipp Müller [Thu, 7 Jun 2018 16:42:35 +0000 (17:42 +0100)]
Revert "gl/meson: add support for using bundled headers in a subproject"

This reverts commit 82c43ff9a32f1c1d113cd6e1e8d046b7ab64422d.

Reverting for the time being, since it trips up build bots
that don't have network connectivity.

We ideally shouldn't have a subproject that's used unconditionally.

6 years agoglalpha: fix compilation with msvc
Matthew Waters [Thu, 7 Jun 2018 03:58:43 +0000 (13:58 +1000)]
glalpha: fix compilation with msvc

It doesn't define M_PI

6 years agogl/meson: add support for using bundled headers in a subproject
Matthew Waters [Wed, 6 Jun 2018 07:27:15 +0000 (17:27 +1000)]
gl/meson: add support for using bundled headers in a subproject

This is most useful when building on windows which does not ship the
necessary OpenGL headers.

6 years agogl: add subproject for necessary GL headers for building
Matthew Waters [Thu, 7 Jun 2018 03:48:10 +0000 (13:48 +1000)]
gl: add subproject for necessary GL headers for building

Originally for windows with the GL/glext.h and GL/wglext.h but can be
extended for other headers

6 years agoaudiobasesink: Improve clock skew corrections.
Thomas Bluemel [Wed, 1 Nov 2017 16:25:49 +0000 (10:25 -0600)]
audiobasesink: Improve clock skew corrections.

The external time should be moved only as much as needed
to get back to the ideal center point, so that the clock
is still allowed to drift both directions after the correction.
This reduces excessive back and forth corrections that were
caused by the assumption of a linear drift.

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

6 years agogl/meson: force the gl dependency to use pkg-config
Matthew Waters [Wed, 6 Jun 2018 07:24:26 +0000 (17:24 +1000)]
gl/meson: force the gl dependency to use pkg-config

Meson has an internal override for dependency('gl') which we do not want
to use as it assumes too many things.  Force meson to only search for
gl.pc.

6 years agogl/meson: don't define GST_EXPORTS
Matthew Waters [Mon, 4 Jun 2018 12:34:04 +0000 (22:34 +1000)]
gl/meson: don't define GST_EXPORTS

The intended use (msvc) doesn't currently like it and will fail to
resolve symbols at runtime.

6 years agogldownloadelement: fix build with msvc
Matthew Waters [Mon, 4 Jun 2018 12:32:03 +0000 (22:32 +1000)]
gldownloadelement: fix build with msvc

msvc doesn't like #ifdef inside macro expansion

6 years agogl/utils: Fix NDC conversion matrices for column-majorness
Matthew Waters [Wed, 23 May 2018 16:49:54 +0000 (02:49 +1000)]
gl/utils: Fix NDC conversion matrices for column-majorness

The matrices were converting the wrong values with non-diagonal-only matrices.
e.g. a typical yflip matrix in [-1,1]^3 such as
 1  0  0  0
 0 -1  0  0
 0  0  1  0
 0  0  0  1

Would have actually required a matrix like this in [0,1]^3
 1  0  0  0
 0 -1  0  0
 0  0  1  0
 0 -2  0  1

Which is
1. not consistent with our multiplication convention and would require
   transposing matrices or changing our multiplication order (from what is
   generally used on opengl matrix guides/tutorials).
2. Produces incorrect values when input with actual vertices accounting for
   the difference in multiplication order.  e.g. some vertices multiplied by
   the yflip matrix using vertex * yflip(== transpose(yflip) * vertex):

     vertex:       -> result:           expected:
     vec4(1,0,1,1) -> vec4(1,-2,1,1)    vec4(1,1,1,1)
     vec4(1,1,1,1) -> vec4(1,-3,1,1)    vec4(1,0,1,1)

With the updated values, we now get the expected values.

Includes a test for this behaviour and the example above

6 years agoplaysink: Properly propagate SEGMENT seqnum
Edward Hervey [Tue, 5 Jun 2018 15:30:47 +0000 (17:30 +0200)]
playsink: Properly propagate SEGMENT seqnum

When flushing chains, make sure the FLUSH events have seqnum
that are consistent with the current SEGMENT seqnum

6 years agostreamsynchronizer: Properly propagate seqnum on EOS event
Edward Hervey [Tue, 5 Jun 2018 15:29:53 +0000 (17:29 +0200)]
streamsynchronizer: Properly propagate seqnum on EOS event

6 years agortpbasedepayload: Properly propagate segment seqnum
Edward Hervey [Tue, 5 Jun 2018 15:24:55 +0000 (17:24 +0200)]
rtpbasedepayload: Properly propagate segment seqnum

This wasn't done previously and the outgoing SEGMENT events had
seqnums which weren't consistent with the upstream ones

6 years agooggdemux: Properly relay seqnum of segments
Edward Hervey [Tue, 5 Jun 2018 15:24:05 +0000 (17:24 +0200)]
oggdemux: Properly relay seqnum of segments

Not all cases were handled regarding properly propagating the
seqnum of SEGMENT events on all downstream segment-related events

6 years agosubparse: Don't read beyond array
Edward Hervey [Wed, 30 May 2018 09:39:40 +0000 (11:39 +0200)]
subparse: Don't read beyond array

If num_open_tags is 0, we shouldn't try to get the "last" open tag
since there isn't any.

6 years agoogg: Avoid undefined granule shift
Edward Hervey [Wed, 30 May 2018 08:56:12 +0000 (10:56 +0200)]
ogg: Avoid undefined granule shift

A granule is a 64bit signed integer, shifting by 63 or more is
undefined and most likely an indication that the stream is
corrupted or invalid.

Detected by oss-fuzz

6 years agodocs: Fix typos
Tim-Philipp Müller [Tue, 22 May 2018 12:59:58 +0000 (13:59 +0100)]
docs: Fix typos

6 years agolibs: g-ir-scanner: do not hardcode libtool path
Antoine Jacoutot [Fri, 18 Apr 2014 08:37:57 +0000 (10:37 +0200)]
libs: g-ir-scanner: do not hardcode libtool path

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

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

6 years agomeson: add install_plugins_helper option
Tim-Philipp Müller [Mon, 21 May 2018 10:35:05 +0000 (11:35 +0100)]
meson: add install_plugins_helper option

6 years agovideo: fix some GIR array annotations
Mark Nauwelaerts [Mon, 21 May 2018 07:18:24 +0000 (09:18 +0200)]
video: fix some GIR array annotations

6 years agoaudio: fix some GIR array annotations
Mark Nauwelaerts [Mon, 21 May 2018 07:18:09 +0000 (09:18 +0200)]
audio: fix some GIR array annotations

6 years agomeson: gl: remove non-headers from gl_prototype_headers
Christoph Reiter [Sun, 20 May 2018 11:37:07 +0000 (13:37 +0200)]
meson: gl: remove non-headers from gl_prototype_headers

This made the meson build install those files, while they aren't
installed with the autotools build.

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

6 years agomeson: use cdata.set_quoted() in more places
Tim-Philipp Müller [Sun, 20 May 2018 13:38:37 +0000 (14:38 +0100)]
meson: use cdata.set_quoted() in more places

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

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

6 years agomeson: install license-translations.dict and set LICENSE_TRANSLATIONS_PATH
Christoph Reiter [Sun, 20 May 2018 11:33:13 +0000 (13:33 +0200)]
meson: install license-translations.dict and set LICENSE_TRANSLATIONS_PATH

The autotools build installs the file and sets the LICENSE_TRANSLATIONS_PATH
macro which licences.c uses as a fallback path. Do the same with meson.

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

6 years agomeson: install the man pages for the command line tools
Christoph Reiter [Sun, 20 May 2018 11:35:52 +0000 (13:35 +0200)]
meson: install the man pages for the command line tools

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

6 years agovideo: Add NV12_10LE40 pixel format
ayaka [Sun, 29 Apr 2018 00:22:31 +0000 (20:22 -0400)]
video: Add NV12_10LE40 pixel format

This pixel format is a fully packed variant of NV12_10LE32,
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 better performance in hardware memory
operation, it may expend the stride, append zero data at the
end of echo lines.

Pack function by Nicolas Dufresne.

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

Signed-off-by: Nicolas Dufresne <nicolas@ndufresne.ca>
Signed-off-by: ayaka <ayaka@soulik.info>
6 years agolibs: g-ir-scanner: do not hardcode libtool path
Antoine Jacoutot [Fri, 18 Apr 2014 08:37:57 +0000 (10:37 +0200)]
libs: g-ir-scanner: do not hardcode libtool path

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

6 years agoplaybin3: Collect appropriate stream-type when doing stream selection
hoonhee.lee [Thu, 17 May 2018 04:54:35 +0000 (13:54 +0900)]
playbin3: Collect appropriate stream-type when doing stream selection

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

6 years agoaudioaggregator: Remove custom get_next_time implementation
Olivier Crête [Mon, 23 Apr 2018 17:27:39 +0000 (13:27 -0400)]
audioaggregator: Remove custom get_next_time implementation

GstAggregator now offers  same thing in a common implementation.

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

6 years agovideotimecode: Allow 24000/1001 frame rate
Georg Lippitsch [Wed, 13 Dec 2017 11:30:54 +0000 (12:30 +0100)]
videotimecode: Allow 24000/1001 frame rate

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

6 years agoexamples: gl: subdirs can be built independently in parallel
Tim-Philipp Müller [Sun, 13 May 2018 22:33:14 +0000 (23:33 +0100)]
examples: gl: subdirs can be built independently in parallel

6 years agoexamples: gl: sdl: link to the right in-tree libgstvideo
Pierre Labastie [Sun, 13 May 2018 22:31:22 +0000 (23:31 +0100)]
examples: gl: sdl: link to the right in-tree libgstvideo

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

6 years agosubparse: follow-up build fix after d871b1205
Philippe Normand [Sat, 12 May 2018 16:19:50 +0000 (17:19 +0100)]
subparse: follow-up build fix after d871b1205

6 years agosubparse: support for more than 32 unclosed markup tags
Philippe Normand [Sat, 12 May 2018 12:53:02 +0000 (13:53 +0100)]
subparse: support for more than 32 unclosed markup tags

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

6 years agoparsebin: remove unused macro definitions
Roland Jon [Sat, 12 May 2018 02:05:38 +0000 (10:05 +0800)]
parsebin: remove unused macro definitions

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

6 years agoexamples: Disable a specific warning
Edward Hervey [Fri, 11 May 2018 07:44:58 +0000 (09:44 +0200)]
examples: Disable a specific warning

gcc 8 checks more cases in the "parentheses" checks, and unfortunately
upstream gtk headers fails with that warning.

Make that warning non-fatal

6 years agodecodebin3: Do not modify structure of EOS event
Seungha Yang [Wed, 9 May 2018 16:54:36 +0000 (01:54 +0900)]
decodebin3: Do not modify structure of EOS event

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

6 years agourisourcebin: Do not modify structure of EOS event
Seungha Yang [Wed, 9 May 2018 16:33:55 +0000 (01:33 +0900)]
urisourcebin: Do not modify structure of EOS event

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

6 years agouridecodebin3: Fix GList leak
Seungha Yang [Wed, 9 May 2018 01:39:23 +0000 (10:39 +0900)]
uridecodebin3: Fix GList leak

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

6 years agouridecodebin3: Fix string leak
Seungha Yang [Tue, 8 May 2018 14:44:38 +0000 (23:44 +0900)]
uridecodebin3: Fix string leak

uri and suburi should be free'd

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

6 years agotagdemux: avoid timestamp field initialisation for tag event
Kyrylo Polezhaiev [Tue, 2 Feb 2016 16:19:30 +0000 (18:19 +0200)]
tagdemux: avoid timestamp field initialisation for tag event

This field is not used and will be removed in 2.0 API.

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

6 years agoglcolorbalance: Support OES textures for input/passthrough
Jan Schmidt [Tue, 27 Feb 2018 12:22:24 +0000 (23:22 +1100)]
glcolorbalance: Support OES textures for input/passthrough

glcolorbalance is in the default GL path inside glimagesink,
so has been causing an possibly-unnecessary extra texture copy
on Android for a while now. If we're just doing passthrough,
we can support OES directly. If not, they'll be transformed
to 2D textures and colourbalanced.

6 years agodecodebin3: Re-order all streams and add to collection
hoonhee.lee [Tue, 25 Apr 2017 07:35:45 +0000 (16:35 +0900)]
decodebin3: Re-order all streams and add to collection

Sort all streams from parsebins by stream type and SELECT flag
and stream-id. First video, then audio, then others.

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

6 years agotypefindfunctions: fix tap typefinder
Tim-Philipp Müller [Sun, 6 May 2018 09:09:45 +0000 (11:09 +0200)]
typefindfunctions: fix tap typefinder

If we memcmp() 12 bytes we should make sure to get
at least 12 bytes as well, and not just 8 bytes.

Thanks oss-fuzz!

6 years agoglcolorconvert: fix negotiation for a non list video format in caps
Matthew Waters [Sun, 6 May 2018 08:51:10 +0000 (18:51 +1000)]
glcolorconvert: fix negotiation for a non list video format in caps

For a single format in the caps, we were returning some weird answers,
like only RGB formats for a RGB input when we can also support YUV from
RGB.

Fixup of 3cfff727b19d450898dbe7931c53ea05bc2a9ac3 where I thought my
previous (~6month) self had got this right.  Don't trust your previous
self people!

6 years agotcp: fix markup for example pipelines in docs
Tim-Philipp Müller [Sat, 5 May 2018 16:02:16 +0000 (18:02 +0200)]
tcp: fix markup for example pipelines in docs

gtk-doc doesn't like the # it seems.

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

6 years agotypefind: Add TAP and DMP files support
Fabrizio Gennari [Sat, 16 Nov 2013 16:13:00 +0000 (16:13 +0000)]
typefind: Add TAP and DMP files support

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

6 years agomeson: Update option names to omit disable_ and with- prefixes
Nirbheek Chauhan [Sat, 5 May 2018 13:55:20 +0000 (19:25 +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 and use array types for some
options.

6 years agoaudioaggregator: Update converters after updating with the new audioinfo/caps
Sebastian Dröge [Sat, 5 May 2018 09:29:05 +0000 (11:29 +0200)]
audioaggregator: Update converters after updating with the new audioinfo/caps

Otherwise subclasses might accidentially use the old audioinfo/caps.
None of the subclasses currently uses the audioinfo/caps, but future
subclasses might.

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

6 years agogl: allow for high resolution EAGLLayer's
Matthew Waters [Fri, 16 Mar 2018 07:57:36 +0000 (18:57 +1100)]
gl: allow for high resolution EAGLLayer's

6 years agoglformat: add test for formats
Matthew Waters [Sat, 5 May 2018 11:29:40 +0000 (21:29 +1000)]
glformat: add test for formats

6 years agoglcolorconvert: add support for ARGB64 conversion
Matthew Waters [Sat, 5 May 2018 11:21:13 +0000 (21:21 +1000)]
glcolorconvert: add support for ARGB64 conversion

6 years agogl/format: add a function to retrieve if a format is supported
Matthew Waters [Sat, 5 May 2018 11:03:25 +0000 (21:03 +1000)]
gl/format: add a function to retrieve if a format is supported

6 years agoglbasefilter: expose finding the local GL context
Matthew Waters [Thu, 3 May 2018 03:59:07 +0000 (13:59 +1000)]
glbasefilter: expose finding the local GL context

And use it to attempt to find the GL context sooner for upload and color
conversion caps transformations.

6 years agogl/memory: store the internal format as the texture format
Matthew Waters [Wed, 14 Mar 2018 07:12:21 +0000 (18:12 +1100)]
gl/memory: store the internal format as the texture format

Instead of having special cases at each GL texture creation, upload,
readback or copy for all non-8-bits-per-components.
Simply store the more specific format and retrieve the generic
component/type tuple from that.

Introduce a helper function for retrieving the generic GL format (RGBA,
RGB, RG, R, L, A) and type (BYTE, SHORT, SHORT_5_6_5) from a sized
GL format enum (RGBA8, RGB565, RG8, etc).

6 years agogl/memory/tests: split test into separate subtests
Matthew Waters [Wed, 14 Mar 2018 07:20:54 +0000 (18:20 +1100)]
gl/memory/tests: split test into separate subtests

Allows for more fine-grained notification of failures

6 years agogl: add glalpha element that is similar to the alpha element
Matthew Waters [Mon, 5 Mar 2018 06:58:11 +0000 (17:58 +1100)]
gl: add glalpha element that is similar to the alpha element

It performs similarly to the existing alpha element however performs
calculations in floating point rather than with small (guint8) integers
so some differences are to be expected.

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

6 years agovideo: Silence "restrict" issues with ORC code
Edward Hervey [Fri, 4 May 2018 08:35:36 +0000 (10:35 +0200)]
video: Silence "restrict" issues with ORC code

The problem is that even though the functions we are calling are
in-place transformation, orc automatically puts the restrict keyword
on all arguments. To silence that warning just create yet-another
variable containing the same value.

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

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.