platform/upstream/gstreamer.git
7 years agokmssink: adjust memory offset calculation for dmabuf buffers
George Kiagiadakis [Mon, 13 Mar 2017 14:06:53 +0000 (16:06 +0200)]
kmssink: adjust memory offset calculation for dmabuf buffers

The data in the dmabuf fd may not start from byte 0, therefore
we need to inform DRM about this additional offset.

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

7 years agoglupload: adjust memory offset calculation for dmabuf buffers
George Kiagiadakis [Mon, 13 Mar 2017 13:48:33 +0000 (15:48 +0200)]
glupload: adjust memory offset calculation for dmabuf buffers

The data in the dmabuf fd may not start from byte 0, therefore
we need to inform EGL about this additional offset.

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

7 years agowaylandsink: fix memory offset calculation for dmabuf buffers
George Kiagiadakis [Mon, 13 Mar 2017 10:46:47 +0000 (12:46 +0200)]
waylandsink: fix memory offset calculation for dmabuf buffers

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

7 years agoRevert "adaptivedemux: answer duration queries for live streams"
Matthew Waters [Tue, 14 Mar 2017 05:49:25 +0000 (16:49 +1100)]
Revert "adaptivedemux: answer duration queries for live streams"

Completely disabling duration reporting with live streams is not cool.

This reverts commit e1b68d9a65ba512a52c3a2b298fa830a445eb451.

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

7 years agogl: GL_ARRAY_BUFFER is not a part of VAO state
Matthew Waters [Tue, 14 Mar 2017 03:15:00 +0000 (14:15 +1100)]
gl: GL_ARRAY_BUFFER is not a part of VAO state

As a result we need to bind it on every draw in order to have the
correct state in the GL state machine.

7 years agoapplemedia/iosurfacememory: Fix missing variable name change
Matthew Waters [Tue, 14 Mar 2017 00:39:23 +0000 (11:39 +1100)]
applemedia/iosurfacememory: Fix missing variable name change

956c4d0bde4d6707ccae2b4ae6dfba8500e55217 missed a variable name change.
Fix that.

7 years agogl/format: use our own GL format enum's instead of gstvideo's
Matthew Waters [Mon, 13 Mar 2017 03:28:47 +0000 (14:28 +1100)]
gl/format: use our own GL format enum's instead of gstvideo's

They can describe in more detail (such as component sizes) the requested format.

7 years agoglupload: fix GValue leak
Vincent Penquerc'h [Fri, 10 Mar 2017 16:57:51 +0000 (16:57 +0000)]
glupload: fix GValue leak

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

7 years agoAdd old plugins names to cruft list
Nicolas Dufresne [Sun, 12 Mar 2017 15:50:50 +0000 (11:50 -0400)]
Add old plugins names to cruft list

This helps fixing uninstalled setup. Also fixes some path in plugin xml
files.

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

7 years agoshmsink: continue polling after EINTR
Samuel Maroy [Wed, 23 Sep 2015 15:12:34 +0000 (17:12 +0200)]
shmsink: continue polling after EINTR

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

7 years agoplayer: Fix setting of external subtitle URI
Haihua Hu [Thu, 2 Mar 2017 06:36:56 +0000 (14:36 +0800)]
player: Fix setting of external subtitle URI

gst_player_set_uri_internal shouldn't free suburi which maybe set
by user to load external subtitle before start play. It just need
reset playbin's subutri property to NULL no matter if there was a
previous one or not.

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

7 years agoavfvideosrc: Use AVCaptureDeviceTypeBuiltInDuoCamera instead of DualCamera for now
Sebastian Dröge [Thu, 9 Mar 2017 08:09:40 +0000 (10:09 +0200)]
avfvideosrc: Use AVCaptureDeviceTypeBuiltInDuoCamera instead of DualCamera for now

The former is deprecated in 10.2 but we don't require that SDK yet.

7 years agoFix doc generation
Nicolas Dufresne [Thu, 9 Mar 2017 03:28:15 +0000 (22:28 -0500)]
Fix doc generation

This regression was caused by the renaming of plugin-sdp into
plugin-sdpelem. The doc reference needed an update. Also, add the old
xml to the cruft file list.

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

7 years agodash/smoothstreaming: Use GST_PLUGIN_LIBTOOLFLAGS
Nicolas Dufresne [Sun, 5 Mar 2017 20:27:11 +0000 (15:27 -0500)]
dash/smoothstreaming: Use GST_PLUGIN_LIBTOOLFLAGS

Use the flags defined by configure script instead of always disabling
static plugins.

7 years agoRename plugin filesnames to match plugin names
Nicolas Dufresne [Sat, 4 Mar 2017 16:03:53 +0000 (11:03 -0500)]
Rename plugin filesnames to match plugin names

- libgstgtksink.so -> libgstgtk.so
- libgstteletextdec.so -> libgstteletex.so
- libgstcamerabin2.so -> libgstcamerabin.so
- libgstonvif.so -> libgstrtponvif.so (meson only)
- sdp -> sdpelem (avoid clash with libgstsdp)
- gstsiren -> siren
- libgstkmssink.so -> libgstkms.so

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

7 years agotimecodestamper: Only unref daily jam if not NULL
Sebastian Dröge [Wed, 8 Mar 2017 13:52:43 +0000 (15:52 +0200)]
timecodestamper: Only unref daily jam if not NULL

7 years agotimecodestamper: Unref daily jam after usage
Sebastian Dröge [Wed, 8 Mar 2017 13:48:19 +0000 (15:48 +0200)]
timecodestamper: Unref daily jam after usage

7 years agoapplemedia/gl: Fix compile issues for OSX
Nick Kallen [Wed, 8 Mar 2017 13:16:43 +0000 (14:16 +0100)]
applemedia/gl: Fix compile issues for OSX

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

7 years agogl/eagl: It's -fobjc-arc not -fobj-arc
Sebastian Dröge [Wed, 8 Mar 2017 13:13:45 +0000 (15:13 +0200)]
gl/eagl: It's -fobjc-arc not -fobj-arc

7 years agoh264parse: frame->buffer can't be NULL in pre_push_frame()
Sebastian Dröge [Wed, 8 Mar 2017 12:22:52 +0000 (14:22 +0200)]
h264parse: frame->buffer can't be NULL in pre_push_frame()

CID 1402118

7 years agotests: h264parse: fix failures due to insertion of au delimiter
Hyunjun Ko [Wed, 8 Mar 2017 08:11:17 +0000 (17:11 +0900)]
tests: h264parse: fix failures due to insertion of au delimiter

Since insertion of aud landed, we need to change some testcases
accroding to the change.

Note that counting frames are changed in parser.c,
due to generated frames, AUD.

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

7 years agoh264parse: fix some failures in testcases
Hyunjun Ko [Wed, 8 Mar 2017 08:09:28 +0000 (17:09 +0900)]
h264parse: fix some failures in testcases

Move logic of judgement whether or not to insert AU Delimiter before
draining.
Besides, aud_needed flag is reset to TRUE when skip.

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

7 years agoapplemedia: avfvideosrc supports position, device-type, and orientation
Nick Kallen [Wed, 8 Feb 2017 11:23:09 +0000 (12:23 +0100)]
applemedia: avfvideosrc supports position, device-type, and orientation

Avfvideosrc represents an iphone camera or, on mac, a screencapture session.
The old API allowed you to select an input device by device index only. The new
API adds the ability to select the position (front or back facing) and
device-type (wide angle, telephoto, etc.). Furthermore, you can now specify
the orientation (portrait, landscape, etc.) of the videostream.

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

7 years agoapplemedia/gl: Update code to use ARC
Nick Kallen [Fri, 3 Feb 2017 13:46:39 +0000 (14:46 +0100)]
applemedia/gl: Update code to use ARC

All code interacting with Objective-C objects should now use Automated
Reference Counting rather than manual memory management or Garbage
Collection. Because ARC prohibits C-structs from containing
references to Objective-C objects, all such fields are now typed
'gpointer'. Setting and gettings Objective-C fields on such a
struct now uses explicit __bridge_* calls to tell ARC about
object lifetimes.

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

7 years agoh264parse: insert AU delimiter only in case of byte-stream
Hyunjun Ko [Tue, 7 Mar 2017 09:33:12 +0000 (18:33 +0900)]
h264parse: insert AU delimiter only in case of byte-stream

Inserts AU delimeter by default if missing au delimeter from upstream.
This should be done only in case of byte-stream format.

Note that:
We have to compensate for the new bytes added for the AU, otherwise
insertion of PPS/SPS will use wrong offsets and overwrite wrong data.

Also mark the AU delimiter blob const, and use frame->out_buffer for
storing the output to keep baseparse assumptions valid.

Original-Patch-By: Michal Lazo <michal.lazo@mdragon.org>
Helped by Sebastian Dröge <sebastian@centricular.com>

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

7 years agovideoaggregator: redo src caps negotiation if a sink pad's caps have changed in the...
George Kiagiadakis [Fri, 3 Mar 2017 14:20:15 +0000 (16:20 +0200)]
videoaggregator: redo src caps negotiation if a sink pad's caps have changed in the meantime

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

7 years agogl: Missed one backwards compat define in GST_GL_TYPE_CONTEXT
Arun Raghavan [Mon, 6 Mar 2017 12:21:32 +0000 (17:51 +0530)]
gl: Missed one backwards compat define in GST_GL_TYPE_CONTEXT

Continued from 296b4251e3042fe95a9cce1ad7674b708ba92599

7 years agohlsdemux: Try to find type at the end of a fragment
Seungha Yang [Tue, 21 Feb 2017 11:08:21 +0000 (20:08 +0900)]
hlsdemux: Try to find type at the end of a fragment

hlsdemux tries to find type if given buffer size is large enought to
find type (currently the threshold is 2KB), or EOS in some cases.
However, since there can be small byte fragments such as WebVTT,
demux should try to find type at the end of a fragment

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

7 years agovoaacenc: limit bitrate property to 320 kbps
Tim-Philipp Müller [Mon, 6 Mar 2017 00:30:41 +0000 (00:30 +0000)]
voaacenc: limit bitrate property to 320 kbps

This appears to be the internal limit of voaacenc, higher
bitrates will be ignored and 128 kbps output will be produced
instead. Therefore, we might just as well limit the allowed
property values, so that people who try to set higher bitrates
get a big fat warning instead of silently a much lower bitrate.

7 years agoapplemedia: Fix video texture cache build issue on MacOS
Nick Kallen [Sat, 4 Mar 2017 11:12:52 +0000 (12:12 +0100)]
applemedia: Fix video texture cache build issue on MacOS

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

7 years agoapplemedia: ensure all textures are released before texturecache is released
Nick Kallen [Sun, 26 Feb 2017 09:24:46 +0000 (10:24 +0100)]
applemedia: ensure all textures are released before texturecache is released

It was previously possible for videotexturecache to be finalized before all of
its textures. Finalizing outstanding textures in this circumstance leads
to a crash. This patch ensure resources are freed in the proper order.

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

7 years agogl: Fixup for last commit
Sebastian Dröge [Sat, 4 Mar 2017 09:47:04 +0000 (11:47 +0200)]
gl: Fixup for last commit

7 years agogl: Fix backwards compat GST_GL_TYPE_* functions/macros
Sebastian Dröge [Sat, 4 Mar 2017 09:15:58 +0000 (11:15 +0200)]
gl: Fix backwards compat GST_GL_TYPE_* functions/macros

These have to be macros instead of inline function as they must behave
more or less like an integer literal, i.e. include the function call.

7 years agogl/viv-fb: Don't use deprecated symbols and make macros more consistent
Sebastian Dröge [Sat, 4 Mar 2017 09:09:39 +0000 (11:09 +0200)]
gl/viv-fb: Don't use deprecated symbols and make macros more consistent

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

7 years agoaudiomixmatrix: Fix negotiation in first-channels mode if downstream does not allow...
Sebastian Dröge [Fri, 3 Mar 2017 13:17:15 +0000 (15:17 +0200)]
audiomixmatrix: Fix negotiation in first-channels mode if downstream does not allow the same number of channels

7 years agohlsdemux: Fix checking adaptation_field_control field to parse pcr
Dongil Park [Thu, 16 Feb 2017 01:51:44 +0000 (10:51 +0900)]
hlsdemux: Fix checking adaptation_field_control field to parse pcr

The PCR_flag and PCR value is in adaptation_field, not in payload.
The MSB of adaptation_field_control is used as whether adaptation_
field is exist or not.

For the case(PCR in only adaptation_field without payload), we modify
checking condition about adaptation_field_control field.

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

7 years agohls: Fix various leak on hlsdemux and m3u8
Seungha Yang [Thu, 2 Feb 2017 12:06:20 +0000 (21:06 +0900)]
hls: Fix various leak on hlsdemux and m3u8

* default_variant should be freed, it holds ref.
* GstHLSMedia holds GstM3U8 ref.
* gst_m3u8_get_next_fragment() increases ref count.

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

7 years agotests: hls: Fix leak on test code
Seungha Yang [Thu, 2 Feb 2017 12:04:36 +0000 (21:04 +0900)]
tests: hls: Fix leak on test code

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

7 years agodashdemux: fix default suggestedPresentationDelay
Wojciech Przybyl [Fri, 1 Apr 2016 16:42:32 +0000 (17:42 +0100)]
dashdemux: fix default suggestedPresentationDelay

When MPD@suggestedPresentationDelay is not present in the MPD,
dashdemux can provide default suggestedPresentationDelay. However
when applying default value of suggestedPresentationDelay, the value
should be subtracted from current time, not added to it. When streams
setup is performed and live point is calculated, we have to go to the
wall clock (current time) minus suggestedPresentationDelay, if we tried
to start with current time plus suggestedPresentationDelay, we would
be asking for future stream, which has not yet been recorded. Also
the value needs to be converted from ms to us.

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

7 years agoadaptivedemux: answer duration queries for live streams
Alex Ashley [Fri, 5 Feb 2016 12:44:23 +0000 (12:44 +0000)]
adaptivedemux: answer duration queries for live streams

For duration queries on live streams, adaptivedemux ignores the query.
The problem then is that the query is answered by the downstream
qtdemux element, with the duration of the currently passing fragment.

This commit changes the behaviour of adaptivedemux to answer the duration
queries for live streams, returning GST_CLOCK_TIME_NONE.

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

7 years agohlsdemux: Implement adaptivedemux's _stream_seek()
Seungha Yang [Wed, 1 Feb 2017 10:55:22 +0000 (19:55 +0900)]
hlsdemux: Implement adaptivedemux's _stream_seek()

_stream_seek() can be called by adaptivedemux when "restart download" condition.
It's mostly caused by track switching.

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

7 years agohlsdemux: Simplify seeking code by using macro
Seungha Yang [Wed, 1 Feb 2017 10:15:31 +0000 (19:15 +0900)]
hlsdemux: Simplify seeking code by using macro

Import an adaptivedemux's macro to minimize code.
Also, this patch considers KEY_UNIT and TRICKMODE_KEY_UNITS
as snap seek.

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

7 years agohlsdemux: Early terminate seeking if we don't need to do
Seungha Yang [Wed, 1 Feb 2017 08:44:25 +0000 (17:44 +0900)]
hlsdemux: Early terminate seeking if we don't need to do

Some codes are imported from dashdemux

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

7 years agohlsdemux: Add support for EXT-X-DISCONTINUITY-SEQUENCE
Thomas Bluemel [Mon, 10 Oct 2016 22:41:15 +0000 (16:41 -0600)]
hlsdemux: Add support for EXT-X-DISCONTINUITY-SEQUENCE

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

7 years agoadaptivemutex: Fix double mutex unlock
Thomas Bluemel [Mon, 27 Feb 2017 21:54:43 +0000 (14:54 -0700)]
adaptivemutex: Fix double mutex unlock

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

7 years agoopenexrdec: Also catch other exceptions by reference instead of by value
Sebastian Dröge [Wed, 1 Mar 2017 13:29:42 +0000 (15:29 +0200)]
openexrdec: Also catch other exceptions by reference instead of by value

It would have to be copied otherwise, and is quite big.

CID 1373419

7 years agodecklinkvideosink: Don't error out if displaying the preroll frame fails
Sebastian Dröge [Wed, 1 Mar 2017 10:08:58 +0000 (12:08 +0200)]
decklinkvideosink: Don't error out if displaying the preroll frame fails

This seems to happen sometimes on some hardware, and is not really
critical as long as the scheduling of the normal frames works fine.

Only post a warning message for this case.

7 years agoopenexrdec: Catch exception by reference instead of by value
Sebastian Dröge [Tue, 28 Feb 2017 13:56:02 +0000 (15:56 +0200)]
openexrdec: Catch exception by reference instead of by value

It would have to be copied otherwise, and is quite big.

CID 1373419

7 years agodashdemux: Fix potential NULL pointer dereference
Sebastian Dröge [Tue, 28 Feb 2017 13:53:10 +0000 (15:53 +0200)]
dashdemux: Fix potential NULL pointer dereference

CID 1399700

7 years agohlsdemux: Compare media type of the correct variable that is actually set
Sebastian Dröge [Tue, 28 Feb 2017 13:31:53 +0000 (15:31 +0200)]
hlsdemux: Compare media type of the correct variable that is actually set

CID 1364752

7 years agogltestsrc: Fix potential NULL pointer dereference if we fail without GError
Sebastian Dröge [Tue, 28 Feb 2017 13:22:43 +0000 (15:22 +0200)]
gltestsrc: Fix potential NULL pointer dereference if we fail without GError

Which can happen here if we just propagate an error that happened
elsewhere, e.g. FBO failed.

CID 1364604

7 years agoglvideomixer/compositor: Correctly error out if calculating DAR fails
Sebastian Dröge [Tue, 28 Feb 2017 11:06:41 +0000 (13:06 +0200)]
glvideomixer/compositor: Correctly error out if calculating DAR fails

CID 1320700

7 years agomotioncells: Initialize m_changed_datafile class field
Sebastian Dröge [Tue, 28 Feb 2017 10:53:11 +0000 (12:53 +0200)]
motioncells: Initialize m_changed_datafile class field

CID 1197704

7 years agogme: Remove useless comparison of unsigned integer with < 0
Sebastian Dröge [Tue, 28 Feb 2017 10:46:42 +0000 (12:46 +0200)]
gme: Remove useless comparison of unsigned integer with < 0

CID 206187

7 years agoglcolorconvert: Check return value of gst_gl_context_check_framebuffer_status()
Sebastian Dröge [Tue, 28 Feb 2017 10:34:30 +0000 (12:34 +0200)]
glcolorconvert: Check return value of gst_gl_context_check_framebuffer_status()

CID 1401588

7 years agogl: Add viv-fb to DIST_SUBDIRS to fix "make distcheck"
Sebastian Dröge [Tue, 28 Feb 2017 10:31:54 +0000 (12:31 +0200)]
gl: Add viv-fb to DIST_SUBDIRS to fix "make distcheck"

7 years agogl: Rename gst_gl_get_affine_transformation_meta_as_ndc_ext() to prevent symbol conflict
Sebastian Dröge [Tue, 28 Feb 2017 08:53:04 +0000 (10:53 +0200)]
gl: Rename gst_gl_get_affine_transformation_meta_as_ndc_ext() to prevent symbol conflict

The same symbol also exists in libgstgl, although marked as private and
internal. This has no effect when doing static linking and there's a
symbol conflict.

7 years agoglutils: Mark private functions as G_GNUC_INTERNAL
Sebastian Dröge [Tue, 28 Feb 2017 08:50:23 +0000 (10:50 +0200)]
glutils: Mark private functions as G_GNUC_INTERNAL

7 years agompegtsdemux: Fix wrong usage of '<<' operator
Edward Hervey [Tue, 28 Feb 2017 08:26:25 +0000 (09:26 +0100)]
mpegtsdemux: Fix wrong usage of '<<' operator

Detected by GCC 7.

Add comments for clarity

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

7 years agoaudiomixmatric: Add missing libm deps for meson
Nicolas Dufresne [Tue, 28 Feb 2017 02:22:30 +0000 (21:22 -0500)]
audiomixmatric: Add missing libm deps for meson

7 years agoh264parse: Include `interlace-mode` in caps
Thibault Saunier [Mon, 27 Feb 2017 13:32:45 +0000 (10:32 -0300)]
h264parse: Include `interlace-mode` in caps

Those are the rules:

In the SPS:
  * if frame_mbs_only_flag=1 => all frame progressive
  * if frame_mbs_only_flag=0 => field_pic_flag defines if each frame is
    progressive or interlaced, thus the mode is 'mixed' in GStreamer
    terms.

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

7 years agoiqa: Plug a leak allocating twice the same data
Thibault Saunier [Tue, 14 Feb 2017 14:09:46 +0000 (11:09 -0300)]
iqa: Plug a leak allocating twice the same data

7 years agopkg-config: Add both srcdir and builddir to the include path
Sebastian Dröge [Mon, 27 Feb 2017 17:13:11 +0000 (19:13 +0200)]
pkg-config: Add both srcdir and builddir to the include path

Just the build dir is not going to work for srcdir!=builddir.

7 years agotsparse: Convert PCR values immediately
Jan Schmidt [Mon, 27 Feb 2017 12:47:25 +0000 (23:47 +1100)]
tsparse: Convert PCR values immediately

Doing lazy conversion of PCR values doesn't work right
when a PCR discont is encountered. Instead, convert PCR
values to the continuous timestamp domain as soon as we
encounter them and store that instead.

7 years agoglupload: Add support for Vivante DirectTexture uploads
Sebastian Dröge [Wed, 22 Feb 2017 12:55:58 +0000 (14:55 +0200)]
glupload: Add support for Vivante DirectTexture uploads

Together with the upcoming gstreamer-imx patch, this allows zerocopy
between imxvpudec and other elements and glimagesink.

This is losely based on a patch by Haihua Hu <b55597@freescale.com>
from https://github.com/Freescale/meta-freescale/blob/master/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/

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

7 years agoallocators: Add GstPhysMemoryAllocator abstraction
Sebastian Dröge [Fri, 17 Feb 2017 17:26:41 +0000 (19:26 +0200)]
allocators: Add GstPhysMemoryAllocator abstraction

This can be used in a generic way as common interface by all platforms that,
in one way or another, pass around physical memory addresses.

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

7 years agoqml: Add support for Vivante EGL FS windowing system
Sebastian Dröge [Fri, 17 Feb 2017 12:37:08 +0000 (14:37 +0200)]
qml: Add support for Vivante EGL FS windowing system

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

7 years agogl: Add support for Vivante EGL FB windowing system
Sebastian Dröge [Fri, 17 Feb 2017 10:24:58 +0000 (12:24 +0200)]
gl: Add support for Vivante EGL FB windowing system

This is very similar to how dispmanx on the Raspberry Pi works.

Based on a patch by Haihua Hu <b55597@freescale.com> from
https://github.com/Freescale/meta-freescale/tree/master/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad

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

7 years agoUpdate Edgard Lima's email
Edgard Lima [Sun, 26 Feb 2017 00:47:47 +0000 (21:47 -0300)]
Update Edgard Lima's email

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

7 years agorawparse: Move to gst-plugins-base and keep legacy audioparse/videoparse here
Sebastian Dröge [Sat, 25 Feb 2017 12:43:55 +0000 (14:43 +0200)]
rawparse: Move to gst-plugins-base and keep legacy audioparse/videoparse here

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

7 years agomeson: Update version
Sebastian Dröge [Fri, 24 Feb 2017 13:59:44 +0000 (15:59 +0200)]
meson: Update version

7 years agoBack to development
Sebastian Dröge [Fri, 24 Feb 2017 13:37:40 +0000 (15:37 +0200)]
Back to development

7 years agoRelease 1.11.2
Sebastian Dröge [Fri, 24 Feb 2017 13:07:38 +0000 (15:07 +0200)]
Release 1.11.2

7 years agoUpdate .po files
Sebastian Dröge [Fri, 24 Feb 2017 10:53:00 +0000 (12:53 +0200)]
Update .po files

7 years agopo: Update translations
Sebastian Dröge [Fri, 24 Feb 2017 10:46:06 +0000 (12:46 +0200)]
po: Update translations

7 years agomeson: Added meson.build for audiomixmatrix and timecode
Vivia Nikolaidou [Thu, 23 Feb 2017 23:28:35 +0000 (01:28 +0200)]
meson: Added meson.build for audiomixmatrix and timecode

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

7 years agoglmemory: Use glBlitFramebuffer() instead of glCopyTexImage2D() if available
Sebastian Dröge [Wed, 22 Feb 2017 12:09:45 +0000 (14:09 +0200)]
glmemory: Use glBlitFramebuffer() instead of glCopyTexImage2D() if available

glBlitFramebuffer() is new GLES3/GL3 API. They are probably often
implemented in terms of each other, and glBlitFramebuffer() can
potentially be implemented more flexible. Let's use it if available.

Also it actually works on imx6 with DirectVIV textures.

Based on a patch by Haihua Hu <jared.hu@nxp.com> from
https://github.com/Freescale/meta-freescale/blob/master/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/

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

7 years agoaudiomixmatrix: New element that mixes audio channels
Vivia Nikolaidou [Mon, 16 Jan 2017 17:36:07 +0000 (19:36 +0200)]
audiomixmatrix: New element that mixes audio channels

This element transforms a given number of input channels into a given number of
output channels according to a given transformation matrix. The matrix
coefficients must be between -1 and 1. In the auto mode, input/output channels
are automatically negotiated and the transformation matrix is a truncated or
zero-padded identity matrix.

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

7 years agotimecodestamper: Remove clock-source property
Georg Lippitsch [Wed, 22 Feb 2017 21:31:17 +0000 (22:31 +0100)]
timecodestamper: Remove clock-source property

Remove clock-source property, because the GST clock usually starts at
some random value and is thus uselsess for creating a timecode from it.

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

7 years agotimecodestamper: First timecode from current system time
Georg Lippitsch [Wed, 22 Feb 2017 21:30:17 +0000 (22:30 +0100)]
timecodestamper: First timecode from current system time

Add a new flag which automatically sets this first timecode to the
current system time in local time zone.

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

7 years agotimecodestamper: First timecode property
Georg Lippitsch [Wed, 22 Feb 2017 21:26:57 +0000 (22:26 +0100)]
timecodestamper: First timecode property

Add an new property to start from a given timecode
instead of zero.

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

7 years agowebrtcdsp: expose new properties.
Mathieu Duponchelle [Wed, 22 Feb 2017 01:17:35 +0000 (02:17 +0100)]
webrtcdsp: expose new properties.

This gives the user more control over the gain control
and experimental gain control behaviour.

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

7 years agobluez: Chain up to basesrc query instead of override pad query function
Arun Raghavan [Fri, 17 Feb 2017 10:39:53 +0000 (16:09 +0530)]
bluez: Chain up to basesrc query instead of override pad query function

Overriding the pad query function completely overrides all the default
query handling implemented in basesrc, including caps etc. The correct
thing to do is just override the basesrc query vfunc and then chain up
for the queries we don't handle.

7 years agoaudiobuffersplit: Add strict-buffer-size property
Vivia Nikolaidou [Mon, 20 Feb 2017 16:58:11 +0000 (18:58 +0200)]
audiobuffersplit: Add strict-buffer-size property

If set to TRUE, any last audio samples too small to fill a buffer will
be discarded.

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

7 years agowaylandsink: consider buffer size when copying to wl shm pool
Fabien Dessenne [Mon, 30 Jan 2017 10:04:32 +0000 (11:04 +0100)]
waylandsink: consider buffer size when copying to wl shm pool

When the sink receives a buffer that is neither a wl_shm one nor a
dmabuf one, this buffer is copied to an internal wl_shm buffer before
being sent to the display.
In that case, the actual size of the received buffer (which may differ
from the one negotiated in the caps) must be used.

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

7 years agohlsdemux: Fix GHashTable leak
Seungha Yang [Fri, 17 Feb 2017 12:25:21 +0000 (21:25 +0900)]
hlsdemux: Fix GHashTable leak

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

7 years agorawbaseparse: Drop incomplete frames at EOS
Sebastian Dröge [Sat, 18 Feb 2017 18:18:50 +0000 (20:18 +0200)]
rawbaseparse: Drop incomplete frames at EOS

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

This would ideally be solved in baseparse but that requires further
thought at this point, and in the meantime it would be good to have
rawbaseparse not assert on this but handle it gracefully instead.

7 years agoconfigure: Remove unused Mali EGL/fbdev_window support
Sebastian Dröge [Thu, 16 Feb 2017 18:08:35 +0000 (20:08 +0200)]
configure: Remove unused Mali EGL/fbdev_window support

This existed a long time ago but there's no actual code for this
anymore.

7 years agopkgconfig: fix uninstalled .pc files for codecparsers + mpegts
Tim-Philipp Müller [Wed, 15 Feb 2017 19:07:32 +0000 (19:07 +0000)]
pkgconfig: fix uninstalled .pc files for codecparsers + mpegts

Really need to include the srcdir for codecparsers, and build dir
for mpegts.

7 years agoFix distcheck
Tim-Philipp Müller [Tue, 14 Feb 2017 23:00:06 +0000 (23:00 +0000)]
Fix distcheck

Don't use wildcards in Makefile.am, buildbot doesn't seem
to like them.

7 years agowin32: remove disted enumtypes files which are no longer used
Tim-Philipp Müller [Tue, 14 Feb 2017 20:23:12 +0000 (20:23 +0000)]
win32: remove disted enumtypes files which are no longer used

7 years agomeson: dist meson build files
Tim-Philipp Müller [Tue, 14 Feb 2017 20:19:44 +0000 (20:19 +0000)]
meson: dist meson build files

Ship meson build files in tarballs, so people who use tarballs
in their builds can start playing with meson already.

7 years agoBuilds for MacOS
Nick Kallen [Tue, 14 Feb 2017 12:04:01 +0000 (13:04 +0100)]
Builds for MacOS

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

7 years agoapplemedia: free videotexturecache texture in gl thread
Nick Kallen [Fri, 10 Feb 2017 10:32:23 +0000 (11:32 +0100)]
applemedia: free videotexturecache texture in gl thread

The cached texture was treated as user_data passed to GstGLBaseMemory
and freed with a GDestroyNotify function. However, this data must
be treated specially: it must be destroyed in the GL thread.

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

7 years agoGstGLSinkBin: fixed sink property leak
Juan Pablo Ugarte [Fri, 10 Feb 2017 13:29:49 +0000 (10:29 -0300)]
GstGLSinkBin: fixed sink property leak

No need to keep an extra reference to sink since an indirect one is added by gst_bin_add()

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

7 years agoshm: Change example pipelines to something that actually works
Sebastian Dröge [Mon, 13 Feb 2017 11:32:14 +0000 (13:32 +0200)]
shm: Change example pipelines to something that actually works

Enforce exactly the same raw video format on both sides, include a
videoconvert and queue before the video sink and make the shm area a
little bit bigger so that things don't get stuck.

7 years agoadaptivedemux: Convert premature EOS on non-exposed pads to ERROR
Jan Schmidt [Wed, 8 Feb 2017 14:12:56 +0000 (01:12 +1100)]
adaptivedemux: Convert premature EOS on non-exposed pads to ERROR

If we need to send EOS on a pad that hasn't prerolled, generate
an error on the bus instead, otherwise the app will have no idea.

Fixes the HLS testFragmentNotFound test, which is waiting
for either EOS or an error.

7 years agoadaptivedemux: Handle errors from prepared_streams too
Jan Schmidt [Wed, 8 Feb 2017 13:54:07 +0000 (00:54 +1100)]
adaptivedemux: Handle errors from prepared_streams too

Check both active and prepared_streams when we receive an
error on the bus, so we post errors for streams that are
still pre-rolling

7 years agoadaptivedemux: Allow that
Jan Schmidt [Wed, 8 Feb 2017 13:16:33 +0000 (00:16 +1100)]
adaptivedemux: Allow that

7 years agoadaptivedemux: Fix tests for delayed pad exposure.
Jan Schmidt [Wed, 8 Feb 2017 11:59:49 +0000 (22:59 +1100)]
adaptivedemux: Fix tests for delayed pad exposure.

Make the unit tests handle the fact that pads don't appear
immediately. Before, the test assumed pads are exposed before the
internal source element is created, which is no longer true.