platform/upstream/gstreamer.git
7 years agodewarp: Store C++ types as pointers in C structs
Sebastian Dröge [Wed, 1 Feb 2017 11:44:37 +0000 (13:44 +0200)]
dewarp: Store C++ types as pointers in C structs

Otherwise the destructor will never be called, and we would have to call
the constructors manually at some point... which we never did, so
calling release() on it before it got otherwise initialized caused a
crash. For example when running gst-inspect-1.0.

7 years agovkwindow: fix build error on i386
Matthew Waters [Wed, 1 Feb 2017 05:05:23 +0000 (16:05 +1100)]
vkwindow: fix build error on i386

Vulkan handles are either pointers (64-bit) or 64-bit integer
handles (32-bit). Cast the type in failure cases.

vkwindow.c:229:561: error: return makes integer from pointer without a cast [-Werror=int-conversion]
vkwindow.c:231:194: error: return makes integer from pointer without a cast [-Werror=int-conversion]

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

7 years agompegdemux: Add stream-format to the H.264 caps.
Jan Schmidt [Wed, 1 Feb 2017 03:44:32 +0000 (14:44 +1100)]
mpegdemux: Add stream-format to the H.264 caps.

H.264 in MPEG-PS is always byte-stream

7 years agompegdemux: Add extra length checks to TS scanning.
Jan Schmidt [Wed, 1 Feb 2017 03:37:29 +0000 (14:37 +1100)]
mpegdemux: Add extra length checks to TS scanning.

Add some missing size checks to the timestamp scanning
fast path.

7 years agopsdemux: Rewrite PSM parsing using GstByteReader
Jan Schmidt [Wed, 1 Feb 2017 03:25:32 +0000 (14:25 +1100)]
psdemux: Rewrite PSM parsing using GstByteReader

Avoid possible buffer overflows and ignore invalid PSM packets better
by using GstByteReader.

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

7 years agodecklink: Add to the meson Windows build
Sebastian Dröge [Fri, 27 Jan 2017 17:26:06 +0000 (19:26 +0200)]
decklink: Add to the meson Windows build

7 years agodecklink: Fix indentation
Sebastian Dröge [Fri, 27 Jan 2017 17:24:03 +0000 (19:24 +0200)]
decklink: Fix indentation

7 years agodecklink: Fix compilation on Windows by properly using COM strings there
Sebastian Dröge [Fri, 27 Jan 2017 17:23:48 +0000 (19:23 +0200)]
decklink: Fix compilation on Windows by properly using COM strings there

7 years agodecklink: Fix compilation with MSVC
Axel Menzel [Fri, 27 Jan 2017 17:15:28 +0000 (19:15 +0200)]
decklink: Fix compilation with MSVC

7 years agodecklink: Include stdint.h for int32_t, etc as needed by the Decklink headers
Sebastian Dröge [Fri, 27 Jan 2017 17:11:02 +0000 (19:11 +0200)]
decklink: Include stdint.h for int32_t, etc as needed by the Decklink headers

7 years agodecklink: Add "extern C" forward declaration for CreateDeckLinkIteratorInstance()
Sebastian Dröge [Fri, 27 Jan 2017 17:09:13 +0000 (19:09 +0200)]
decklink: Add "extern C" forward declaration for CreateDeckLinkIteratorInstance()

7 years agodecklink: Update Windows SDK to a newer version
Axel Menzel [Fri, 27 Jan 2017 17:03:33 +0000 (19:03 +0200)]
decklink: Update Windows SDK to a newer version

7 years agoadaptivedemux: Handle SEEK event only once
Seungha Yang [Sun, 1 Jan 2017 05:06:28 +0000 (14:06 +0900)]
adaptivedemux: Handle SEEK event only once

send_event() of parent class (i.e., GstBinClass) iterates srcpads
to send SEEK event. And performing it per srcpad is inefficient.
So, let's drop duplicated SEEK event by checking seqnum

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

7 years agotests: hlsdemux: Fix live startup sequence and seek range
Seungha Yang [Thu, 26 Jan 2017 23:38:28 +0000 (08:38 +0900)]
tests: hlsdemux: Fix live startup sequence and seek range

To satisfy follwing restriction of HLS spec 6.3.3,
select startup fragment sequence to 4th from end of playlist.
Also, seek range should exclude last three fragment in playlist.

"the client SHOULD NOT choose a segment which starts less than
three target durations from the end of the Playlist file."

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

7 years agohls: m3u8: Set sequence position for live
Seungha Yang [Thu, 26 Jan 2017 23:50:10 +0000 (08:50 +0900)]
hls: m3u8: Set sequence position for live

hls live starts playback from the allowed latest fragment,
but its "sequence position" is set to zero, and so stream
time is also set to zero.

This does not make sense, because hls live allows seeking to past position,
and it's negative stream time from downstream element's point of view.
Note that, allowed seekable range (and seeking query) is
from the first fragment of playlist to the allowed latest fragment.

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

7 years agohls: Exclusion of last three fragment in case of live playback
Seungha Yang [Tue, 24 Jan 2017 12:32:13 +0000 (21:32 +0900)]
hls: Exclusion of last three fragment in case of live playback

HLS spec 6.3.3 is saying that
"the client SHOULD NOT choose a segment which starts less than
three target durations from the end of the Playlist file."

To ensure above statement, the third fragment from the end of playlist
should be excluded from seekable range and also from available starting fragment.
(i.e., the fourth fragment from end of playlist is the starting fragment).

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

7 years agohlsdemux: Consider timestamp of the first fragment in playlist when live seeking
Seungha Yang [Tue, 24 Jan 2017 11:21:19 +0000 (20:21 +0900)]
hlsdemux: Consider timestamp of the first fragment in playlist when live seeking

During live playback, the first fragment in a updated
playlist can be advanced from that of startup playlist.
Meanwhile, since hlsdemux finds target seek position
by just accumulating fragment's duration, the base should
be adjusted to the updated first fragment's timestamp.

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

7 years agomotioncells: fix mingw build
Nicola Murino [Mon, 30 Jan 2017 10:17:53 +0000 (11:17 +0100)]
motioncells: fix mingw build

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

7 years agoapplemedia: Fix some compiler warnings on iOS
Sebastian Dröge [Fri, 27 Jan 2017 16:11:15 +0000 (18:11 +0200)]
applemedia: Fix some compiler warnings on iOS

7 years agodecklinkaudiosrc: Fix compilation on OSX
Sebastian Dröge [Fri, 27 Jan 2017 15:24:20 +0000 (17:24 +0200)]
decklinkaudiosrc: Fix compilation on OSX

15:18:47 gstdecklinkaudiosrc.cpp:745:45: error: cannot initialize a parameter of type 'int64_t *' (aka 'long long *') with an rvalue of type 'gint64 *' (aka 'long *')
15:18:47           (BMDDeckLinkMaximumAudioChannels, &self->channels_found);
15:18:47                                             ^~~~~~~~~~~~~~~~~~~~~
15:18:47 ./linux/DeckLinkAPI.h:970:87: note: passing argument to parameter 'value' here
15:18:47     virtual HRESULT GetInt (/* in */ BMDDeckLinkAttributeID cfgID, /* out */ int64_t *value) = 0;
15:18:47                                                                                       ^

7 years agoavwait: Rename timecodewait to avwait, add modes
Vivia Nikolaidou [Wed, 25 Jan 2017 11:06:28 +0000 (13:06 +0200)]
avwait: Rename timecodewait to avwait, add modes

Renamed timecodewait to avwait. Added running-time and video-first
modes. Default mode is timecode (the previous behaviour).

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

7 years agodecklinkaudiosrc: Option to use max channels supported by device
Vivia Nikolaidou [Wed, 18 Jan 2017 15:53:00 +0000 (17:53 +0200)]
decklinkaudiosrc: Option to use max channels supported by device

Query the device for the maximum number of channels supported and have
an option to use that. Default is still 2.

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

7 years agoapplemedia: Fail cleanly instead of crashing if obtaining a GL display failed
Sebastian Dröge [Thu, 26 Jan 2017 13:35:11 +0000 (15:35 +0200)]
applemedia: Fail cleanly instead of crashing if obtaining a GL display failed

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

7 years agovkimagememory: use the correct enum for RGB16/BGR16 formats
Matthew Waters [Thu, 26 Jan 2017 08:52:07 +0000 (19:52 +1100)]
vkimagememory: use the correct enum for RGB16/BGR16 formats

vkimagememory.c:64:14: warning: implicit conversion from enumeration type 'GstVideoGLTextureType' to different enumeration type 'VkFormat' (aka 'enum VkFormat') [-Wenum-conversion]
     return GST_VIDEO_GL_TEXTURE_TYPE_RGB16;

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

7 years agompeg2enc: Fix compiler warning with clang
Sebastian Dröge [Wed, 25 Jan 2017 18:54:35 +0000 (20:54 +0200)]
mpeg2enc: Fix compiler warning with clang

gstmpeg2enc.cc:224:5: warning: variable 'n' is incremented both in the loop header and in the loop body [-Wfor-loop-analysis]
    n++;
    ^
gstmpeg2enc.cc:221:29: note: incremented here
  for (n = 0; fpss[n] != 0; n++) {
                            ^

7 years agodecklink: Fix compiler warning with clang
Sebastian Dröge [Wed, 25 Jan 2017 18:48:58 +0000 (20:48 +0200)]
decklink: Fix compiler warning with clang

gstdecklink.cpp:821:11: warning: variable 'dtc' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
      if (m_input->videosrc) {
          ^~~~~~~~~~~~~~~~~
gstdecklink.cpp:837:41: note: uninitialized use occurs here
          stream_time, stream_duration, dtc, no_signal);
                                        ^~~
gstdecklink.cpp:821:7: note: remove the 'if' if its condition is always true
      if (m_input->videosrc) {
      ^~~~~~~~~~~~~~~~~~~~~~~
gstdecklink.cpp:810:29: note: initialize the variable 'dtc' to silence this warning
      IDeckLinkTimecode *dtc;
                            ^
                             = NULL

7 years agoqt: The code requires at least C++11
Sebastian Dröge [Wed, 25 Jan 2017 17:21:03 +0000 (19:21 +0200)]
qt: The code requires at least C++11

... and clang requires this to be specified on the commandline while gcc
nowadays defaults to C++11 or even newer.

7 years agotsdemux: Set caps/tags in the GstStream object before pushing the stream-start event
Sebastian Dröge [Tue, 24 Jan 2017 21:10:19 +0000 (23:10 +0200)]
tsdemux: Set caps/tags in the GstStream object before pushing the stream-start event

Otherwise downstream will get a more or less empty GstStream although we
already know a lot about it at this point.

7 years agoopenh264: add "qp-min" and "qp-max" properties
Tim-Philipp Müller [Tue, 24 Jan 2017 14:39:35 +0000 (14:39 +0000)]
openh264: add "qp-min" and "qp-max" properties

7 years agoiqa: Move AM_CONDITIONAL(HAVE_DSSIM) outside of the iqa check block
Lars Wendler [Fri, 20 Jan 2017 06:45:43 +0000 (07:45 +0100)]
iqa: Move AM_CONDITIONAL(HAVE_DSSIM) outside of the iqa check block

or else configure fails with

  error: conditional "HAVE_DSSIM" was never defined.

when iqa is not installed.

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

7 years agomeson: Build GIR files
Thibault Saunier [Mon, 23 Jan 2017 15:12:06 +0000 (12:12 -0300)]
meson: Build GIR files

7 years agopkg-config: Directly link the library with -l instead of the .la file
Sebastian Dröge [Mon, 23 Jan 2017 13:10:40 +0000 (15:10 +0200)]
pkg-config: Directly link the library with -l instead of the .la file

Which might not exist, like on most modern Linux distributions.

7 years agomsdk: Propagate GstFlowReturn values
Scott D Phillips [Fri, 20 Jan 2017 19:11:50 +0000 (11:11 -0800)]
msdk: Propagate GstFlowReturn values

In some places a GST_FLOW_FLUSHING result was return as a FALSE
gboolean and then returned from a parent function as
GST_FLOW_ERROR. This prevented seeking from working.

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

7 years agofdk-aac: fix version number
Stefan Sauer [Fri, 20 Jan 2017 15:44:42 +0000 (16:44 +0100)]
fdk-aac: fix version number

As pointed out on irc, the version was menat to be 0.1.4.

7 years agotsdemux: Don't leak pad name and template for Opus
Sebastian Dröge [Fri, 20 Jan 2017 12:34:10 +0000 (14:34 +0200)]
tsdemux: Don't leak pad name and template for Opus

It's set again (the same way) further below, overwriting the previously
allocated memory without freeing.

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

7 years agomxfdemux: Set stream tags to NULL after unreffing
Sebastian Dröge [Fri, 20 Jan 2017 05:51:09 +0000 (07:51 +0200)]
mxfdemux: Set stream tags to NULL after unreffing

Otherwise we might try to unref them a second time a little bit later.

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

7 years agohlsdemux: Detect media sequence number inconsistencies and fail
Sebastian Dröge [Thu, 5 Jan 2017 17:10:52 +0000 (19:10 +0200)]
hlsdemux: Detect media sequence number inconsistencies and fail

Without failing, we would play back random parts of the stream which is
arguably a worse user experience, and failing is also recommended by the
spec here.

And also handle live streams without any media sequence numbers at all
properly, that is, make sure the sequence numbers are increasing instead
of starting again at 0 every time.

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

7 years agodashdemux: Do pending seek when SIDX is found
Seungha Yang [Tue, 17 Jan 2017 13:27:46 +0000 (22:27 +0900)]
dashdemux: Do pending seek when SIDX is found

Parsing SIDX box was allowed even if "indexRange" attribute does not appear
for On-Demand profile. However, actual seeking using SIDX index did not happen
since download loop keep working on.
To use SIDX index in that case, demux should try it in the next download loop.

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

7 years agodashdemux: Fix issue when manifest update sets slow start without passing necessary...
WeiChungChang [Tue, 17 Jan 2017 02:33:03 +0000 (10:33 +0800)]
dashdemux: Fix issue when manifest update sets slow start without passing necessary header & caps changes downstream

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

7 years agoglmixer: ensure caps are writable after intersection
Matthew Waters [Wed, 18 Jan 2017 04:03:48 +0000 (15:03 +1100)]
glmixer: ensure caps are writable after intersection

gst_caps_intersect () may return an increased reference of one of the
input caps.

Fixes critical in the simple-launch-lines test:

Unexpected critical/warning: gst_caps_set_features: assertion 'IS_WRITABLE (caps)' failed

7 years agodvdspu: Handle vob display rect starting on an odd line
Jan Schmidt [Wed, 18 Jan 2017 00:05:21 +0000 (11:05 +1100)]
dvdspu: Handle vob display rect starting on an odd line

DVDs always have subpictures that start on an even Y
coordinate, but gstspu does more generic vobsubs these
days, so handle ones that start on an odd vertical position.

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

7 years agoplayer: Add support for selecting a specific video sink
Lyon Wang [Tue, 27 Dec 2016 09:13:58 +0000 (17:13 +0800)]
player: Add support for selecting a specific video sink

- Add overlay video renderer "video-sink" property, so that can be set
- In create_video_sink, it returns video sink instead of always NULL
- Add new renderer_new_with_sink() API to set video sink

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

7 years agoplayer: Add missing documentation for deprecated functions
Sebastian Dröge [Tue, 17 Jan 2017 11:07:57 +0000 (13:07 +0200)]
player: Add missing documentation for deprecated functions

7 years agoplayer: Add get video snapshot API
Lyon Wang [Tue, 10 Jan 2017 08:38:21 +0000 (16:38 +0800)]
player: Add get video snapshot API

Add get video snapshot API:
  gst_player_get_video_snapshot()

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

7 years agompdparser: Fix compilation with GST_DISABLE_GST_DEBUG
Edward Hervey [Thu, 12 Jan 2017 15:14:57 +0000 (16:14 +0100)]
mpdparser: Fix compilation with GST_DISABLE_GST_DEBUG

7 years agoandroidmedia: Use proper instance name
Edward Hervey [Fri, 13 Jan 2017 13:46:12 +0000 (14:46 +0100)]
androidmedia: Use proper instance name

7 years agomeson: bump version
Tim-Philipp Müller [Fri, 13 Jan 2017 12:39:21 +0000 (12:39 +0000)]
meson: bump version

7 years agoamcvideodec: fix build error from change in libgstgl
Matthew Waters [Fri, 13 Jan 2017 10:17:33 +0000 (21:17 +1100)]
amcvideodec: fix build error from change in libgstgl

gstamcvideodec.c: In function 'gst_amc_video_dec_src_query':
gstamcvideodec.c:2412:55: error: 'self' undeclared (first use in this function)
       if (gst_gl_handle_context_query ((GstElement *) self, query,

7 years agogl: update sys dependants for function removals
Matthew Waters [Fri, 13 Jan 2017 01:49:37 +0000 (12:49 +1100)]
gl: update sys dependants for function removals

4315a4b54d9 forgot to change the androidmedia/videotoolbox/caopengllayer
sources as required.

7 years agoglslstage: define GL constants if needed instead of using #ifdef
Juan Pablo Ugarte [Wed, 11 Jan 2017 13:37:34 +0000 (10:37 -0300)]
glslstage: define GL constants if needed instead of using #ifdef

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

7 years agogl/examples/gtk: fixed compilation on systems without GL_GEOMETRY_SHADER
Juan Pablo Ugarte [Wed, 11 Jan 2017 13:32:23 +0000 (10:32 -0300)]
gl/examples/gtk: fixed compilation on systems without GL_GEOMETRY_SHADER

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

7 years agoglutils: document functions
Matthew Waters [Fri, 13 Jan 2017 00:08:10 +0000 (11:08 +1100)]
glutils: document functions

7 years agoglutils: privatise matrix multiplication/videoaffinetransformation retrieval
Matthew Waters [Fri, 13 Jan 2017 00:06:39 +0000 (11:06 +1100)]
glutils: privatise matrix multiplication/videoaffinetransformation retrieval

7 years agogl/utils: also take care of the local GL context in query functions
Matthew Waters [Thu, 12 Jan 2017 10:35:25 +0000 (21:35 +1100)]
gl/utils: also take care of the local GL context in query functions

Simplifies a deduplicates a lot of code in elements retrieving/setting
the local OpenGL context.

7 years agoglutils: remove trivial helper function
Matthew Waters [Wed, 11 Jan 2017 14:57:29 +0000 (01:57 +1100)]
glutils: remove trivial helper function

gst_gl_caps_replace_all_caps_features() is only used in two places and can
be trivially reproduced.

7 years agogl/docs: add symbols from -unused.txt
Matthew Waters [Wed, 11 Jan 2017 05:09:31 +0000 (16:09 +1100)]
gl/docs: add symbols from -unused.txt

7 years agogl/docs: some type fixes of type names
Matthew Waters [Wed, 11 Jan 2017 05:09:03 +0000 (16:09 +1100)]
gl/docs: some type fixes of type names

7 years agoBack to development
Sebastian Dröge [Thu, 12 Jan 2017 14:32:49 +0000 (16:32 +0200)]
Back to development

7 years agoopencv: Fix build with OpenCV < 3
Sebastian Dröge [Thu, 12 Jan 2017 13:55:52 +0000 (15:55 +0200)]
opencv: Fix build with OpenCV < 3

We only need the opencv2/bgsegm.hpp header for OpenCV >= 3 and have
compat code for older versions.

7 years agottml: Link with -lm for round()
Sebastian Dröge [Thu, 12 Jan 2017 13:38:18 +0000 (15:38 +0200)]
ttml: Link with -lm for round()

7 years agoRelease 1.11.1
Sebastian Dröge [Thu, 12 Jan 2017 13:39:06 +0000 (15:39 +0200)]
Release 1.11.1

7 years agoUpdate .po files
Sebastian Dröge [Thu, 12 Jan 2017 12:42:29 +0000 (14:42 +0200)]
Update .po files

7 years agopo: Update translations
Sebastian Dröge [Thu, 12 Jan 2017 12:36:46 +0000 (14:36 +0200)]
po: Update translations

7 years agocodecparsers: remove problematic 'extern inline'
Tim-Philipp Müller [Tue, 10 Jan 2017 15:45:26 +0000 (15:45 +0000)]
codecparsers: remove problematic 'extern inline'

'extern inline' was added in 2fb76c89 for MSVC (it was just
'inline' before), but all of this doesn't really make sense,
the functions are not going to be inlined anyway, and what
'extern inline' means exactly also appears to depend on the
Cxx standard targetted. Let's just remove the 'extern inline'
entirely. At least gcc6 still emits the exact same code as
before anyway. Fixes compilation/linking with gcc 4.8 as
used on L4T on the TK1.

7 years agojpegparse: Chain up to parent class' sink event handler
Matt Staples [Tue, 10 Jan 2017 15:26:04 +0000 (08:26 -0700)]
jpegparse: Chain up to parent class' sink event handler

Call base class's sink_event handler after handling GST_EVENT_FLUSH_STOP
event, so that base class doesn't get stuck in a 'flushing' state

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

7 years agoadaptivedemux: Use a simple queue instead of queue2
Edward Hervey [Tue, 10 Jan 2017 15:27:28 +0000 (16:27 +0100)]
adaptivedemux: Use a simple queue instead of queue2

The reason we previously used queue2 was to calculate the download rate,
but that wasn't entirely correct and we therefore calculate it before
queue2. We therefore now just need a simple queue.

7 years agoadaptivedemux: Remove unneeded variables
Edward Hervey [Fri, 11 Nov 2016 07:44:59 +0000 (08:44 +0100)]
adaptivedemux: Remove unneeded variables

We now have properly non-blocking download time calculation

7 years agoqmlglsrc: use glBlitFramebuffer to copy texture for GLES3.0
Haihua Hu [Tue, 10 Jan 2017 08:54:48 +0000 (16:54 +0800)]
qmlglsrc: use glBlitFramebuffer to copy texture for GLES3.0

If support glBlitFrameBuffer, use it for texture copy instead
of glCopyTexImage2D

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

7 years agoglwindow: use the same parameter names between vfuncs and functions of the same name
Matthew Waters [Tue, 10 Jan 2017 09:07:09 +0000 (20:07 +1100)]
glwindow: use the same parameter names between vfuncs and functions of the same name

Silences GI warnings about symbol's not being used from source code
comment block

7 years agoglbasememory: type fix for GstGLBaseMemoryAllocatorAllocFunction
Matthew Waters [Tue, 10 Jan 2017 09:06:07 +0000 (20:06 +1100)]
glbasememory: type fix for GstGLBaseMemoryAllocatorAllocFunction

7 years agogldisplay: add missing transfer annotations
Matthew Waters [Tue, 10 Jan 2017 09:05:42 +0000 (20:05 +1100)]
gldisplay: add missing transfer annotations

7 years agogl: add skip annotations to non-GI possible struct constructors
Matthew Waters [Tue, 10 Jan 2017 09:04:30 +0000 (20:04 +1100)]
gl: add skip annotations to non-GI possible struct constructors

7 years agoglbasememory: remove unused and #if 0'ed function definitions
Matthew Waters [Tue, 10 Jan 2017 09:03:09 +0000 (20:03 +1100)]
glbasememory: remove unused and #if 0'ed function definitions

7 years agogl: add necessary get_type() functions for allocation params structures
Matthew Waters [Tue, 10 Jan 2017 08:58:48 +0000 (19:58 +1100)]
gl: add necessary get_type() functions for allocation params structures

All using the existing GstGLAllocationParams infrastructure

7 years agogl/docs/sections.txt: remove non-existant symbols
Matthew Waters [Tue, 10 Jan 2017 08:55:43 +0000 (19:55 +1100)]
gl/docs/sections.txt: remove non-existant symbols

7 years agogldisplay: some annotation updates/typo fixes
Matthew Waters [Tue, 10 Jan 2017 04:35:52 +0000 (15:35 +1100)]
gldisplay: some annotation updates/typo fixes

7 years agogl: remove reference to non-existant header
Matthew Waters [Tue, 10 Jan 2017 03:29:46 +0000 (14:29 +1100)]
gl: remove reference to non-existant header

../../../../gst-libs/gst/gl/gl.h:57:45: fatal error: gst/gl/gstglcontrolbindingproxy.h: No such file or directory
 #include <gst/gl/gstglcontrolbindingproxy.h>
                                             ^

7 years agogl: remove custom control binding proxy
Matthew Waters [Tue, 10 Jan 2017 01:51:51 +0000 (12:51 +1100)]
gl: remove custom control binding proxy

Use the existing GstProxyControlBinding instead.

7 years agogl/pkg-config: add the configured platform/api/winsys
Matthew Waters [Thu, 17 Nov 2016 06:15:55 +0000 (17:15 +1100)]
gl/pkg-config: add the configured platform/api/winsys

Allows users to query this from pkg-config instead of requiring them to
compile mini programs checking defines in gstglconfig.h

7 years agogl: remove unneeded gst_gl_buffer_alloc from header file
Matthew Waters [Thu, 17 Nov 2016 14:06:51 +0000 (01:06 +1100)]
gl: remove unneeded gst_gl_buffer_alloc from header file

There's no implementation anymore!

7 years agogl/egl: remove use of texture orientation
Matthew Waters [Thu, 17 Nov 2016 07:00:39 +0000 (18:00 +1100)]
gl/egl: remove use of texture orientation

7 years agogl/pkg-config: don't advertise all our dependent libraries as deps
Matthew Waters [Thu, 17 Nov 2016 06:51:54 +0000 (17:51 +1100)]
gl/pkg-config: don't advertise all our dependent libraries as deps

If an application/library explicitly needs a library, it needs to link
against it itself.

7 years agotimecodestamper: Post element message with current timecode
Vivia Nikolaidou [Mon, 9 Jan 2017 15:53:38 +0000 (17:53 +0200)]
timecodestamper: Post element message with current timecode

timecodestamper will post an element message which contains the current
timecode it just stamped. If a timecode was already found and not
replaced, it will still post it in a message.

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

7 years agodecklinkvideosrc: Do not append a zero timecode if none is found on the source
Vivia Nikolaidou [Thu, 5 Jan 2017 13:41:06 +0000 (15:41 +0200)]
decklinkvideosrc: Do not append a zero timecode if none is found on the source

If the source doesn't give us timecode information, do not append a zero
timecode to the frames.

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

7 years agoglcontext/egl: don't overwrite set GError
Matthew Waters [Mon, 9 Jan 2017 14:00:12 +0000 (01:00 +1100)]
glcontext/egl: don't overwrite set GError

Doing so is an error and will cause a glib warning to be printed.

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

7 years agomeson: decklink: fix plugin filename
Tim-Philipp Müller [Thu, 5 Jan 2017 20:45:15 +0000 (20:45 +0000)]
meson: decklink: fix plugin filename

7 years agomeson: build decklink plugin
Tim-Philipp Müller [Thu, 5 Jan 2017 20:34:14 +0000 (20:34 +0000)]
meson: build decklink plugin

7 years agomeson: Do not use gstwayland variable when not set
Thibault Saunier [Thu, 5 Jan 2017 15:34:39 +0000 (12:34 -0300)]
meson: Do not use gstwayland variable when not set

7 years agomeson: Generate the wayland pc file when needed
Thibault Saunier [Thu, 5 Jan 2017 15:31:14 +0000 (12:31 -0300)]
meson: Generate the wayland pc file when needed

7 years agomeson: Do not try to use unset gstgl if gstgl is not built
Thibault Saunier [Thu, 5 Jan 2017 14:25:13 +0000 (11:25 -0300)]
meson: Do not try to use unset gstgl if gstgl is not built

7 years agoandroidmedia: Add support for Opus in the decoder
Sebastian Dröge [Thu, 5 Jan 2017 13:05:07 +0000 (15:05 +0200)]
androidmedia: Add support for Opus in the decoder

7 years agoandroidmedia: Silently skip COLOR_FormatAndroidOpaque when converting to caps
Sebastian Dröge [Thu, 5 Jan 2017 13:00:21 +0000 (15:00 +0200)]
androidmedia: Silently skip COLOR_FormatAndroidOpaque when converting to caps

This is special and handled in the decoder when doing rendering to a
surface. Printing a warning for this is just unnecessary noise

7 years agomeson: generate pkg-config -uninstalled pc files
Guillaume Desmottes [Wed, 4 Jan 2017 15:51:10 +0000 (16:51 +0100)]
meson: generate pkg-config -uninstalled pc files

Generating those files is useful for users building the GStreamer stack
using meson and having to link it to another project which is still
using the autotools.

While doing so, fix some -uninstalled pc files which were using a
suspicious 'pcfiledir' which was never replaced or defined.

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

7 years agomeson: Support building without Gst debug
Thibault Saunier [Fri, 9 Dec 2016 20:48:52 +0000 (17:48 -0300)]
meson: Support building without Gst debug

7 years agoandroidmedia: Add support for VP9
Sebastian Dröge [Wed, 4 Jan 2017 18:59:39 +0000 (20:59 +0200)]
androidmedia: Add support for VP9

7 years agoandroidmedia: Actively request the Java VM from the application
Sebastian Dröge [Tue, 3 Jan 2017 16:53:39 +0000 (18:53 +0200)]
androidmedia: Actively request the Java VM from the application

This is more consistent with how we already request the application
class loader and other application resources elsewhere.

7 years agodecklink: Fix indentation
Sebastian Dröge [Tue, 3 Jan 2017 15:31:03 +0000 (17:31 +0200)]
decklink: Fix indentation

7 years agodecklinkaudiosrc: Add support for 8/16 channels via property
Sebastian Dröge [Tue, 3 Jan 2017 15:30:07 +0000 (17:30 +0200)]
decklinkaudiosrc: Add support for 8/16 channels via property

These are unpositioned channel layouts.

7 years agoFix some caps leaks in pad template creation code
Garima Gaur [Tue, 3 Jan 2017 03:32:36 +0000 (09:02 +0530)]
Fix some caps leaks in pad template creation code

gst_pad_template_new() does not take ownership of
the caps passed to it, so we need to unref the caps.

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

7 years agowaylandsink: fix display re-connection (redraw pending)
Fabien Dessenne [Thu, 8 Dec 2016 09:22:23 +0000 (10:22 +0100)]
waylandsink: fix display re-connection (redraw pending)

Reset redraw_pending at display disconnection, so we can re-connect
later from a clean state (avoid endless buffer drops).
Add a log to inform of dropped buffers.

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