platform/upstream/gstreamer.git
8 years agomeson: add some starting build files for GL
Matthew Waters [Fri, 9 Sep 2016 01:08:53 +0000 (11:08 +1000)]
meson: add some starting build files for GL

Currently only works on linux with egl/glx + wayland/x11 but the general
principals have been layed out for adding the other GL platforms/winsys'.

8 years agokmssink: Scale up to the screen dimension
Nicolas Dufresne [Thu, 8 Sep 2016 15:23:57 +0000 (11:23 -0400)]
kmssink: Scale up to the screen dimension

In most display sink, the logic is to use as much as possible
of the given window. In this case, the window is the screen,
hence it's logical to scale up.

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

8 years agokmssink: Fix selection of source region
Nicolas Dufresne [Thu, 8 Sep 2016 15:21:09 +0000 (11:21 -0400)]
kmssink: Fix selection of source region

The source region was scaled for display before being passed
to drmModeSetPlane, which resulted in a portion of the video
being cropped. While when crop meta was present, the rectangle
was not centered since we where using unscaled width/height.

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

8 years agogstplayer: remove leftover update_interval api
Julien Isorce [Thu, 8 Sep 2016 07:40:59 +0000 (08:40 +0100)]
gstplayer: remove leftover update_interval api

old: gst_player_set_position_update_interval
new: gst_player_config_set_position_update_interval

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

8 years agovkupload: add video/x-raw to the VulkanBuffer uploader
Matthew Waters [Thu, 1 Sep 2016 09:46:31 +0000 (19:46 +1000)]
vkupload: add video/x-raw to the VulkanBuffer uploader

Allows upstream elements that use our memory to passthrough without copying.

8 years agovkutils: set the last element of the layer array to NULL
Matthew Waters [Thu, 1 Sep 2016 09:43:59 +0000 (19:43 +1000)]
vkutils: set the last element of the layer array to NULL

g_strv* functions require this to not read off the end of the array.

8 years agogl/examples: Really remove references to $(GST_PLUGINS_GL_*).
Alistair Buxton [Wed, 7 Sep 2016 19:11:55 +0000 (20:11 +0100)]
gl/examples: Really remove references to $(GST_PLUGINS_GL_*).

These seem to have been missed in the previous commit to this file.

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

8 years agogl: Remove duplicate GL_CFLAGS in Makefile.am.
Alistair Buxton [Wed, 7 Sep 2016 19:07:26 +0000 (20:07 +0100)]
gl: Remove duplicate GL_CFLAGS in Makefile.am.

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

8 years agokmssink: override stride if defined in driver
Víctor Manuel Jáquez Leal [Fri, 5 Aug 2016 16:17:32 +0000 (18:17 +0200)]
kmssink: override stride if defined in driver

Some kms drivers demands specific pitches over the ones calculated by
GstVideoInfo. For example, intel driver demands strides round up 64.

This patch queries the driver for the prefered pitch and overwrites it
in the pool's GstVideoInfo structure.

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

8 years agoaggregator: Use the event_full function for GstAggregatorPads
Thibault Saunier [Tue, 6 Sep 2016 19:05:53 +0000 (16:05 -0300)]
aggregator: Use the event_full function for GstAggregatorPads

Allowing us to tell GstPad why we are failing an event, which might
be because we are 'flushing' even if the sinkpad is not in flush state
at that point.

8 years agoqmlglsink: check qt_context_ first in GstQSGTexture::bind()
Haihua Hu [Tue, 6 Sep 2016 05:13:39 +0000 (13:13 +0800)]
qmlglsink: check qt_context_ first in GstQSGTexture::bind()

When start qmlglsink app, it will set NULL buffer to GstQSGTexture
in which case that qt_context_ will be a random value and cause
gst_gl_context_activate() fail.

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

8 years agobuild/vulkan: fix winsys detection based on the previously set variables
Matthew Waters [Tue, 6 Sep 2016 10:00:07 +0000 (20:00 +1000)]
build/vulkan: fix winsys detection based on the previously set variables

The X11/Wayland winsys checks weren't being used to enable the vulkan element.
Use them.

8 years agosrtpenc: prevent deadlock in create_session
Philippe Normand [Tue, 6 Sep 2016 09:02:06 +0000 (11:02 +0200)]
srtpenc: prevent deadlock in create_session

Temporarily release the object lock which is needed to post error
messages on the bus.

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

8 years agomeson: Fix building with meson 0.34 when using subprojects
Thibault Saunier [Tue, 6 Sep 2016 01:30:01 +0000 (22:30 -0300)]
meson: Fix building with meson 0.34 when using subprojects

When using subproject meson.source_root() returns the root
directory of the toplevel project which break build.

Upstream meson bug: https://github.com/mesonbuild/meson/issues/722

8 years agomeson: Bump version to 1.9.2
Thibault Saunier [Mon, 5 Sep 2016 15:22:17 +0000 (12:22 -0300)]
meson: Bump version to 1.9.2

8 years agoglupload: create the GstGLUpload object in ::transform_caps
Alessandro Decina [Mon, 5 Sep 2016 04:44:24 +0000 (14:44 +1000)]
glupload: create the GstGLUpload object in ::transform_caps

Previously it was created in the init function and destroyed in ::stop, which
lead to segfaults when reusing the element.

Now the upload object is created in ::transform_caps if it is NULL, which is the
earliest we need it. The other vfuncs already bail out if the upload object is
NULL, which means that negotiation wasn't done.

8 years agotsdemux: Support ATSC EAC3
Wonchul Lee [Mon, 29 Aug 2016 02:40:54 +0000 (11:40 +0900)]
tsdemux: Support ATSC EAC3

EAC3 bit streams shall be identified with a stream_type value of 0x87 when
transmitted as PES streams conforming to ATSC-published standards. It is specified
in ATSC Standard A/52.

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

8 years agodecklink: Fix-up last commit that was not meant to be pushed yet
Sebastian Dröge [Thu, 1 Sep 2016 11:25:58 +0000 (14:25 +0300)]
decklink: Fix-up last commit that was not meant to be pushed yet

8 years agodecklink: Fix indentation
Sebastian Dröge [Thu, 1 Sep 2016 11:18:33 +0000 (14:18 +0300)]
decklink: Fix indentation

8 years agodecklink: Require a clock when going from PAUSED_TO_PLAYING and don't crash if there...
Sebastian Dröge [Thu, 1 Sep 2016 11:17:48 +0000 (14:17 +0300)]
decklink: Require a clock when going from PAUSED_TO_PLAYING and don't crash if there is none

Also when going from PLAYING_TO_PAUSED, the clock might've been unset in the
meantime, e.g. because the element was removed from its surrounding bin.

8 years agoBack to development
Sebastian Dröge [Thu, 1 Sep 2016 09:28:22 +0000 (12:28 +0300)]
Back to development

8 years agoRelease 1.9.2
Sebastian Dröge [Thu, 1 Sep 2016 09:27:59 +0000 (12:27 +0300)]
Release 1.9.2

8 years agopo: Update translations
Sebastian Dröge [Thu, 1 Sep 2016 08:24:37 +0000 (11:24 +0300)]
po: Update translations

8 years agoapplemedia: Conditionally compile qtkitvideosrc
Sebastian Dröge [Tue, 30 Aug 2016 13:21:25 +0000 (16:21 +0300)]
applemedia: Conditionally compile qtkitvideosrc

The API was deprecated in 10.9 and apparently does not exist in the SDK for
macOS Sierra anymore.

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

8 years agogl: Remove extra duplicate typedef of GstGLFramebuffer
Jan Schmidt [Tue, 30 Aug 2016 18:26:43 +0000 (04:26 +1000)]
gl: Remove extra duplicate typedef of GstGLFramebuffer

It's triggering a warning building git master on OSX

8 years agotests/glupload: support opengl3 properly instead of spewing GL errors
Matthew Waters [Mon, 29 Aug 2016 06:57:42 +0000 (16:57 +1000)]
tests/glupload: support opengl3 properly instead of spewing GL errors

8 years agogl/pkgconfig: add the lib include dir to the list of includes
Matthew Waters [Mon, 29 Aug 2016 06:52:44 +0000 (16:52 +1000)]
gl/pkgconfig: add the lib include dir to the list of includes

714d8aa in core removed this include dir from it's pkgconfig file.

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

8 years agoglupload: fix tests and check for the new RECONFIGURE behaviour
Alessandro Decina [Mon, 29 Aug 2016 05:43:10 +0000 (15:43 +1000)]
glupload: fix tests and check for the new RECONFIGURE behaviour

The tests were broken since 91fea30, which changed glupload to return
GST_GL_UPLOAD_RECONFIGURE if the texture target in the input buffers doesn't
match the texture-target configured in the output caps.

This commit fixes that and adds more checks for the new behaviour.

8 years agoUse the new API to post flow ERROR messages on the bus
Thibault Saunier [Fri, 19 Aug 2016 18:12:10 +0000 (11:12 -0700)]
Use the new API to post flow ERROR messages on the bus

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

8 years agodash: Fix build of unit test
Sebastian Dröge [Fri, 26 Aug 2016 17:12:21 +0000 (20:12 +0300)]
dash: Fix build of unit test

8 years agodashdemux: Add properties to select maximum allowed width/height and framerate
Sebastian Dröge [Thu, 25 Aug 2016 17:50:11 +0000 (20:50 +0300)]
dashdemux: Add properties to select maximum allowed width/height and framerate

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

8 years agodecklinkaudiosink: Fix compiler warning on OS X
Sebastian Dröge [Fri, 26 Aug 2016 13:04:27 +0000 (16:04 +0300)]
decklinkaudiosink: Fix compiler warning on OS X

While gint64 and int64_t are always the same, clang does not agree with that.

/Applications/Xcode.app/Contents/Developer/usr/bin/make -C decklink
  CXX      libgstdecklink_la-gstdecklinkaudiosink.lo
gstdecklinkaudiosink.cpp:675:79: error: cannot initialize a parameter of type 'int64_t *' (aka 'long long *') with an rvalue of type 'gint64 *' (aka 'long *')
      ret = buf->output->attributes->GetInt (BMDDeckLinkMaximumAudioChannels, &max_channels);
                                                                              ^~~~~~~~~~~~~
./linux/DeckLinkAPI.h:692:87: note: passing argument to parameter 'value' here
    virtual HRESULT GetInt (/* in */ BMDDeckLinkAttributeID cfgID, /* out */ int64_t *value) = 0;
                                                                                      ^

8 years agoapplemedia: fix compiler warning
Alessandro Decina [Fri, 26 Aug 2016 12:51:48 +0000 (22:51 +1000)]
applemedia: fix compiler warning

8 years agodecklinkvideosink: Scale down scheduled frame times to milliseconds
Sebastian Dröge [Fri, 26 Aug 2016 12:48:36 +0000 (15:48 +0300)]
decklinkvideosink: Scale down scheduled frame times to milliseconds

Scale down to milliseconds, otherwise at least some hardware has problems
scheduling the frames (or schedules them too slow) and we run out of available
frames.

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

8 years agodecklinkaudiosink: Add support for 8 and 16 channels
Sebastian Dröge [Fri, 26 Aug 2016 11:08:11 +0000 (14:08 +0300)]
decklinkaudiosink: Add support for 8 and 16 channels

8 years agoapplemedia: changes to make GL memory mappable on CPU on iOS
Alessandro Decina [Fri, 26 Aug 2016 07:37:54 +0000 (17:37 +1000)]
applemedia: changes to make GL memory mappable on CPU on iOS

This commit introduces IOSGLMemory which is a GLMemory that falls back to
GstAppleCoreVideoMemory for CPU access. This is a temporary solution until
IOSurface gets exposed as a public framework on iOS and so we can use
IOSurfaceMemory on both MacOS and iOS.

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

8 years agogstglupload: make the GLMemoryUpload method output the correct texture-target
Alessandro Decina [Mon, 22 Aug 2016 07:18:27 +0000 (17:18 +1000)]
gstglupload: make the GLMemoryUpload method output the correct texture-target

Now when used with video/x-raw as input, the GLMemoryUpload method checks for
->tex_target in input GLMemory(es) and sets the output texture-target
accordingly.

Fixes video corruption with a pipeline like avfvideosrc ! video/x-raw !
glimagesink where on macos avfvideosrc pushes RECTANGLE textures but glupload
was configuring texture-target=2D as output.

8 years agomeson: Make mpegts lib build when using subprojects
Thibault Saunier [Wed, 24 Aug 2016 12:41:08 +0000 (09:41 -0300)]
meson: Make mpegts lib build when using subprojects

The headers passed as parametter are relative to the build dir
basically "../subproject/gst-plugins-bad/gst-libs/gst/mpegts/XXX.h"
but that does not match what is needed at build time when building as
subproject, also we always add current dir as include_dir so we are
safe including directly.

And link mpegtsdemux against the 'math' library as it is needed.

8 years agodocs: Expose the opengl plugin and element docs
Jan Schmidt [Thu, 25 Aug 2016 17:46:39 +0000 (03:46 +1000)]
docs: Expose the opengl plugin and element docs

8 years agovideoaggregator: Handle if update_caps() returns EMPTY
Jan Schmidt [Thu, 25 Aug 2016 16:20:11 +0000 (02:20 +1000)]
videoaggregator: Handle if update_caps() returns EMPTY

Don't assume the returned caps from update_caps() is
non-empty.

8 years agogl: Update glvideomixer doc
Jan Schmidt [Thu, 25 Aug 2016 16:07:27 +0000 (02:07 +1000)]
gl: Update glvideomixer doc

8 years agogl: Add/update docs for glviewconvert, glstereomix
Jan Schmidt [Thu, 25 Aug 2016 16:06:00 +0000 (02:06 +1000)]
gl: Add/update docs for glviewconvert, glstereomix

Add some example pipelines for glstereomix, and fix up
the example pipelines for glviewconvert

8 years agoglstereomix: Fix caps negotiation
Jan Schmidt [Thu, 25 Aug 2016 14:29:34 +0000 (00:29 +1000)]
glstereomix: Fix caps negotiation

The videoaggregator negotiation sequence changed some time
back and broke glstereomix. Instead of doing nego incorrectly
in the find_best_format() vfunc, do it directly in the
update_caps() method.

8 years agoglviewconvert: Fix texture target fixation
Jan Schmidt [Thu, 25 Aug 2016 05:26:49 +0000 (15:26 +1000)]
glviewconvert: Fix texture target fixation

Don't set the chosen texture-target into the wrong structure.
The input caps may not be writable, and in any case - the
intention was to configure the othercaps. Also, remove an
extra unref - the othercaps ref is consumed by
gst_caps_make_writable already.

8 years agoadaptivedemux: Enable bitrate selection for trick mode streaming again
Sebastian Dröge [Thu, 25 Aug 2016 16:35:13 +0000 (19:35 +0300)]
adaptivedemux: Enable bitrate selection for trick mode streaming again

And scale the bitrate with the absolute rate (if it's bigger than 1.0) to get
to the real bitrate due to faster playback.

This allowed in my tests to play a stream with 10x speed without buffering as
the lowest bitrate is chosen, instead of staying/selecting the highest bitrate
and then buffering all the time.

It was previously disabled for not very well specified reasons, which seem to
be not valid anymore nowadays.

8 years agogitignore: add missing dash_isoff file
Josep Torra [Thu, 25 Aug 2016 14:33:17 +0000 (16:33 +0200)]
gitignore: add missing dash_isoff file

8 years agobuild: fix gst-uninstalled build in osx
Josep Torra [Thu, 25 Aug 2016 10:45:33 +0000 (12:45 +0200)]
build: fix gst-uninstalled build in osx

Fixes clang: error: argument unused during compilation: '-pthread'
when building the test programs.

8 years agobuild: unconditionally check for video, audio and pbutils modules
Josep Torra [Thu, 25 Aug 2016 12:35:59 +0000 (14:35 +0200)]
build: unconditionally check for video, audio and pbutils modules

Check for modules in configure and use GST_*_LIBS vars to link with
the libraries instead of hardcoding them.

8 years agoglvideoflip: implement GstVideoDirection interface
Xabier Rodriguez Calvar [Tue, 26 Jul 2016 17:55:13 +0000 (19:55 +0200)]
glvideoflip: implement GstVideoDirection interface

It implements now this interface with its video-direction
property. Values are changed to GstVideoOrientationMethod but they have
the same value than the originals.

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

8 years agofdkaacenc: Implement some automatic bitrate selection
Sebastian Dröge [Wed, 24 Aug 2016 16:43:55 +0000 (19:43 +0300)]
fdkaacenc: Implement some automatic bitrate selection

Based on sample rate and channel count, see
http://wiki.hydrogenaud.io/index.php?title=Fraunhofer_FDK_AAC#Recommended_Sampling_Rate_and_Bitrate_Combinations

8 years agoplayer: On redirects, remember the redirect URI separately and don't consider this...
Sebastian Dröge [Wed, 24 Aug 2016 11:15:09 +0000 (14:15 +0300)]
player: On redirects, remember the redirect URI separately and don't consider this an URI property change

The application does not know anything about the redirect, and changing its
URI internally will cause confusion.

Also don't reset the subtitle URI.

8 years agoplayer: Don't report spurious STOPPED state changes when doing transient changes...
Sebastian Dröge [Wed, 24 Aug 2016 11:10:41 +0000 (14:10 +0300)]
player: Don't report spurious STOPPED state changes when doing transient changes there

8 years agoplayer: Ensure that rate is initialized to 1.0
Sebastian Dröge [Wed, 24 Aug 2016 10:01:46 +0000 (13:01 +0300)]
player: Ensure that rate is initialized to 1.0

8 years agoopensles: Add opensles.h to noinst_HEADERS
Fredrik Fornwall [Wed, 24 Aug 2016 10:16:00 +0000 (10:16 +0000)]
opensles: Add opensles.h to noinst_HEADERS

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

8 years agoplayer: De-duplicate rate setting code and always use the property
Sebastian Dröge [Tue, 23 Aug 2016 11:37:17 +0000 (14:37 +0300)]
player: De-duplicate rate setting code and always use the property

8 years agoplayer: Protect setter/getter for the configuration with a mutex
Sebastian Dröge [Tue, 23 Aug 2016 11:33:11 +0000 (14:33 +0300)]
player: Protect setter/getter for the configuration with a mutex

8 years agoplayer: Move subtitle URI setter next to the uri setter
Sebastian Dröge [Tue, 23 Aug 2016 11:32:24 +0000 (14:32 +0300)]
player: Move subtitle URI setter next to the uri setter

It's confusing to have them a couple of hundred lines apart.

8 years agovtdec: fix MPEG-2 video caps
Matej Knopp [Wed, 17 Aug 2016 17:59:17 +0000 (19:59 +0200)]
vtdec: fix MPEG-2 video caps

Add systemstream=false to caps, otherwise the decoder
may be picked for MPEG-PS files. Also parsed=true,
as video toolbox expects entire frame in
VTDecompressionSessionDecodeFrame.

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

8 years agoadaptivedemux: Fix the previous commit
Jan Schmidt [Mon, 22 Aug 2016 16:13:19 +0000 (02:13 +1000)]
adaptivedemux: Fix the previous commit

Remove extra files that were not meant to be added to the commit

8 years agoadaptivedemux: Fix broken updates loop on live streams
Jan Schmidt [Mon, 22 Aug 2016 15:57:55 +0000 (01:57 +1000)]
adaptivedemux: Fix broken updates loop on live streams

Prevent the manifest update loop from looping endlessly
after a seek event, by clearing the variable that tells
the task function not to immediately exit.

8 years agoadaptivedemux: fix stream exposure condition
Michael Olbrich [Thu, 18 Aug 2016 08:06:27 +0000 (10:06 +0200)]
adaptivedemux: fix stream exposure condition

The new streams should not be exposed until all streams are done with the
current fragment. The old code is incorrect and actually only checked the
current stream. Fix this by properly checking all streams.

Also, ignore the current stream. The code is only reached when the current
stream finished downloading and since
07f49f15b1196cc9fa0d45af91149a35fce123b9 ("adaptivedemux: On EOS, handle it
before waking download loop") download_finished is set after
gst_adaptive_demux_stream_advance_fragment_unlocked() is called.

Without this HLS playback with multiple streams is broken, because the new
streams are never exposed.

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

8 years agomeson: remove unused mpg123 build file
Tim-Philipp Müller [Sun, 21 Aug 2016 15:21:07 +0000 (16:21 +0100)]
meson: remove unused mpg123 build file

mpg123 was moved to ugly.

8 years agoAdd support for Meson as alternative/parallel build system
Nirbheek Chauhan [Fri, 12 Aug 2016 15:51:45 +0000 (21:21 +0530)]
Add support for Meson as alternative/parallel build system

https://github.com/mesonbuild/meson

With contributions from:

Tim-Philipp Müller <tim@centricular.com>
Matej Knopp <matej.knopp@gmail.com>
Jussi Pakkanen <jpakkane@gmail.com> (original port)

Highlights of the features provided are:
* Faster builds on Linux (~40-50% faster)
* The ability to build with MSVC on Windows
* Generate Visual Studio project files
* Generate XCode project files
* Much faster builds on Windows (on-par with Linux)
* Seriously fast configure and building on embedded

... and many more. For more details see:

http://blog.nirbheek.in/2016/05/gstreamer-and-meson-new-hope.html
http://blog.nirbheek.in/2016/07/building-and-developing-gstreamer-using.html

Building with Meson should work on both Linux and Windows, but may
need a few more tweaks on other operating systems.

8 years agoplugins: Use stdint.h instead of _stdint.h
Nirbheek Chauhan [Thu, 18 Aug 2016 12:16:19 +0000 (17:46 +0530)]
plugins: Use stdint.h instead of _stdint.h

_stdint.h is generated by Autotools and we don't really need it. All
supported platforms now ship with stdint.h. The only stickler was MSVC,
and since Visual Studio 2015 it also ships stdint.h now.

8 years agowin32: Update libgstgl.def
Nirbheek Chauhan [Fri, 12 Aug 2016 16:21:17 +0000 (21:51 +0530)]
win32: Update libgstgl.def

8 years agocodecparsers: Explicitly export functions marked inline
Nirbheek Chauhan [Tue, 1 Mar 2016 19:23:44 +0000 (00:53 +0530)]
codecparsers: Explicitly export functions marked inline

On MSVC, inline functions are not available outside of a file unless
explicitly exported

8 years agorawvideoparse: fix typo in comment
Luis de Bethencourt [Fri, 19 Aug 2016 11:24:58 +0000 (12:24 +0100)]
rawvideoparse: fix typo in comment

Small typo in the comment explaining the code fixed by the previous commit.
Fixing it.

8 years agorawvideoparse: Revert last commit and actually remember the physically last plane
Sebastian Dröge [Fri, 19 Aug 2016 11:19:38 +0000 (14:19 +0300)]
rawvideoparse: Revert last commit and actually remember the physically last plane

Instead of just always taking the last one as before.

8 years agorawvideoparse: remove unused assignment
Luis de Bethencourt [Fri, 19 Aug 2016 10:57:33 +0000 (11:57 +0100)]
rawvideoparse: remove unused assignment

Value in last_plane will be overwritten before used, remove unused
asignment.

Fixes commit 91cf5ac69f9c99fe41d60f42b4174915dd135e7b
CID 1371462

8 years agodaala: fix typo related compilation error
Philippe Renon [Thu, 18 Aug 2016 16:55:41 +0000 (18:55 +0200)]
daala: fix typo related compilation error

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

8 years agoapplemedia-nonpublic: remove bitrotten plugin that's no longer needed
Tim-Philipp Müller [Fri, 19 Aug 2016 10:02:46 +0000 (11:02 +0100)]
applemedia-nonpublic: remove bitrotten plugin that's no longer needed

8 years agoavfvideosrc: account for retina displays when capturing screens
Florian Zwoch [Fri, 19 Aug 2016 09:46:24 +0000 (19:46 +1000)]
avfvideosrc: account for retina displays when capturing screens

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

8 years agobuild: bump graphene requirement to 1.4
Matthew Waters [Fri, 19 Aug 2016 07:11:13 +0000 (17:11 +1000)]
build: bump graphene requirement to 1.4

8 years agogltransformation: rewrite the inverse transformation logic
Matthew Waters [Fri, 19 Aug 2016 05:35:49 +0000 (15:35 +1000)]
gltransformation: rewrite the inverse transformation logic

It now returns the correct values for both orthographic and perspective
projections and takes into account the aspect ratio of the video, handles
the Y-flipping in GL and by us and uses some more helpers from graphene.

8 years agoglwindow: marshal gst_gl_window_resize through the window loop
Matthew Waters [Fri, 1 Jul 2016 06:18:55 +0000 (16:18 +1000)]
glwindow: marshal gst_gl_window_resize through the window loop

saves having every caller do it themselves.

8 years agogl/wayland: use multi-threaded safe event wayland API
Matthew Waters [Thu, 30 Jun 2016 13:06:43 +0000 (23:06 +1000)]
gl/wayland: use multi-threaded safe event wayland API

Multiple threads may be accessing the wayland fd at the same time which
requires the use of special wayland API to deal with to ensure nobody
will steal reads and cause a stall for anyone else.

8 years agogl/examples/fxtest: fix up for wayland support
Matthew Waters [Thu, 30 Jun 2016 14:15:55 +0000 (00:15 +1000)]
gl/examples/fxtest: fix up for wayland support

- Pass the wayland display to gst
- Redrawing on resize is no longer needed.

8 years agodvb/parsechannels: warn on ignored key/value pairs
Reynaldo H. Verdejo Pinochet [Wed, 17 Aug 2016 23:21:34 +0000 (16:21 -0700)]
dvb/parsechannels: warn on ignored key/value pairs

Otherwise at runtine, users get the misleading
parsing-OK message with no info on, for example,
properties that failed to map because of a typo.

8 years agodvb/parsechannels: handle problems parsing dvbv5 config keys
Reynaldo H. Verdejo Pinochet [Tue, 16 Aug 2016 22:35:39 +0000 (15:35 -0700)]
dvb/parsechannels: handle problems parsing dvbv5 config keys

8 years agomplex: Don't start task (yet/again) on pad release if we're in READY or NULL
Sebastian Dröge [Thu, 18 Aug 2016 12:28:33 +0000 (15:28 +0300)]
mplex: Don't start task (yet/again) on pad release if we're in READY or NULL

Fixes spurious segfault in unit test, where the task was started again during
shutdown when all pads were removed... and was then still running while the
element was finalized.

8 years agodashdemux: In KEY_UNITS trick mode, download all I-frames and not only IDR
Sebastian Dröge [Thu, 18 Aug 2016 10:21:54 +0000 (13:21 +0300)]
dashdemux: In KEY_UNITS trick mode, download all I-frames and not only IDR

8 years agorawparse: Fix and extend unit tests
Carlos Rafael Giani [Mon, 8 Aug 2016 15:54:46 +0000 (17:54 +0200)]
rawparse: Fix and extend unit tests

* Add caps change test to unit tests
* Cleanup leftover buffers after each unit test
* Add missing rawvideoparse entry in .gitignore

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

8 years agorawvideoparse: Compute plane offsets & strides if no custom ones are set
Carlos Rafael Giani [Tue, 16 Aug 2016 07:31:40 +0000 (09:31 +0200)]
rawvideoparse: Compute plane offsets & strides if no custom ones are set

This is useful to ensure that the offsets and strides are computed if
only width, height, format etc. in the property config are set.

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

8 years agoavfassetsrc: Don't escape the URI another time in another location too
Sergei Saveliev [Tue, 16 Aug 2016 15:46:49 +0000 (18:46 +0300)]
avfassetsrc: Don't escape the URI another time in another location too

One location was forgotten in a913a0b9679dd58945ad105d240db45595fdaba6

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

8 years agogl/egl: fix inverted typedef
Matthew Waters [Tue, 16 Aug 2016 10:33:21 +0000 (20:33 +1000)]
gl/egl: fix inverted typedef

2b6841d had an inverted typedef defining ginptr and EGLAttrib.  Fix that.

8 years agowildmidi: Fix compilation with wildmidi 0.4
Sebastian Dröge [Tue, 16 Aug 2016 07:37:28 +0000 (10:37 +0300)]
wildmidi: Fix compilation with wildmidi 0.4

Old versions used char* for the data, new versions use int8_t*. They're often
not the same and differ in signedness.

8 years agogl/build: add configure check for possibly missing EGLAttrib
Matthew Waters [Tue, 16 Aug 2016 06:51:02 +0000 (16:51 +1000)]
gl/build: add configure check for possibly missing EGLAttrib

Fixes the build on older android targets.

8 years agogl/egl/dmabuf: Wrong attribute list type for EGL 1.5
Song Bing [Wed, 13 Jul 2016 09:15:44 +0000 (17:15 +0800)]
gl/egl/dmabuf: Wrong attribute list type for EGL 1.5

For EGL 1.5 spec, the attribute list type should be EGLAttrib.

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

8 years agoglcontext: fix race joining thread on finalize
Vincent Penquerc'h [Mon, 15 Aug 2016 15:14:25 +0000 (16:14 +0100)]
glcontext: fix race joining thread on finalize

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

8 years agoqt: Use wglShareLists() workaround unconditionally.
Jan Schmidt [Mon, 15 Aug 2016 14:40:53 +0000 (00:40 +1000)]
qt: Use wglShareLists() workaround unconditionally.

Sometimes wglCreateContextAttribsARB() exists, but
isn't functional (some Intel drivers), so it's
easiest to do the workaround unconditionally.

8 years agowinks: Fix RGB frame flipping and postprocessing
Jan Schmidt [Mon, 15 Aug 2016 06:37:44 +0000 (16:37 +1000)]
winks: Fix RGB frame flipping and postprocessing

Uncompressed RGB frames can be (usually are) bottom-up
layout in DirectShow, and the code to flip them wasn't
properly ported from 0.10. Fix it.

Fix post-processing of RGB buffers. We need a writable
buffer, but the requests pool is holding an extra ref.
This could use more fixing to use a buffer pool

8 years agowinks: Give the ksvideosrc PRIMARY rank
Jan Schmidt [Fri, 12 Aug 2016 12:17:25 +0000 (22:17 +1000)]
winks: Give the ksvideosrc PRIMARY rank

It's the primary video source on Windows, so give it a
rank for autoplugging by camerabin and friends

8 years agowinks: Fix swapped RGBx/RGB caps mapping, and endianness.
Jan Schmidt [Fri, 12 Aug 2016 12:16:33 +0000 (22:16 +1000)]
winks: Fix swapped RGBx/RGB caps mapping, and endianness.

The RGBx and RGB format mappings were reversed.

What Windows calls RGB are laid out as BGR in our parlance, so
switch that too

8 years agoqt: Move debug statement to after the category init
Jan Schmidt [Mon, 8 Aug 2016 03:41:14 +0000 (13:41 +1000)]
qt: Move debug statement to after the category init

Don't output debug to an uninitialised debug category.

8 years agodashdemux: Disable unit test for the time being
Sebastian Dröge [Thu, 11 Aug 2016 10:19:59 +0000 (12:19 +0200)]
dashdemux: Disable unit test for the time being

It uses random data streams but dashdemux nowadays actually looks into the
streams and doesn't like randomness very much. The tests should probably just
become validate tests on real streams.

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

8 years agoRevert "Revert "dashdemux: When doing SIDX seeking, return instead of overriding...
Sebastian Dröge [Thu, 11 Aug 2016 10:11:22 +0000 (12:11 +0200)]
Revert "Revert "dashdemux: When doing SIDX seeking, return instead of overriding the timestamp with 0 from the MPD seeking method""

This reverts commit aea2c13fc1672a7260679d706d0a084a34ba7531.

8 years agodashdemux: When doing chunked downloading on SIDX, clip requests on the SIDX entry...
Sebastian Dröge [Thu, 4 Aug 2016 11:47:41 +0000 (14:47 +0300)]
dashdemux: When doing chunked downloading on SIDX, clip requests on the SIDX entry boundaries

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

8 years agodashdemux: Collect average moof and first sync sample sizes
Sebastian Dröge [Tue, 2 Aug 2016 05:47:55 +0000 (08:47 +0300)]
dashdemux: Collect average moof and first sync sample sizes

And always request those in the beginning so that ideally we get the moof and
the first sync sample all together with the first HTTP request.

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

8 years agodashdemux: Download any sync-sample following the moof directly in key-units only...
Sebastian Dröge [Tue, 2 Aug 2016 05:35:26 +0000 (08:35 +0300)]
dashdemux: Download any sync-sample following the moof directly in key-units only mode

We don't have to do yet another additional request but can just download the
data directly.

Also unify the key-unit only mode buffer pushing and extract it into its own
function now that it became more complicated.

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

8 years agodashdemux: If a fragment contains no sync samples, disable key-unit mode
Sebastian Dröge [Fri, 29 Jul 2016 09:50:58 +0000 (12:50 +0300)]
dashdemux: If a fragment contains no sync samples, disable key-unit mode

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