platform/upstream/gstreamer.git
7 years agopo: Remove remaining reference to videomeasure
Thibault Saunier [Thu, 17 Nov 2016 18:11:20 +0000 (15:11 -0300)]
po: Remove remaining reference to videomeasure

7 years agodecklinkvideosrc: Issue "no signal" warnings
Vivia Nikolaidou [Thu, 17 Nov 2016 16:23:04 +0000 (18:23 +0200)]
decklinkvideosrc: Issue "no signal" warnings

When a frame is found to not have an associated input source (cable
unplugged, wrong mode selected), an element warning will be issued. When
the next frame in the stream is found to have an input source selected
(e.g. cable replugged), an element info will be issued.

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

7 years agovideomeasure: Remove old unported videomeasure plugin as it is now replaced by IQA
Thibault Saunier [Wed, 16 Nov 2016 21:01:19 +0000 (18:01 -0300)]
videomeasure: Remove old unported videomeasure plugin as it is now replaced by IQA

7 years agoiqa: Error out when trying to compare video stream with different sizes
Thibault Saunier [Wed, 16 Nov 2016 19:30:50 +0000 (16:30 -0300)]
iqa: Error out when trying to compare video stream with different sizes

We do not handle it yet and we should let the user know.

7 years agoiqa: Add meson build support
Thibault Saunier [Wed, 16 Nov 2016 17:46:24 +0000 (14:46 -0300)]
iqa: Add meson build support

7 years agoAdds a new Image Quality Assessment plugin.
Mathieu Duponchelle [Wed, 16 Nov 2016 16:18:53 +0000 (13:18 -0300)]
Adds a new Image Quality Assessment plugin.

It only offers one metric for now, "dssim", available if
https://github.com/pornel/dssim was installed on the system
at the time the plugin was compiled.

The spearman correlation for dssim against the TID2008 dataset
is 0.81, against 0.70 for the old ssim implementation, and
it runs 15 times faster.

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

7 years agogl/tests: fix glimagesink element test on OSX
Matthew Waters [Thu, 17 Nov 2016 03:35:26 +0000 (14:35 +1100)]
gl/tests: fix glimagesink element test on OSX

It was suffering a race starting up the thread that could cause the main
loop to quit before the main loop had started.

7 years agoapplemedia: error out if the uri property is not set
Matthew Waters [Thu, 17 Nov 2016 03:21:23 +0000 (14:21 +1100)]
applemedia: error out if the uri property is not set

Fixes:

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** +[NSString stringWithUTF8String:]: NULL cString

in the state change test.

7 years agomeson: wayland: move dep checks to the lib
Matthew Waters [Thu, 17 Nov 2016 04:15:18 +0000 (15:15 +1100)]
meson: wayland: move dep checks to the lib

Moves them closer to where they are used.  We don't want every check in
the main meson.build file.

7 years agomeson: gl/egl: add missing source file
Matthew Waters [Thu, 17 Nov 2016 03:32:10 +0000 (14:32 +1100)]
meson: gl/egl: add missing source file

d42145e8c1ba3bc0445506b92bb7ac04ae98f4dd didn't add the necessary
meson build changes.

7 years agogl/egl: remove EGLImage functions from egl context
Matthew Waters [Wed, 16 Nov 2016 15:41:14 +0000 (02:41 +1100)]
gl/egl: remove EGLImage functions from egl context

By adding the necessary GstEGLImage entry points to create a GstEGLImage
from a GstGLMemory.

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

7 years agoglcontext: add vfunc to retrieve the OpenGL platform version
Matthew Waters [Wed, 16 Nov 2016 14:45:38 +0000 (01:45 +1100)]
glcontext: add vfunc to retrieve the OpenGL platform version

i.e. the version of EGL, GLX, etc implemented.

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

7 years agogl/egl: move get_error_string() into gstegl
Matthew Waters [Wed, 16 Nov 2016 14:38:32 +0000 (01:38 +1100)]
gl/egl: move get_error_string() into gstegl

So others can use it without #include-ing a private header

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

7 years agodisplay/egl: implement getting the EGLDisplay of a specific platform
Matthew Waters [Thu, 27 Nov 2014 04:50:04 +0000 (15:50 +1100)]
display/egl: implement getting the EGLDisplay of a specific platform

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

7 years agogl/egl: check the feature in the extensions list
Víctor Manuel Jáquez Leal [Wed, 16 Nov 2016 12:05:11 +0000 (13:05 +0100)]
gl/egl: check the feature in the extensions list

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

7 years agovmncdec: Sanity-check width/height before using it
Sebastian Dröge [Wed, 16 Nov 2016 18:41:39 +0000 (20:41 +0200)]
vmncdec: Sanity-check width/height before using it

We will allocate a screen area of width*height*bpp bytes, however this
calculation can easily overflow if too high width or height are given
inside the stream. Nonetheless we would just assume that enough memory
was allocated, try to fill it and overwrite as much memory as wanted.

Also allocate the screen area filled with zeroes to ensure that we start
with full-black and not any random (or not so random) data.

https://scarybeastsecurity.blogspot.gr/2016/11/0day-poc-risky-design-decisions-in.html

Ideally we should just remove this plugin in favour of the one in
gst-libav, which generally seems to be of better code quality.

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

7 years agottml: Hide behind --enable-experimental
Sebastian Dröge [Wed, 16 Nov 2016 16:50:53 +0000 (18:50 +0200)]
ttml: Hide behind --enable-experimental

The elements are autoplugged and currently assert on invalid streams.

7 years agosmoothwave: Remove empty directory
Sebastian Dröge [Wed, 16 Nov 2016 14:45:27 +0000 (16:45 +0200)]
smoothwave: Remove empty directory

7 years agoreal: Remove empty directory
Sebastian Dröge [Wed, 16 Nov 2016 14:33:41 +0000 (16:33 +0200)]
real: Remove empty directory

7 years agompeg1sys: Remove obsolete, empty directory that only contains a meson.build
Sebastian Dröge [Wed, 16 Nov 2016 14:15:34 +0000 (16:15 +0200)]
mpeg1sys: Remove obsolete, empty directory that only contains a meson.build

7 years agocurl: transfer hangs in case connection was cut between client and server
Imre Eörs [Tue, 15 Nov 2016 15:20:10 +0000 (16:20 +0100)]
curl: transfer hangs in case connection was cut between client and server

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

7 years agogl/tests: don't use the default framebuffer
Matthew Waters [Wed, 16 Nov 2016 06:30:54 +0000 (17:30 +1100)]
gl/tests: don't use the default framebuffer

Create our own instead as the default framebuffer may require special
fiddling (like having a visible window) to correctly display/be renderable.

Fixes the remaining GL library tests on OS X

7 years agoglcontext/cocoa: implement empty swap_buffers
Matthew Waters [Wed, 16 Nov 2016 02:39:32 +0000 (13:39 +1100)]
glcontext/cocoa: implement empty swap_buffers

Fixes some GL tests on OS X.

7 years agogl: remove empty BUGS file
Matthew Waters [Wed, 16 Nov 2016 05:41:59 +0000 (16:41 +1100)]
gl: remove empty BUGS file

We use bugzilla for bug tracking

7 years agomeson: Build waylandsink
Thibault Saunier [Tue, 15 Nov 2016 20:46:17 +0000 (17:46 -0300)]
meson: Build waylandsink

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

7 years agoconfigure: fix build if wayland-client is not available
Luis de Bethencourt [Tue, 15 Nov 2016 17:48:15 +0000 (17:48 +0000)]
configure: fix build if wayland-client is not available

Simplify the PKG_CHECK_MODULES related to Wayland to avoid the confusion
of NOT_FOUND cases when there are 3 nested checks. Group those 3 checks
together since there are no conditions specific to each one.

Thanks to https://ci.gstreamer.net/ for alerting of the problem.

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

7 years agoconfigure: fix build if libdrm is not available
Luis de Bethencourt [Tue, 15 Nov 2016 11:59:45 +0000 (11:59 +0000)]
configure: fix build if libdrm is not available

If the NOT_FOUND part of the check PKG_CHECK_MODULES is not written, it
defaults to error. Addind the else clause of this check as
HAVE_WAYLAND="no"

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

7 years agoglwindow/cocoa: remove unneeded window code in NSWindow
Matthew Waters [Tue, 15 Nov 2016 13:01:00 +0000 (00:01 +1100)]
glwindow/cocoa: remove unneeded window code in NSWindow

This is all taken care of by GstGLWindowCocoa/GstGLNSView now.

7 years agoglwindow/cocoa: remove our view from the parent when closing
Matthew Waters [Tue, 15 Nov 2016 11:56:25 +0000 (22:56 +1100)]
glwindow/cocoa: remove our view from the parent when closing

Otherwise, when the application reuses the same UIView, we were getting
draw notifications on the previous view/layer's which weren't valid anymore
and were referencing pointers that had been freed.

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

7 years agogl/caopengllayer: add a debug category
Matthew Waters [Tue, 15 Nov 2016 10:43:59 +0000 (21:43 +1100)]
gl/caopengllayer: add a debug category

7 years agoglbufferpool: introduce check for GLMemory allocators
Matthew Waters [Tue, 15 Nov 2016 03:36:11 +0000 (14:36 +1100)]
glbufferpool: introduce check for GLMemory allocators

The last missing piece of EGLImage support has been pushed.

7 years agoFix some MSVC warnings about const-ness
Scott D Phillips [Tue, 15 Nov 2016 01:02:54 +0000 (17:02 -0800)]
Fix some MSVC warnings about const-ness

Some miscellaneous warnings about const-ness, either casting away const
where we know it's safe or removing const where it's not correct.

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

7 years agoCast away const from GstMetaInfo in *_get_meta_info() functions
Scott D Phillips [Tue, 15 Nov 2016 00:59:48 +0000 (16:59 -0800)]
Cast away const from GstMetaInfo in *_get_meta_info() functions

MSVC warns about the const in the implicit argument conversion in the
calls to g_once_init_{enter,leave}. It's OK so explicitly cast it.

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

7 years agoadaptivedemux: Fix startup SEGMENT seeking and setting for live
Seungha Yang [Thu, 10 Nov 2016 14:07:50 +0000 (23:07 +0900)]
adaptivedemux: Fix startup SEGMENT seeking and setting for live

Because fragment.timestamp is relative value to period_start,
startup SEGMENT seeking should be pointed to "fragment.timestamp + period_start"

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

7 years agogdiscreencapsrc: remove empty gst_gdiscreencapsrc_stop vfunc
Philippe Renon [Mon, 14 Nov 2016 11:23:37 +0000 (12:23 +0100)]
gdiscreencapsrc: remove empty gst_gdiscreencapsrc_stop vfunc

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

7 years agoopencv: move base opencv filter class and utilities to gst-libs
Philippe Renon [Thu, 10 Nov 2016 17:42:29 +0000 (18:42 +0100)]
opencv: move base opencv filter class and utilities to gst-libs

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

7 years agofbdevsink: Add to meson build
Arun Raghavan [Mon, 14 Nov 2016 17:45:05 +0000 (23:15 +0530)]
fbdevsink: Add to meson build

7 years agokmssink: Trivial naming fix in meson for consistency
Arun Raghavan [Mon, 14 Nov 2016 17:41:11 +0000 (23:11 +0530)]
kmssink: Trivial naming fix in meson for consistency

7 years agokmssink: Enable in meson build
Arun Raghavan [Mon, 14 Nov 2016 15:33:20 +0000 (21:03 +0530)]
kmssink: Enable in meson build

7 years agodash: Fix breakage in unit test caused by gst-indent
Sebastian Dröge [Mon, 14 Nov 2016 15:00:21 +0000 (17:00 +0200)]
dash: Fix breakage in unit test caused by gst-indent

7 years agompdparser: Support multiple Period elements in external xml
Seungha Yang [Mon, 14 Nov 2016 14:31:37 +0000 (23:31 +0900)]
mpdparser: Support multiple Period elements in external xml

External xml could have empty, one or multiple top-level "Period" elements.
Because xml parser cannot parse the multiple top-level elements
(i.e., no root element), we need to wrap a xml in order to make root element.
See also ISO/IEC 23009-1:2014 5.3.2.2

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

7 years agomsdk: Initial windows build support
Scott D Phillips [Thu, 3 Nov 2016 17:47:00 +0000 (10:47 -0700)]
msdk: Initial windows build support

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

7 years agomeson: add build files for msdk
Scott D Phillips [Thu, 13 Oct 2016 21:30:43 +0000 (14:30 -0700)]
meson: add build files for msdk

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

7 years agomsdk: load plugins in h265 and vp8 init
Scott D Phillips [Tue, 27 Sep 2016 21:21:34 +0000 (14:21 -0700)]
msdk: load plugins in h265 and vp8 init

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

7 years agomsdk: Width and Height need to be integer multiples of 32
Scott D Phillips [Tue, 27 Sep 2016 21:17:49 +0000 (14:17 -0700)]
msdk: Width and Height need to be integer multiples of 32

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

7 years agomsdk: add to build
Scott D Phillips [Fri, 9 Sep 2016 22:43:25 +0000 (15:43 -0700)]
msdk: add to build

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

7 years agomsdk: Create plugin for Intel's Media SDK
Josep Torra [Fri, 1 Apr 2016 17:25:25 +0000 (19:25 +0200)]
msdk: Create plugin for Intel's Media SDK

[scott.d.phillips@intel.com: gst-indent *.c *.h]
[scott.d.phillips@intel.com: link with libva at build time]
[scott.d.phillips@intel.com: remove unused includes]
[scott.d.phillips@intel.com: Update README]

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

7 years agompdparser: wrap unmodified data in protection event
Philippe Normand [Mon, 14 Nov 2016 10:08:24 +0000 (11:08 +0100)]
mpdparser: wrap unmodified data in protection event

PlayReady being the one of the few DRM formats encoding its data with
base64 it was not consistent to have a special case for this. So the
base64 decoding operation now needs to be done by the protection event
consumer, if needed.

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

7 years agomssdemux: wrap unmodified data in protection event
Philippe Normand [Mon, 14 Nov 2016 10:06:00 +0000 (11:06 +0100)]
mssdemux: wrap unmodified data in protection event

PlayReady being the one of the few DRM formats encoding its data with
base64 it was not consistent to have a special case for this. So the
base64 decoding operation now needs to be done by the protection event
consumer, if needed.

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

7 years agodtlscertificate: Fix error checking in RSA_generate_key_ex() usage
Sebastian Dröge [Mon, 14 Nov 2016 09:32:17 +0000 (11:32 +0200)]
dtlscertificate: Fix error checking in RSA_generate_key_ex() usage

Was broken during the port for OpenSSL 1.1.

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

7 years agowinks: undef windows SDK macros before redefining them
Scott D Phillips [Fri, 11 Nov 2016 18:55:57 +0000 (10:55 -0800)]
winks: undef windows SDK macros before redefining them

Redefining an already defined macro causes a warning from the msvc
preprocessor

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

7 years agoRemove 'return' from `void` functions
Scott D Phillips [Fri, 11 Nov 2016 18:54:52 +0000 (10:54 -0800)]
Remove 'return' from `void` functions

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

7 years agompegtsdemux: fix operator precedence in SAFE_FOURCC_ARGS
Scott D Phillips [Fri, 11 Nov 2016 18:51:49 +0000 (10:51 -0800)]
mpegtsdemux: fix operator precedence in SAFE_FOURCC_ARGS

Type cast has higher precedence than bitwise shift, so the third
argument will truncate to 8 bits and then shift right by 8 bits
resulting in constant zero.

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

7 years agohlsdemux: Fix NULL pointer dereference when checking if there is a next fragment
Sebastian Dröge [Sat, 12 Nov 2016 08:38:04 +0000 (10:38 +0200)]
hlsdemux: Fix NULL pointer dereference when checking if there is a next fragment

Thanks to Aleksandr <tumaleksandr@yandex.ua> for reporting and
suggesting the fix.

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

7 years agomeson: don't add_global_arguments when being built as a subproject
Scott D Phillips [Thu, 27 Oct 2016 05:36:17 +0000 (22:36 -0700)]
meson: don't add_global_arguments when being built as a subproject

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

7 years agogl: x11-xcb is not a required dependency
Tim-Philipp Müller [Fri, 11 Nov 2016 01:05:55 +0000 (01:05 +0000)]
gl: x11-xcb is not a required dependency

Don't fail if it's not found..

7 years agokmssink: do not get kms bo pitch for planar formats
Philipp Zabel [Wed, 19 Oct 2016 12:54:44 +0000 (14:54 +0200)]
kmssink: do not get kms bo pitch for planar formats

The API is ill defined for planar formats in case of dumb BOs,
do not use the reported stride in those cases.

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

7 years agokmssink: remove custom gst_kms_sink_get_times
Michael Tretter [Tue, 18 Oct 2016 07:19:09 +0000 (09:19 +0200)]
kmssink: remove custom gst_kms_sink_get_times

The default get_times() function of the base sink is just fine.

Remove the custom get_times() function, because the default function
already reads the timestamps from the buffers.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
https://bugzilla.gnome.org/show_bug.cgi?id=773473

7 years agosmoothstreaming: use the duration from the list of fragments if not present in the...
Matthew Waters [Thu, 10 Nov 2016 06:20:27 +0000 (17:20 +1100)]
smoothstreaming: use the duration from the list of fragments if not present in the manifest

Provides a more accurate duration for live streams that may be minutes
or hours in front of the earliest fragment.

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

7 years agosmoothstreaming: implement adaptivedemux's get_live_seek_range()
Matthew Waters [Thu, 10 Nov 2016 06:18:36 +0000 (17:18 +1100)]
smoothstreaming: implement adaptivedemux's get_live_seek_range()

Allows seeking through the available fragments that are still available
on the server as specified by the DVRWindowLength attribute in the
manifest.

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

7 years agoadaptivedemux: reset the manifest failure count after a successful retrieval
Matthew Waters [Wed, 9 Nov 2016 10:20:21 +0000 (21:20 +1100)]
adaptivedemux: reset the manifest failure count after a successful retrieval

This changes the failure case to require a consecutive number of
failures rather than being spread out over the entire stream.

Fixes the case where fetching the manifest was intermittent.

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

7 years agoadaptivedemux: call the subclass for duration queries for live sources
Matthew Waters [Wed, 9 Nov 2016 10:18:06 +0000 (21:18 +1100)]
adaptivedemux: call the subclass for duration queries for live sources

Otherwise, the duration query was failing for live sources

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

7 years agoadaptivedemux: restart the manifest update task after a seek
Matthew Waters [Wed, 9 Nov 2016 10:15:29 +0000 (21:15 +1100)]
adaptivedemux: restart the manifest update task after a seek

For formats that need to update the manifest to know about new
fragments as they're being written by the server would never receive an
updated fragment list after a seek event

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

7 years agompegts: fix typo in GstMpegtsDescriptor
Dongil Park [Wed, 9 Nov 2016 08:10:21 +0000 (17:10 +0900)]
mpegts: fix typo in GstMpegtsDescriptor

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

7 years agogl/build: add missing build files
Matthew Waters [Thu, 10 Nov 2016 09:34:53 +0000 (20:34 +1100)]
gl/build: add missing build files

3f7b54988186de17ec4e5b5566074cfaa392819a was incomplete :(

7 years agogl/utils: move gen_shader() to the plugin and remove del_shader()
Matthew Waters [Thu, 10 Nov 2016 08:14:24 +0000 (19:14 +1100)]
gl/utils: move gen_shader() to the plugin and remove del_shader()

gst_gl_context_del_shader() can be replaced by a g_object_unref().
gst_gl_context_gen_shader() should be replaced by using GstGLSLStage.

7 years agoglwindow: remove unused field in public struct
Matthew Waters [Wed, 26 Oct 2016 05:53:27 +0000 (16:53 +1100)]
glwindow: remove unused field in public struct

7 years agoglwindow: remove is_running() function
Matthew Waters [Wed, 26 Oct 2016 05:30:43 +0000 (16:30 +1100)]
glwindow: remove is_running() function

It isn't necessary in correctly written programs.

7 years agomeson/gl: XCB changes also need x11-xcb as a dependency
Nirbheek Chauhan [Tue, 8 Nov 2016 12:20:51 +0000 (17:50 +0530)]
meson/gl: XCB changes also need x11-xcb as a dependency

https://ci.gstreamer.net/job/GStreamer-master-meson/380/console

[...]
gst-libs/gst/gl/x11/xcb_event_source.c:98: undefined reference to `xcb_get_file_descriptor'

7 years agoamc: Allow registering codecs, camera or sensors if any of the others failed
Sebastian Dröge [Mon, 7 Nov 2016 10:30:20 +0000 (12:30 +0200)]
amc: Allow registering codecs, camera or sensors if any of the others failed

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

7 years agoahs: Don't assert on deinit if initialization failed before
Sebastian Dröge [Mon, 7 Nov 2016 10:24:59 +0000 (12:24 +0200)]
ahs: Don't assert on deinit if initialization failed before

Initialization failure is handled correctly by just not registering the
ahssrc element.

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

7 years agogl/x11: fix meson build
Philippe Normand [Tue, 8 Nov 2016 08:52:48 +0000 (09:52 +0100)]
gl/x11: fix meson build

The x11_event_source.[ch] files were renamed in
4f6c226bd24ae3ef66bd8f4c17b001444c9b0bf1.

7 years agoexamples/gl/qt: fix the examples for the use of newer API
Matthew Waters [Tue, 8 Nov 2016 04:04:29 +0000 (15:04 +1100)]
examples/gl/qt: fix the examples for the use of newer API

gstgl doesn't undo/overwrite what GL state the examples are changing
anymore.  As such, the examples need to reset the GL state themselves
to be able to play nice with libgstgl

7 years agoglfiltershader: expand the docs slightly
Matthew Waters [Tue, 8 Nov 2016 02:35:33 +0000 (13:35 +1100)]
glfiltershader: expand the docs slightly

Add an example OpenGL shader

7 years agoglwindow: remove the navigation thread
Matthew Waters [Thu, 30 Jun 2016 14:31:07 +0000 (00:31 +1000)]
glwindow: remove the navigation thread

This functionality can now effectively be implemented with the display event
thread.

7 years agogl/x11: use xcb instead of libX11
Matthew Waters [Thu, 30 Jun 2016 14:07:23 +0000 (00:07 +1000)]
gl/x11: use xcb instead of libX11

- xcb is supposedly thread-safe!

videotestsrc ! glimagesink now doesn't spuriously result in a
'call XInitThreads()' error however if anybody else is using X11,
then XInitThreads() still needs to be called and multiple glimagesink's
still need XInitThreads().

Everything still takes libX11 handles as they are compatible with the xcb
variants.  Unfortunately we cannot move fully over to xcb due to GLX being
entirely based on Xlib.  It's also impossible to transform a xcb_connection
to a Display which means we require X11 handles.

7 years agogldisplay: add a list of glwindow's
Matthew Waters [Thu, 30 Jun 2016 13:12:33 +0000 (23:12 +1000)]
gldisplay: add a list of glwindow's

With the event thread on the display, for a particular winsys event
we need to be able to retreive the window that the event matches.

7 years agogldisplay: add a dedicated event thread
Matthew Waters [Thu, 30 Jun 2016 13:04:16 +0000 (23:04 +1000)]
gldisplay: add a dedicated event thread

Will take the place of the navigation event thread for dealing with
winsys events.

7 years agogl: don't expose OpenGL prototypes
Matthew Waters [Tue, 8 Nov 2016 01:44:45 +0000 (12:44 +1100)]
gl: don't expose OpenGL prototypes

We roll our own to avoid depending a certain OpenGL header version

7 years agogl/cocoa: don't install the gstglcontext_cocoa.h header
Matthew Waters [Mon, 7 Nov 2016 15:56:44 +0000 (02:56 +1100)]
gl/cocoa: don't install the gstglcontext_cocoa.h header

It's not needed to be exposed

7 years agogl/android: don't install the android window header
Matthew Waters [Mon, 7 Nov 2016 15:52:37 +0000 (02:52 +1100)]
gl/android: don't install the android window header

It's not needed

7 years agogl: add padding to all exposed winsys/platform-specific structs
Matthew Waters [Mon, 7 Nov 2016 15:50:41 +0000 (02:50 +1100)]
gl: add padding to all exposed winsys/platform-specific structs

7 years agogl/wayland: install the gstgldisplay_wayland.h header
Matthew Waters [Mon, 7 Nov 2016 15:47:36 +0000 (02:47 +1100)]
gl/wayland: install the gstgldisplay_wayland.h header

As it is used by other OpenGL sinks (gtkglsink, qmlglsink)

7 years agogl/egl: don't install the gstglcontext_egl.h header
Matthew Waters [Mon, 7 Nov 2016 15:44:30 +0000 (02:44 +1100)]
gl/egl: don't install the gstglcontext_egl.h header

It's not needed to be exposed and there are no users of the API.

7 years agoglfilter: remove display_init/reset
Matthew Waters [Mon, 7 Nov 2016 15:21:20 +0000 (02:21 +1100)]
glfilter: remove display_init/reset

They are mirrors of GstGLBaseFilter's gl_start() and gl_stop() virtual methods
so use them instead.

7 years agoqmlglsrc: some enhancements for qmlglsrc
Haihua Hu [Mon, 7 Nov 2016 06:47:22 +0000 (14:47 +0800)]
qmlglsrc: some enhancements for qmlglsrc

1. Need set use-default-fbo to qquickwindow during set property
   to support change render target on the fly.
2. Calculate qmlglsrc refresh frame rate in qtglwindow

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

7 years agovdpsink: fix Memory leak due to Xlib API usage
Gaurav Gupta [Fri, 4 Nov 2016 06:26:13 +0000 (11:56 +0530)]
vdpsink: fix Memory leak due to Xlib API usage

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

7 years agompdparser: MS PlayReady ContentProtection parsing
Philippe Normand [Fri, 4 Nov 2016 08:56:33 +0000 (09:56 +0100)]
mpdparser: MS PlayReady ContentProtection parsing

The "pro" (PlayReady Object) element contents are now base64-decoded
and properly stored in Protection events.

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

7 years agogst: Fix more mentions of interlaced-mode to say interlace-mode
Sebastian Dröge [Fri, 4 Nov 2016 14:26:50 +0000 (16:26 +0200)]
gst: Fix more mentions of interlaced-mode to say interlace-mode

7 years agowayland: only use libdrm headers, don't link to the lib
Tim-Philipp Müller [Fri, 4 Nov 2016 13:43:08 +0000 (13:43 +0000)]
wayland: only use libdrm headers, don't link to the lib

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

7 years agokms: rename variable used
Tim-Philipp Müller [Fri, 4 Nov 2016 09:26:48 +0000 (09:26 +0000)]
kms: rename variable used

Since this includes kms.

7 years agowayland: include drm_fourcc.h properly and fix build
Tim-Philipp Müller [Fri, 4 Nov 2016 00:52:41 +0000 (00:52 +0000)]
wayland: include drm_fourcc.h properly and fix build

7 years agowayland: fix cflags/libs order
Tim-Philipp Müller [Fri, 4 Nov 2016 00:44:32 +0000 (00:44 +0000)]
wayland: fix cflags/libs order

7 years agovulkan: Add missing files to meson build
Arun Raghavan [Fri, 4 Nov 2016 04:21:36 +0000 (09:51 +0530)]
vulkan: Add missing files to meson build

7 years agowaylandsink: Rework dmabuf support
Nicolas Dufresne [Thu, 29 Sep 2016 20:30:33 +0000 (16:30 -0400)]
waylandsink: Rework dmabuf support

Simplify and fix some of the show_frame logic.

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

7 years agowaylandsink: support linux dmabuf protocol
Fabien Dessenne [Thu, 22 Sep 2016 09:10:47 +0000 (11:10 +0200)]
waylandsink: support linux dmabuf protocol

Support the wayland zwp_linux_dmabuf_unstable_v1 protocol.
SHM formats and DMABuf formats are exposed differently in caps: the
DMABuf formats are flagged with GST_CAPS_FEATURE_MEMORY_DMABUF.
No buffer pool is proposed for DMABuf buffers, it is the upstream
element responsibility to provide with such buffers.

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

7 years agowaylandsink: Allow any kind of FD for shm memory
Nicolas Dufresne [Thu, 29 Sep 2016 18:34:18 +0000 (14:34 -0400)]
waylandsink: Allow any kind of FD for shm memory

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

7 years agottml: bump needed libxml2 version
Luis de Bethencourt [Thu, 3 Nov 2016 17:34:54 +0000 (17:34 +0000)]
ttml: bump needed libxml2 version

ttml was recently added but it won't compile unless libxml2 version 2.9.2
or later is available. In that version the first parameter of xmlGetProp
switched to being a const. In previous versions the compiler complains
about passing a const value to a non const argument.

7 years agocheck: Add new test to .gitignore
Edward Hervey [Thu, 3 Nov 2016 07:31:36 +0000 (08:31 +0100)]
check: Add new test to .gitignore

7 years agogldisplay: Fix inverted precondition
Matthew Waters [Thu, 3 Nov 2016 07:19:58 +0000 (18:19 +1100)]
gldisplay: Fix inverted precondition

A GError argument must either be null or point to a NULL GError.

https://developer.gnome.org/glib/stable/glib-Error-Reporting.html